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.
Description
The Generate Skills workflow watches:
apps/docs/content/docs/**/*.mdxHowever,
packages/scripts/src/generate-skills.tsdiscovers component references from: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.mdand the corresponding skill scripts were not generated.Suggested change
Update
.github/workflows/generate-skills.ymlto 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.