document skill
機能の実装やバグ修正の後に、プロジェクトの規約やプロファイル固有のルーブリックに従って、技術ドキュメントの作成または更新を行います。
- GitHubスター
- 155
- ファイル
- 16
- 最終コミット
- 2026年11月10日
- ライセンス
- —
- 許可されたツール
- —
document skillは何をしますか
documentはAgent Skillsです。 機能の実装やバグ修正の後に、プロジェクトの規約やプロファイル固有のルーブリックに従って、技術ドキュメントの作成または更新を行います。.
skillのSKILL.mdから生成された要約。
document skill について
機能の実装やバグ修正の完了後に、技術ドキュメントを更新することがこのSKILLの主な機能です。新しいコードの変更を、組織固有の標準に従いながらプロジェクトファイルに正確に反映させる必要がある開発者向けに設計されています。プロセスは、featureディレクトリの検査と、特定の検出手順によるアクティブなプロファイルの検出から始まります。プロファイルが特定されると、このSKILLはプロファイル固有のドキュメントサブディレクトリ内にあるindex.mdファイルから、関連するルーブリックを読み込みます。
ドキュメントの整合性を維持するため、エージェントは実装フェーズの直後にこのSKILLを読み込む必要があります。適切なプロジェクトディレクトリに、更新されたREADMEファイル、アーキテクチャガイド、APIドキュメント、またはArchitecture Decision Records (ADRs) を生成します。このSKILLは、記述プロセスを構成するためにshared-capy-knowledge-protocol.mdやshared-profile-detection.mdなどの共有プロトコルを利用します。標準的な執筆ツールとは異なり、内容を記述する、理由とともにN/Aと記載する、あるいは継承されたソースを引用するのいずれかによって、必須トピックを明示的に扱うことが求められ、無意識な省略を防ぎます。
エージェントができること
- 1新機能の変更のドキュメント化プロジェクトの規約に従って、最近実装された機能の技術ドキュメントを作成または更新します。
- 2アーキテクチャ決定の記録コードの変更において、複数の選択肢の中から選択が行われた場合に、Architecture Decision Recordを作成します。
- 3プロファイル固有のルーブリックの適用ドキュメントが、アクティブなプロファイルのindex.mdファイルで定義されたすべての必須トピックを網羅していることを確認します。
- 4ドキュメントの完全性の維持内容の提供、N/Aの理由、または継承されたソースの引用を行うことで、すべての必須トピックに対応します。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
document skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにdocument skillをインストールする
/plugin marketplace add serpro69/claude-toolbox /plugin install kk@claude-toolbox
Claude Codeにdocument skillをインストールする
~/.claude/skills/document/SKILL.md
$ npx degit serpro69/claude-toolbox/klaude-plugin/skills/document ~/.claude/skills/documentClaude Code (project)にdocument skillをインストールする
.claude/skills/document/SKILL.md
$ npx degit serpro69/claude-toolbox/klaude-plugin/skills/document .claude/skills/documentCodexにdocument skillをインストールする
~/.agents/skills/document/SKILL.md
$ npx degit serpro69/claude-toolbox/klaude-plugin/skills/document ~/.agents/skills/documentGemini CLIにdocument skillをインストールする
~/.gemini/skills/document/SKILL.md
$ npx degit serpro69/claude-toolbox/klaude-plugin/skills/document ~/.gemini/skills/documentClaude.aiにdocument skillをインストールする
npx degit serpro69/claude-toolbox/klaude-plugin/skills/document document && zip -r document.zip document # claude.ai → Customize → Skills → + → Create skill → Upload a skill → document.zip
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。スキルにはスコア 80、重大な指摘なし、チェックに十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能serpro69/claude-toolbox/klaude-plugin/skills/document is public and reachablegithub.com/serpro69/claude-toolbox/tree/HEAD/klaude-plugin/s ↗合格
- オープンソースライセンス (OSI)No license検出事項
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-10github.com/serpro69/claude-toolbox/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/serpro69/claude-toolbox/blob/HEAD/klaude-plugin/s ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/serpro69/claude-toolbox/blob/HEAD/klaude-plugin/s ↗合格
- SKILL.md が Agent Skills の形式に従っているValid name and description; says when to use it; 35 linesgithub.com/serpro69/claude-toolbox/blob/HEAD/klaude-plugin/s ↗合格
SKILL.md
GitHubで表示Documentation Process
Conventions
- Read capy knowledge base conventions at shared-capy-knowledge-protocol.md.
- Read profile detection at shared-profile-detection.md. When an active profile contributes a
document/subdirectory (e.g.,${TOOLBOX_PLUGIN_ROOT}/profiles/k8s/document/), itsindex.mdlists a doc rubric — required topics the documentation for that artifact type must cover. See the Workflow below for the load order.
Workflow
Mandatory order — instructions before action. The flow below is strictly sequential. Do not read feature-tree content, write, or edit documentation files until the shared protocols and all resolved profile content are in context. Bounded signal inspection for profile detection is the only content-read exception.
Read the shared protocols in Conventions before the steps below, even when the invocation ultimately needs no edits.
- Minimal-scope listing. List the feature directory (filenames and metadata only — no file-content reads). This is the input profile detection needs, and nothing more; content-level reading happens after profile content is loaded.
- Detect active profiles. Run the
shared-profile-detection.mdprocedure against the filename list from Step 1. - Load profile content. For each active profile that contributes a
document/subdirectory, load${TOOLBOX_PLUGIN_ROOT}/profiles/<name>/document/index.mdand read its always-load + any matching conditional content. The rubric named there specifies topics the documentation must cover for that profile's artifacts. - Read the feature-tree content the documentation will cover. This is the first step that touches subject-matter content; the profile rubric is now loaded and frames what to look for.
- Apply the doc guidelines below. Write or update documentation applying the rubric's required topics where applicable. Explain the purpose and applicable current or planned behavior before reference detail, retaining evidence limits and unresolved decisions.
- Suggest optional clarification. After creating or materially revising documentation, suggest a
/kk:clarify-docsinvocation naming those output paths. If no documents were created or materially revised, skip the suggestion. Clarification is a separate user-selected editing workflow; this skill neither loads its procedure nor runs it automatically. Drafting still owns clear explanations and every applicable profile-rubric topic, including explicit N/A reasons and inherited-source citations. The suggestion does not replace any project-prescribed review.
Guidelines
- Discover the project's documentation structure. List top-level doc directories and doc-related files at the repo root (e.g.,
docs/,README.md,ARCHITECTURE.md,CONTRIBUTING.md). Scan for architecture guides, testing guides, API docs, user guides, and contributing docs — common locations includedocs/contributing/architecture.md,docs/contributing/testing.md, but every project organizes differently. Update whichever docs are relevant to the change — don't limit yourself to a fixed set of paths. - If the code change included prior decision-making out of several alternatives, document an ADR at
/docs/adrfor any non-trivial/non-obvious decisions that should be preserved. - Profile-aware rubric. For each active profile, apply the doc rubric its
document/index.mdspecifies (loaded in Step 3 of the Workflow). Each required topic must be addressed in one of three ways: (a) write the topic if the feature touches it, (b) stateN/A — <reason>in a single line if the feature does not touch the topic, or (c) cite the inherited source explicitly if the feature assumes the topic but inherits it from elsewhere (e.g., NetworkPolicy defined in a platform repo). Silent omission is the failure mode — an explicitN/Acommunicates consideration; an absent heading communicates nothing.
Capy search: Before writing docs, search kk:arch-decisions and kk:project-conventions for decisions that should be reflected in documentation — decisions not obvious from code alone.
このスキルのファイル
16document skillに関する質問
Claude Codeにdocument skillをインストールするには
npx degit serpro69/claude-toolbox/klaude-plugin/skills/document ~/.claude/skills/documentを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
document skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
必要なドキュメントのトピックが機能に該当しない場合はどうすればよいですか?
見出し自体を省略するのではなく、単一の行で「N/A — <理由>」と明示的に記載する必要があります。
Architecture Decision Record (ADR) はいつ作成すべきですか?
コードの変更において、複数の選択肢の中から重要、あるいは非自明な意思決定が行われた場合は、/docs/adr に ADR を記録する必要があります。
このSKILLの必須の実行順序は何ですか?
ワークフローは、最小スコープのリストアップ、プロファイルの検出、プロファイル内容の読み込み、feature-treeの内容の読み込み、ガイドラインの適用、およびオプションの明確化の提案という、厳格な順序に従う必要があります。