ワンクリックで
generate-agent-skills
Generate documentation skills for AI agents from downloaded docs. Use after /build-my-context7 to create skills.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate documentation skills for AI agents from downloaded docs. Use after /build-my-context7 to create skills.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Download documentation from GitHub repos or URLs. Supports manifest-based batch downloads with configurable exclude patterns.
Local Microsoft Agent Framework documentation reference. Use when asked about Microsoft Agent Framework, building AI agents in .NET or Python, MCP servers/clients, durable agents, agent tools, Teams/WebChat adapters, or agent-to-agent communication.
Local LangChain AI documentation reference. Use when asked about LangChain, LangGraph, agents, chains, prompts, memory, tools, retrieval, RAG, vector stores, document loaders, or building LLM applications.
Local Next.js documentation reference (canary branch). Use when asked about Next.js features, App Router, Server Components, routing, data fetching, rendering, caching, styling, optimizations, configuration, or Next.js APIs.
Local Prisma documentation reference. Use when asked about Prisma ORM, Prisma Client, Prisma Schema, migrations, database queries, Prisma Accelerate, or Prisma Postgres.
Local TanStack Form documentation reference. Use when asked about TanStack Form features, form validation, form state management, field arrays, React/Vue/Solid/Angular/Svelte form integration, or form submission handling.
| name | generate-agent-skills |
| description | Generate documentation skills for AI agents from downloaded docs. Use after /build-my-context7 to create skills. |
Generate SKILL.md files for Claude, Codex, and OpenCode agents.
/generate-agent-skills # Generate ALL skills
/generate-agent-skills zod-docs # Generate only zod-docs skill
output/{argument}/ existsoutput/*-docs/ directories/build-my-context7 firstmkdir -p dotfiles/shared
rm -rf dotfiles/shared/{skill-name}
cp -r output/{skill-name} dotfiles/shared/
file_count=$(find dotfiles/shared/{skill-name} -name "*.md" -o -name "*.mdx" | wc -l)
total_size=$(du -sk dotfiles/shared/{skill-name} | cut -f1)
| Tier | Criteria | Template |
|---|---|---|
| 1 | < 30 files AND < 500KB | templates/tier1.md |
| 2 | 30-100 files OR 500KB-2MB | templates/tier2.md |
| 3 | > 100 files OR > 2MB | templates/tier3.md |
For tier 3 docs, generate dotfiles/shared/{skill-name}/STRUCTURE.md with:
# {Library} Documentation Structure
Total: {N} files
## {directory1}/ ({count} files)
- `{directory1}/file1.md`
- `{directory1}/file2.md`
- `{directory1}/subdir/file3.md`
## {directory2}/ ({count} files)
- `{directory2}/file1.md`
...
Generation approach:
.md and .mdx files in the docs folderThis gives the agent a complete map of available documentation before it starts searching.
For each agent (Claude, Codex, OpenCode):
dotfiles/<agent>/skills/<skill-name>/SKILL.mdreferences/ - install script handles thisSummarize which skills were generated and recommend /install-agent-skills to deploy.