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
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
Claude CodeCursoradvanced
890
234
3,214
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
claudeCursorWindsurfbeginner
259
72
1,116
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.
claudeCursorWindsurfintermediate
156
44
978