Generate Skills from Official Docs

VerifiedCaution

Generates agent skills for projects like Vue, Nuxt, Vite, and others from their official documentation. Reads source docs and creates structured skill files.

Sby Skills Guide Bot
DocumentationIntermediate
8/26/2026
Claude Code
#skill-generation#docs-to-skills#agent-tooling#vue#code-generation

Recommended for

Automated summary

Generates agent skills for a project (vue, nuxt, vite, unocss, pnpm, pinia, vitest, vitepress) from its official documentation, producing a SKILL.md index, a GENERATION.md and per-concept reference files.

Strengths

  • Splits documentation into short, one-concept reference files (under 200 lines) instead of a single monolithic doc
  • Keeps provenance via GENERATION.md (source path, git SHA, generation date)
  • Covers the full workflow through plugin sync and git commit, not just file generation
  • Encodes agent-oriented writing rules: synthesize, skip install guides, and explain when and why to use each feature

Limitations

  • Tightly bound to one repository layout (docs/skills-generator.md, sources/, vendor/antfu-skills/, plugins/) and will not work outside it
  • Restricted to a fixed list of JavaScript/frontend projects; no support for other ecosystems
  • Automatic sync (bun run skills:sync) skips Type 1 skills, so a manual copy step is mandatory
  • No validation step confirming the generated references match the source docs
When to use it

Use it when you want to turn a supported project's official docs into a structured set of agent skills.

When not to use it

Skip it when the target project is outside the supported list or the repo lacks the required guidelines file and source submodules.

Security analysis

Caution
Quality score84/100

The skill instructs copying files and committing via bash, which is legitimate automation but involves shell execution and git history changes. It does not exfiltrate or destroy data, but the lack of declared tools and potential for unintended commits warrants caution.

Findings
  • •Uses shell commands (mkdir, cp, git) for file operations and commits without declaring allowed-tools; could modify repository state if executed with broader permissions.
How this analysis is made

Examples

Generate Vue skills
Generate the skills for vue from its official documentation, following docs/skills-generator.md.
Generate Pinia skills and publish
Create the pinia skills from sources/pinia/docs, then copy them into plugins/pinia/skills/pinia/ and commit them.
Regenerate Vitest references
Regenerate the vitest skill references, one file per concept, and update GENERATION.md with the current git SHA.

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

  1. Read docs/skills-generator.md for the full generation guidelines
  2. Check vendor/antfu-skills/instructions/$ARGUMENTS.md for project-specific instructions (if it exists)
  3. Read source docs from sources/$ARGUMENTS/docs/
  4. Generate skill files into skills/$ARGUMENTS/:
    • SKILL.md — index with frontmatter (name, description, metadata) and a table of all references
    • GENERATION.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)
  5. 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:sync only handles Type 2 (vendor) and Type 3 (manual) skills. Type 1 (generated) skills must be copied manually to the plugin directory.

  6. 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, run bun scripts/cli.ts init if missing)
  • Generated skills: skills/$ARGUMENTS/ (our own skills directory, never modify vendor/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)

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/generate-skills-from-official-docs-mt9mgmmy/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/generate-skills-from-official-docs-mt9mgmmy' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/generate-skills-from-official-docs-mt9mgmmy/download' --output '.skill-downloads/generate-skills-from-official-docs-mt9mgmmy/SKILL.md.part' && mv '.skill-downloads/generate-skills-from-official-docs-mt9mgmmy/SKILL.md.part' '.skill-downloads/generate-skills-from-official-docs-mt9mgmmy/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/generate-skills-from-official-docs-mt9mgmmy/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills