Skip to content

Generate Skills workflow does not watch component docs #494

Description

@changbaebang

Description

The Generate Skills workflow watches:

apps/docs/content/docs/**/*.mdx

However, packages/scripts/src/generate-skills.ts discovers component references from:

apps/docs/content/components/**/*.mdx

As a result, adding or updating a component MDX file does not trigger skill regeneration. The recently added Question component in #479 is one example: its docs and examples were merged, but skills/ai-elements/references/question.md and the corresponding skill scripts were not generated.

Suggested change

Update .github/workflows/generate-skills.yml to watch the component docs path:

- "apps/docs/content/components/**/*.mdx"

PR #493 regenerates the currently missing artifacts and fixes truncated TypeTable values, but this workflow path should be corrected to prevent future omissions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions