jpskill.com
✍️ ライティング コミュニティ

codedocs

GitリポジトリやディレクトリのAIエージェント向けドキュメント作成、既存ドキュメントからの質問応答、コード変更後のドキュメント更新など、構造化されたコードベースのドキュメントをAIや開発者、新メンバーに提供するSkill。

📜 元の英語説明(参考)

Use this skill when generating AI-agent-friendly documentation for a git repo or directory, answering questions about a codebase from existing docs, or incrementally updating documentation after code changes. Triggers on codedocs:generate, codedocs:ask, codedocs:update, "document this codebase", "generate docs for this repo", "what does this project do", "update the docs after my changes", or any task requiring structured codebase documentation that serves AI agents, developers, and new team members.

🇯🇵 日本人クリエイター向け解説

一言でいうと

GitリポジトリやディレクトリのAIエージェント向けドキュメント作成、既存ドキュメントからの質問応答、コード変更後のドキュメント更新など、構造化されたコードベースのドキュメントをAIや開発者、新メンバーに提供するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o codedocs.zip https://jpskill.com/download/8917.zip && unzip -o codedocs.zip && rm codedocs.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8917.zip -OutFile "$d\codedocs.zip"; Expand-Archive "$d\codedocs.zip" -DestinationPath $d -Force; ri "$d\codedocs.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して codedocs.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → codedocs フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

このスキルが有効化された場合、必ず最初の応答を 🧢 絵文字で始めてください。

Codedocs

Codedocsは、あらゆるgitリポジトリまたはコードディレクトリに対して、構造化された階層化されたドキュメントを生成します。このドキュメントは、第一にAIエージェントが利用し、第二に人間の開発者が利用するように設計されています。Codedocsは、コンテキストが失われる平坦なREADMEの代わりに、アーキテクチャの概要、モジュールごとの詳細な調査、横断的なパターンファイル、そして何がいつドキュメント化されたかを追跡するマニフェストを含む docs/ ツリーを生成します。ドキュメントが存在すると、このスキルは(ソースコードを再読することなく)ドキュメントからの質問に答え、対象を絞ったスコープまたはgit-diff検出による段階的な更新をサポートします。


アクティベーションバナー

codedocsのすべての呼び出しの非常に最初に、他の出力の前に、次のASCIIアートバナーを表示します。

 ██████╗ ██████╗ ██████╗ ███████╗██████╗  ██████╗  ██████╗███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝
██║     ██║   ██║██║  ██║█████╗  ██║  ██║██║   ██║██║     ███████╗
██║     ██║   ██║██║  ██║██╔══╝  ██║  ██║██║   ██║██║     ╚════██║
╚██████╗╚██████╔╝██████╔╝███████╗██████╔╝╚██████╔╝╚██████╗███████║
 ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═════╝  ╚═════╝  ╚═════╝╚══════╝

バナーの直後に、アクティブなサブコマンドとターゲットパスを表示します。例: codedocs:generate · src/ → docs/


このスキルを使用するタイミング

ユーザーが以下を行う場合に、このスキルをトリガーします。

  • コードベース、リポジトリ、またはディレクトリのドキュメントを生成したい
  • 「このプロジェクトは何をするのか」または「このコードベースを説明して」と尋ねる
  • プロジェクトに参加する新しいチームメンバー向けのオンボーディングドキュメントが必要
  • リポジトリ用のAIエージェントが読み取り可能なドキュメントが必要
  • すでにcodedocsの出力があるコードベースについて質問する
  • コードの変更または新機能の後に既存のドキュメントを更新する必要がある
  • 特定のモジュールまたはサブディレクトリのみをドキュメント化したい
  • 最近のgitコミットまたはdiffに基づいてドキュメントを更新するように依頼する

以下の場合には、このスキルをトリガーしないでください。

  • スタンドアロンの技術ドキュメント(RFC、ADR、ランブック)の作成 - internal-docs を使用
  • 外部の消費者向けのAPIリファレンスドキュメント - technical-writing を使用
  • オープンソースパッケージング用のREADMEの作成 - open-source-management を使用

主要な原則

  1. ドキュメント優先の回答 - codedocsの出力が存在する場合、ソースコードにフォールバックする前に、常にドキュメントからの質問に答えます。ドキュメントは、キャッシュされた構造化された知識レイヤーです。ドキュメントが不足している、古い、または特定の質問に対して不十分な場合にのみ、ソースコードを読み取ります。

  2. 言語に依存しない検出 - マニフェストファイル(package.json、Cargo.toml、go.mod、requirements.txt、pyproject.toml、composer.json、pom.xml、build.gradle、Gemfile、mix.exsなど)およびディレクトリの規則から技術スタックを検出します。特定の言語を想定しないでください。

  3. モジュールはコードに対応し、パターンは横断する - モジュールドキュメントは、個別のコードディレクトリまたは境界コンテキスト(auth、api、database)に対応します。パターンドキュメントは、複数のモジュールにまたがる横断的な関心事(エラー処理、テスト戦略、ログ記録規則)をキャプチャします。この分割により、重複が防止され、開発者がコードについて考える方法と一致します。

  4. マニフェスト駆動の段階的な更新 - .codedocs.json マニフェストは、ドキュメント化されたすべてのモジュール、そのソースパス、およびドキュメント作成時のgit SHAを追跡します。更新はこのマニフェストを使用して、何が変更されたか、何を再スキャンするか、何をスキップするかを把握します。

  5. 出力は構成可能、構造はそうではない - 出力ディレクトリ(デフォルトは docs/)は構成可能です。内部構造(OVERVIEW.md、INDEX.md、.codedocs.json、modules/、patterns/)は固定されています。リポジトリ全体での一貫性は、エージェントまたは開発者がどこを探すべきかを知っていることを意味します。

  6. カバレッジは第一級のメトリック - コードベースの40%をカバーするドキュメントは、何もない場合よりも悪いことがよくあります。それは完全であるという誤った感覚を与えます。計画を提示する前に、必ずカバレッジ検証を実行してください。中規模のリポジトリの場合は70%以上を目標とします。OVERVIEW.mdおよびマニフェストでカバレッジの割合を報告します。ターゲットについては、references/coverage-strategy.md を参照してください。

  7. 広く浅くではなく、深く掘り下げる - 大規模なリポジトリの場合、トップレベルのモジュールは単なる出発点です。15個以上のソースファイルを持つモジュールは、サブモジュールについて分析する必要があります。ディレクトリツリー全体を再帰的にスキャンします。巨大なリポジトリは、8〜12個ではなく、30〜80個のドキュメントファイルを生成する必要があります。


コアコンセプト

出力構造 - Codedocsは常に同じディレクトリツリーを生成します。OVERVIEW.mdは、アーキテクチャ、技術スタック、プロジェクト構造ツリー、およびモジュールマップをカバーするエントリポイントです。GETTING_STARTED.mdは、リポジトリ内のすべての実行可能なコマンドを含む、信頼できるローカル開発ガイドです。INDEX.mdは、ファイルからモジュールへのルックアップテーブルです。modules/ディレクトリには、主要なコードモジュールごとに1つのmarkdownファイルが含まれています(大規模なモジュールにはオプションのサブモジュールディレクトリがあります)。patterns/ディレクトリには、横断的な関心事のドキュメントが含まれています。.codedocs.json マニフェストは、メタデータ、カバレッジ統計、および段階的な更新のためのSHAを追跡します。完全な仕様については、references/output-structure.md を参照してください。

4つのサブコマンド - このスキルは、完全またはスコープされたドキュメント作成のための generate、ドキュメント優先のQ&Aのための ask、段階的な更新のための update、およびカバレッジレポートのための status の4つの操作を公開します。それぞれに独自のワークフローとパラメータがあります。詳細なワークフローについては、以下の一般的なタスクと対応する参照ファイルを参照してください。

サブモジュール - モジュールディレクトリに15個以上のソースファイルがあり、明確な内部グループ化がある場合、サブモジュールに分割されます。親モジュールドキュメントはインデックスになり、サブモジュールドキュメントは modules/<parent>/<child>.md に存在します。これにより、ドキュメントの焦点が絞られ、単一のファイルが読めないほど長い寄せ集めになるのを防ぎます。

カバレッジ検証 - 生成計画を提示する前に、codedocsは、提案されたモジュールセットでカバーされるソースファイルの割合を計算します。目標を下回る場合は、スキャンを拡張して追加のモジュールを見つけます。カバレッジはマニフェストで追跡され、OVERVIEW.mdで報告されます。references/coverage-strategy.md を参照してください。

ディスカバリーフェーズ - Bef

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

When this skill is activated, always start your first response with the 🧢 emoji.

Codedocs

Codedocs generates structured, layered documentation for any git repository or code directory - documentation designed to be consumed by AI agents first and human developers second. Instead of flat READMEs that lose context, codedocs produces a docs/ tree with an architecture overview, per-module deep dives, cross-cutting pattern files, and a manifest that tracks what has been documented and when. Once docs exist, the skill answers questions from the docs (not by re-reading source code), and supports incremental updates via targeted scope or git-diff detection.


Activation Banner

At the very start of every codedocs invocation, before any other output, display this ASCII art banner:

 ██████╗ ██████╗ ██████╗ ███████╗██████╗  ██████╗  ██████╗███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝
██║     ██║   ██║██║  ██║█████╗  ██║  ██║██║   ██║██║     ███████╗
██║     ██║   ██║██║  ██║██╔══╝  ██║  ██║██║   ██║██║     ╚════██║
╚██████╗╚██████╔╝██████╔╝███████╗██████╔╝╚██████╔╝╚██████╗███████║
 ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═════╝  ╚═════╝  ╚═════╝╚══════╝

Follow the banner immediately with the active sub-command and target path, e.g.: codedocs:generate · src/ → docs/


When to use this skill

Trigger this skill when the user:

  • Wants to generate documentation for a codebase, repo, or directory
  • Asks "what does this project do" or "explain this codebase"
  • Needs onboarding docs for new team members joining a project
  • Wants AI-agent-readable documentation for a repo
  • Asks a question about a codebase that already has codedocs output
  • Needs to update existing docs after code changes or a new feature
  • Wants to document only a specific module or subdirectory
  • Asks to refresh docs based on recent git commits or a diff

Do NOT trigger this skill for:

  • Writing standalone technical documents (RFCs, ADRs, runbooks) - use internal-docs
  • API reference docs for external consumers - use technical-writing
  • README creation for open-source packaging - use open-source-management

Key principles

  1. Docs-first answers - Once codedocs output exists, always answer questions from the docs before falling back to source code. The docs are the cached, structured knowledge layer. Only read source code when docs are missing, stale, or insufficient for the specific question.

  2. Language-agnostic detection - Detect the tech stack from manifest files (package.json, Cargo.toml, go.mod, requirements.txt, pyproject.toml, composer.json, pom.xml, build.gradle, Gemfile, mix.exs, etc.) and directory conventions. Never assume a specific language.

  3. Modules map to code, patterns cut across - Module docs correspond to distinct code directories or bounded contexts (auth, api, database). Pattern docs capture cross-cutting concerns (error handling, testing strategy, logging conventions) that span multiple modules. This split prevents duplication and matches how developers think about code.

  4. Manifest-driven incremental updates - The .codedocs.json manifest tracks every documented module, its source path, and the git SHA at documentation time. Updates use this manifest to know what changed, what to re-scan, and what to skip.

  5. Output is configurable, structure is not - The output directory (default docs/) is configurable. The internal structure (OVERVIEW.md, INDEX.md, .codedocs.json, modules/, patterns/) is fixed. Consistency across repos means any agent or developer knows where to look.

  6. Coverage is a first-class metric - Documentation that covers 40% of a codebase is often worse than none - it gives a false sense of completeness. Always run coverage verification before presenting the plan. Target 70%+ for mid-size repos. Report coverage percentage in OVERVIEW.md and the manifest. See references/coverage-strategy.md for targets.

  7. Go deep, not just wide - For large repos, top-level modules are just the starting point. Any module with 15+ source files must be analyzed for sub-modules. Scan recursively through the full directory tree - a huge repo should generate 30-80 doc files, not 8-12.


Core concepts

Output structure - Codedocs always produces the same directory tree. OVERVIEW.md is the entry point covering architecture, tech stack, project structure tree, and module map. GETTING_STARTED.md is the authoritative local development guide with every runnable command in the repo. INDEX.md is the file-to-module lookup table. The modules/ directory contains one markdown file per major code module (with optional sub-module directories for large modules). The patterns/ directory contains cross-cutting concern docs. The .codedocs.json manifest tracks metadata, coverage stats, and SHAs for incremental updates. See references/output-structure.md for the full spec.

Four sub-commands - The skill exposes four operations: generate for full or scoped documentation creation, ask for docs-first Q&A, update for incremental refresh, and status for coverage reporting. Each has its own workflow and parameters. See the common tasks below and the corresponding reference files for detailed workflows.

Sub-modules - When a module directory has 15+ source files with distinct internal groupings, it is split into sub-modules. The parent module doc becomes an index; sub-module docs live at modules/<parent>/<child>.md. This keeps docs focused and prevents any single file from becoming an unreadably long catch-all.

Coverage verification - Before presenting the generation plan, codedocs computes what percentage of source files are covered by the proposed module set. If below target, it expands the scan to find additional modules. Coverage is tracked in the manifest and reported in OVERVIEW.md. See references/coverage-strategy.md.

Discovery phase - Before writing any docs, the generate command runs a discovery phase: scan the directory tree, identify the tech stack from manifest files, map module boundaries from directory structure and import graphs, and detect cross-cutting patterns from shared utilities and conventions. This phase produces the plan that drives doc generation.

Staleness detection - The update command compares the current git SHA against the SHA recorded in .codedocs.json for each module. Modules with changed files since last documentation are flagged as stale. The --diff flag uses git diff to identify exactly which files changed, enabling surgical updates to only the affected module docs.


Common tasks

1. Generate full codebase documentation

Command: codedocs:generate [path] [--output docs/]

Workflow:

  1. Discover - Scan the target path (default: repo root). Identify language/framework from manifest files. Map directory structure to candidate modules. Detect entry points (main files, index files, route definitions, CLI entry points).
  2. Plan - Present the user with a proposed doc plan: list of modules to document, patterns detected, estimated scope, and coverage percentage. Confirm before proceeding if the plan is large or ambiguous.
  3. Write OVERVIEW.md - Architecture summary, tech stack, annotated project structure tree, entry points, key concepts, and module map with one-line descriptions.
  4. Write GETTING_STARTED.md - Full local development guide: prerequisites, installation, environment setup, dev server, test commands, build commands, lint/format, database workflow, common dev tasks, and how to reproduce CI locally. Sourced from package.json scripts, Makefile targets, CI config, and any existing README setup sections.
  5. Write module docs - For each module: purpose, public API/exports, internal structure, dependencies (what it imports), dependents (what imports it), and key implementation notes.
  6. Write pattern docs - For each cross-cutting pattern: description, where it appears, conventions to follow, and examples from the codebase.
  7. Write manifest - Create .codedocs.json with module list, source paths, git SHA, generation timestamp, coverage stats, and config. See references/output-structure.md.

See references/generate-workflow.md for the complete discovery heuristics, module boundary detection logic, and OVERVIEW.md template.

2. Ask a question about the codebase

Command: codedocs:ask "<question>"

Workflow:

  1. Check for docs - Look for .codedocs.json in the output directory. If missing, suggest running codedocs:generate first.
  2. Route the question - Determine which doc file(s) are relevant. Architecture questions go to OVERVIEW.md. Module-specific questions go to the relevant module doc. Cross-cutting questions go to pattern docs.
  3. Read docs first - Load the relevant doc file(s) and attempt to answer from them.
  4. Fall back to source - If the docs don't contain enough detail, read the relevant source files. Flag in the response: "Note: this answer required reading source code - consider running codedocs:update to capture this in the docs."
  5. Cite sources - Always cite which doc file or source file the answer came from.

See references/ask-workflow.md for the question routing logic and fallback strategy.

3. Update docs incrementally (targeted scope)

Command: codedocs:update --scope path/to/module

Workflow:

  1. Read manifest - Load .codedocs.json to find the existing module mapping.
  2. Re-scan the scoped path - Run the discovery phase only on the specified path.
  3. Diff against existing docs - Compare the new discovery against the current module doc. Identify new exports, removed functions, changed dependencies.
  4. Update the module doc - Rewrite only the sections that changed.
  5. Update OVERVIEW.md - If the module's one-line description or dependency graph changed, update the module map in OVERVIEW.md.
  6. Update manifest - Bump the git SHA and timestamp for the updated module.

4. Update docs from git diff

Command: codedocs:update --diff [base..head]

Workflow:

  1. Get changed files - Run git diff --name-only base..head (default: last documented SHA from manifest to HEAD).
  2. Map files to modules - Using the manifest's source path mappings, determine which documented modules contain changed files.
  3. Re-generate affected modules - For each affected module, re-run the module doc generation workflow.
  4. Detect new modules - If changed files are in directories not yet documented, flag them as new module candidates and prompt the user.
  5. Update manifest - Bump SHAs for all updated modules.

See references/update-workflow.md for the diff detection logic and new module handling.

5. Generate docs for a specific subdirectory

Command: codedocs:generate path/to/subdir [--output path/to/subdir/docs/]

Same workflow as full generation but scoped to a subdirectory. The output defaults to a docs/ folder inside the specified path. Useful for monorepos where each package needs its own documentation.

6. Check documentation coverage

Command: codedocs:status

Workflow:

  1. Read manifest - Load .codedocs.json. If missing, suggest running codedocs:generate.
  2. Compute coverage - Count total source files in the repo vs files covered by documented modules.
  3. Detect staleness - For each module, compare the manifest SHA against the latest git commit SHA on that module's source path.
  4. Find gaps - List directories in the repo not covered by any module doc.
  5. Report - Print a structured status report: coverage percentage, stale modules, gap directories, and recommendations.

See references/coverage-strategy.md for coverage targets, the status report format, and strategies for improving coverage on large repos.


Anti-patterns / common mistakes

Mistake Why it's wrong What to do instead
Re-reading source code when docs exist Wastes context window and time; docs are the structured cache Always check for .codedocs.json first; read docs before source
Documenting every file individually Creates noise; most files are internal implementation details Document at the module level; only call out key files within a module
Skipping the discovery/plan phase Jumping straight to writing produces unstructured, incomplete docs Always run discovery first; present the plan to the user for approval
Hardcoding language assumptions Breaks on polyglot repos or unfamiliar stacks Detect from manifest files; handle multiple languages in one repo
Ignoring the manifest on updates Leads to full re-generation when only one module changed Always read .codedocs.json to scope updates to changed modules only
Mixing module docs and pattern docs Cross-cutting concerns documented in one module become invisible Use the patterns/ directory for anything that spans 2+ modules
Writing docs without git SHA tracking Makes incremental updates impossible; no way to know what's stale Always populate the manifest with per-module git SHAs
Stopping at top-level directories A huge repo generates only 8-12 files; most of the codebase is invisible Run the full recursive census (Step 3), verify coverage, and scan deeper
One flat doc for a 50-file module The doc is too long to be useful; every question returns the same giant file Split modules with 15+ files into sub-modules (modules/<parent>/<child>.md)
Not checking coverage before presenting plan Low-coverage plans look complete but leave most of the repo undocumented Always run Step 6 (coverage verification) before showing the plan
Skipping INDEX.md AI agents can't map a specific file to its module doc Always generate INDEX.md as part of the output
Skipping GETTING_STARTED.md Developers and agents can't run the project without hunting through package.json and README Always generate GETTING_STARTED.md; source commands from scripts, Makefile, and CI config
Copying README verbatim into GETTING_STARTED.md READMEs are often incomplete or outdated; the guide adds no value Extract commands from README but expand with context, fill gaps, and verify against actual scripts

Gotchas

  1. Manifest SHA drift causes phantom staleness - If the repo has uncommitted changes when codedocs:generate runs, the recorded git SHA doesn't match the working tree. Subsequent codedocs:update runs see all files as stale and attempt full re-generation. Run codedocs against a clean working tree or committed state where possible.

  2. Coverage counts source files, not lines - A large 2,000-line file and a small 50-line config file each count as one source file for coverage. A 70% coverage score can hide an undocumented core module if it happens to be split into many small files. Review the gap directory list in codedocs:status rather than trusting the percentage alone.

  3. Sub-module splitting creates orphaned parent docs - When a module with 15+ files is split into sub-modules, the parent modules/<name>.md should become an index pointing to sub-modules. If you create modules/api/routes.md and modules/api/middleware.md but leave the original modules/api.md intact unchanged, agents get conflicting information from two sources about the same code.

  4. Polyglot repos confuse module boundary detection - A repo with both a Python backend and a TypeScript frontend may have overlapping directory names (utils/, types/, config/) at different levels. The discovery phase can conflate these into one module. Explicitly verify module boundaries during the plan phase for monorepos or polyglot projects.

  5. GETTING_STARTED.md sourced only from README - READMEs are often incomplete or outdated. Commands listed in package.json scripts, Makefile targets, and CI config files frequently include critical developer workflows not mentioned in the README. Always cross-check all three sources when generating GETTING_STARTED.md.


References

For detailed workflows and schemas, read the relevant file from references/:

  • references/generate-workflow.md - Complete discovery heuristics, recursive census, multi-level module boundary detection, sub-module splitting, coverage verification, tech stack identification, and all output templates (OVERVIEW.md, module doc, pattern doc, INDEX.md). Load when running codedocs:generate.
  • references/ask-workflow.md - Question routing logic, doc-first resolution strategy, source code fallback rules, and citation format. Load when running codedocs:ask.
  • references/update-workflow.md - Diff detection logic, manifest-driven scoping, new module detection, and OVERVIEW.md sync rules. Load when running codedocs:update.
  • references/output-structure.md - Complete .codedocs.json manifest schema (v1.1 with coverage stats and sub-modules), directory layout spec including sub-module directories and INDEX.md, and file format guidelines. Load when creating or validating output.
  • references/coverage-strategy.md - Coverage targets by repo size, the codedocs:status report format, prioritization framework for large repos, and coverage improvement strategies. Load when running codedocs:status or when coverage is below target.

Only load a references file if the current task requires deep detail on that topic.


Companion check

On first activation of this skill in a conversation: check which companion skills are installed by running ls ~/.claude/skills/ ~/.agent/skills/ ~/.agents/skills/ .claude/skills/ .agent/skills/ .agents/skills/ 2>/dev/null. Compare the results against the recommended_skills field in this file's frontmatter. For any that are missing, mention them once and offer to install:

npx skills add AbsolutelySkilled/AbsolutelySkilled --skill <name>

Skip entirely if recommended_skills is empty or all companions are already installed.