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)
Generateur de Documentation API
Documentation
Genere automatiquement de la documentation API OpenAPI/Swagger.
Rédacteur Technique
Documentation
Rédige de la documentation technique claire selon les meilleurs style guides.
Embellir les README GitHub
Documentation
Redessiner les pages d'accueil des README GitHub ou créer des actifs SVG purs, hybrides PNG/WebP composés en SVG et GIF animés optionnels.