Generate Skills workflow does not watch component docs
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 92/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
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.
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.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 283
- Avg merge
- 32m
- Merged PRs (30d)
- 1
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.
More from vercel/ai-elements
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vercel/ai-elements#490 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
vercel/ai-elements#486 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/ai-elements#484 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
vercel/ai-elements#458 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
vercel/ai-elements#441 ·
All issues in vercel/ai-elements
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100