codebase-documenter skill
✓ 検証済みREADME、ARCHITECTURE、APIリファレンスなどの構造化されたプロジェクトドキュメントのテンプレートを、ブラケット形式のプレースホルダー付きで作成します。
- GitHubスター
- 49
- ファイル
- 3
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- 5
codebase-documenter skillは何をしますか
codebase-documenterはAgent Skillsです。 README、ARCHITECTURE、APIリファレンスなどの構造化されたプロジェクトドキュメントのテンプレートを、ブラケット形式のプレースホルダー付きで作成します。.
skillのSKILL.mdから生成された要約。
codebase-documenter skill について
codebase-documenterは、新規プロジェクトやドキュメントが不足しているリポジトリのドキュメント作成を迅速化します。エンジニアリングチームは、READMEファイル、アーキテクチャの概要、APIリファレンス、コードコメントの標準化のための構造化されたスケルトンを生成するためにこのSKILLを使用します。これは、プロジェクトに正式なドキュメント構造がなく、完成した文章よりも、内容を埋めていくための開始点が必要な状況を想定して設計されています。
ユーザーがプロジェクトドキュメントのスケルトン作成やドキュメント標準の設定を要求すると、エージェントはこのSKILLをロードします。プロセスでは、Read、Write、Edit、Glob、Grepなどのツールを使用して、assets/templatesにある特定のテンプレートからファイルを作成します。README.md、ARCHITECTURE.md、docs/API.mdなどのファイルが生成され、これらには人間が詳細を記入すべき箇所を示す [このように] といったブラケット形式のプレースホルダーが含まれます。
このツールは、スケルトンの作成と標準リファレンスの提供に特化しています。プロジェクト固有の事項を推論したり、説明文を執筆したりすることはないため、既存のドキュメントの正確性を検証したり、既存のコンポーネントの説明文を生成したりするツールとは異なります。
エージェントができること
- 1新規プロジェクトリポジトリの初期化新しいコードベースに対して、一連のスタータードキュメントファイルを一括作成します。
- 2コーディングドキュメント標準の確立docstringやインラインコメントに関する標準化されたガイドラインをリポジトリに導入します。
- 3プロジェクトの入り口の作成クイックスタートやトラブルシューティングのセクションを含むREADMEのスケルトンを生成します。
- 4APIドキュメント構造の設定エンドポイントや例のためのプレースホルダーを含むAPIリファレンステンプレートを作成します。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
codebase-documenter skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにcodebase-documenter skillをインストールする
/plugin marketplace add rjmurillo/ai-agents /plugin install project-toolkit@ai-agents
Claude Codeにcodebase-documenter skillをインストールする
~/.claude/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.claude/skills/codebase-documenterClaude Code (project)にcodebase-documenter skillをインストールする
.claude/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter .claude/skills/codebase-documenterCodexにcodebase-documenter skillをインストールする
~/.agents/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.agents/skills/codebase-documenterGemini CLIにcodebase-documenter skillをインストールする
~/.gemini/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.gemini/skills/codebase-documenterClaude.aiにcodebase-documenter skillをインストールする
npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter codebase-documenter && zip -r codebase-documenter.zip codebase-documenter # claude.ai → Customize → Skills → + → Create skill → Upload a skill → codebase-documenter.zip
自動チェック
実行日 2026年11月14日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能rjmurillo/ai-agents/src/claude/skills/codebase-documenter is public and reachablegithub.com/rjmurillo/ai-agents/tree/HEAD/src/claude/skills/c ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/rjmurillo/ai-agents/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/rjmurillo/ai-agents/blob/HEAD/src/claude/skills/c ↗合格
- 事前許可ツールが限定されているPre-approved: Read, Write, Edit, Glob, Grepgithub.com/rjmurillo/ai-agents/blob/HEAD/src/claude/skills/c ↗合格
SKILL.md
GitHubで表示Codebase Documenter
Generate documentation scaffolding for a project that has none, or has the wrong shape. This skill produces structured starters with bracketed placeholders the team fills in. It does not write prose for you.
Triggers
| Trigger Phrase | Operation |
|---|---|
scaffold project documentation |
Generate README, ARCHITECTURE, API, code comment scaffolds |
bootstrap docs for new codebase |
Produce starter docs with placeholders |
add starter README |
Create README scaffold only |
set up documentation standards |
Drop standards references into the repo |
document this codebase from scratch |
Full scaffold pass |
When to Use
Use this skill when:
- A repository has no
README.md,ARCHITECTURE.md, or API reference, and you need a populated skeleton. - A team is onboarding without a tech writer and wants documented standards alongside the templates.
- You need a starting point for code-comment conventions in a polyglot project.
Use a different skill when:
- Documentation already exists and you want to verify accuracy, detect missing XML docs / docstrings / JSDoc, or audit README / CLAUDE.md drift. Use
doc-accuracyfor verification, missing-doc detection, and structural sync. - You want narrative prose generated for an existing component. Use the
explaineragent.
Boundaries
- Writes scaffolding and standards references only. Does not write narrative prose for the project.
- Placeholders use bracket convention
[Like this]so a writer can search and replace. - Templates must be filled in by a human or downstream skill. The skill does not infer project specifics.
Process
- Confirm the target directory and confirm no overwrite of existing docs without explicit user consent.
- Copy
assets/templates/README.template.mdtoREADME.md(or path the user requests). - Copy
assets/templates/ARCHITECTURE.template.mdtoARCHITECTURE.mdif a separate architecture doc is wanted. - Create parent directories (
docs/,docs/standards/, or any user-requested path) before any copy step that targets them. - Copy
assets/templates/API.template.mdtodocs/API.md(or equivalent) if the project exposes an API. - Copy
assets/templates/CODE_COMMENTS.template.mdtodocs/standards/CODE_COMMENTS.md(or link from the README). - Point the team at
references/documentation_guidelines.mdandreferences/visual_aids_guide.mdfor voice and visual standards.
Templates
| Template | Purpose |
|---|---|
assets/templates/README.template.md |
Project front door. Why, quick start, structure, common tasks, troubleshooting. |
assets/templates/ARCHITECTURE.template.md |
System overview, components, data flow, decisions, failure modes. |
assets/templates/API.template.md |
API reference per endpoint with conventions and examples. |
assets/templates/CODE_COMMENTS.template.md |
Docstring and inline comment standards across languages. |
References
| Reference | Purpose |
|---|---|
references/documentation_guidelines.md |
Voice, structure, audience framing, placeholder convention. |
references/visual_aids_guide.md |
When and how to use diagrams, tables, callouts. |
Verification Checklist
- No environment-specific paths in any template
- All user-provided paths are validated against path traversal
- Bracketed placeholders match the
[Word or short phrase]convention - Code fences are balanced and use language identifiers on the opener only
- Voice is active, audience is the project's reader (not the documenter)
- No marketing language, weasel words, or filler
- Diagrams added only when they reduce ambiguity (see
references/visual_aids_guide.md)
Anti-Patterns
| Avoid | Why | Instead |
|---|---|---|
| Filling in placeholders speculatively | Produces fiction the team will rediscover and rewrite | Leave brackets; team fills in |
| Copying README content into ARCHITECTURE | Both files drift; readers cannot tell which is current | One concept per document |
| Adding diagrams for every section | Visual noise distracts from text | Diagram only where ambiguity is real |
| Long preamble before quick start | Readers leave before they reach the value | Quick start in the first screen |
このスキルのファイル
3codebase-documenter skillに関する質問
Claude Codeにcodebase-documenter skillをインストールするには
npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.claude/skills/codebase-documenterを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
codebase-documenter skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
このSKILLはドキュメントの本文自体を執筆しますか?
いいえ、文章を執筆するのではなく、チームが内容を記入するためのブラケット付きの構造化されたスターターを作成します。
テンプレート内の人間による入力が必要な箇所をどのように特定できますか?
このSKILLは [このように] というブラケット形式を使用しているため、執筆者がプレースホルダーを簡単に検索して置換できます。