Generate Skills workflow does not watch component docs
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 283
- Avg merge
- 32m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open .github/workflows/generate-skills.yml and compare its watched paths with the component discovery path in packages/scripts/src/generate-skills.ts. Add the component MDX glob, then verify that component documentation changes trigger skill generation and that the relevant skill artifacts are produced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 92/100