description: Generate skills for a project from its official documentation. Use for vue, nuxt, vite, unocss, pnpm, pinia, vitest, vitepress.
Generate agent skills for the project: $ARGUMENTS
Follow the guidelines in docs/skills-generator.md to generate Type 1 skills.
Steps
- Read
docs/skills-generator.mdfor the full generation guidelines - Check
vendor/antfu-skills/instructions/$ARGUMENTS.mdfor project-specific instructions (if it exists) - Read source docs from
sources/$ARGUMENTS/docs/ - Generate skill files into
skills/$ARGUMENTS/:SKILL.md— index with frontmatter (name,description,metadata) and a table of all referencesGENERATION.md— tracking metadata (source path, git SHA, generation date)references/*.md— one file per concept (prefixed by category, e.g.core-syntax.md,features-plugins.md)
- Copy the generated skills into the plugin directory:
mkdir -p "plugins/$ARGUMENTS/skills/$ARGUMENTS/" && cp -r "skills/$ARGUMENTS/." "plugins/$ARGUMENTS/skills/$ARGUMENTS/"Note:
bun run skills:synconly handles Type 2 (vendor) and Type 3 (manual) skills. Type 1 (generated) skills must be copied manually to the plugin directory. - Commit the generated skills:
git add skills/$ARGUMENTS/ plugins/$ARGUMENTS/skills/$ARGUMENTS/ git commit -m "feat($ARGUMENTS): generate skills from official documentation"
Output Location
- Source docs:
sources/$ARGUMENTS/(submodule, runbun scripts/cli.ts initif missing) - Generated skills:
skills/$ARGUMENTS/(our own skills directory, never modifyvendor/antfu-skills/) - Synced to plugin:
plugins/$ARGUMENTS/skills/$ARGUMENTS/
Writing Guidelines
- Rewrite docs for agents — synthesize, don't copy verbatim
- Focus on practical usage patterns and code examples
- Omit installation guides, introductions, and content agents already know well
- One concept per reference file
- Include working code examples
- Explain when and why to use each feature, not just how
- Keep each reference file concise (under 200 lines)
Related skills
API Documentation Generator
Documentation
Automatically generates OpenAPI/Swagger API documentation.
Claude CodeCursorCopilotbeginner
340
98
1,606
Technical Writer
Documentation
Writes clear technical documentation following top style guides.
claudeCursorWindsurf+1intermediate
167
48
751
MDX format for go-pretty-pdf
Documentation
Enforces .mdx formatting rules (frontmatter, IDs, heading depth) so the book compiles to PDF with go-pretty-pdf.
Claude CodeCursorWindsurf+2intermediate 50
0
0
4