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)
Skills similaires
Generateur de Documentation API
Documentation
Genere automatiquement de la documentation API OpenAPI/Swagger.
Claude CodeCursorCopilotbeginner
340
98
1,676
Rédacteur Technique
Documentation
Rédige de la documentation technique claire selon les meilleurs style guides.
claudeCursorWindsurf+1intermediate
167
48
810
Synchronisation de la documentation avec les changements de code
Documentation
Synchroniser la documentation projet avec les derniers changements de code, refactorisations et fonctionnalités de la branche courante.
Claude CodeCursorWindsurf+2intermediate 8
0
0
39