ワンクリックで
investigate-codebase
Instructions for investigating a codebase to answer a specific question.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Instructions for investigating a codebase to answer a specific question.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Publishes a clean normal feature or task branch and creates its pull request on explicit human request.
Instructions for writing good design plan artifacts. Use when specifically requested.
Instructions for writing good implementation plans artifacts. Use when specifically requested.
Instructions for executing implementation plans. Use when specifically requested.
Instructions for executing a task from an implementation plans. Use when specifically requested.
Reviews code changes directly against quality standards. Use when no implementation plan or journal exists.
| name | investigate-codebase |
| description | Instructions for investigating a codebase to answer a specific question. |
Read a specific investigation question, explore the codebase to answer it, and report findings to your caller.
Use this skill when you need to answer a specific, bounded question about an existing codebase — root cause of a bug, how a subsystem works, blast radius of a change, etc.
This skill is a sub-skill called by orchestrators. It is used by:
run-bug-fix — to confirm root cause before planning a fixrun-hotfix — to quickly locate a bug's root causerun-architecture-audit — to gather raw findings before synthesisrun-feature — when the principal needs targeted codebase contextDo not confuse with review-code, which reviews code quality rather than answering a question.
Restate the question in your own words. If the question is ambiguous, stop and ask for clarification before proceeding.
Identify the most relevant files, modules, classes, functions, and tests related to the question. Cast a wide net at this stage — it is better to read too much than to miss a relevant path.
Follow imports, trace call chains, read tests, and check documentation. Continue until you have enough evidence to answer the question or have exhausted the relevant surface area.
Collect specific locations using file:line references. For each piece of evidence, decide whether it is an
observation (directly seen in the code) or an inference (a conclusion drawn from observations).
Compose a structured report using the sections defined in .agents/artifacts/investigation-report/description.md
as a guide. Omit ## Open Questions if there are none. Report findings directly to your caller; do not write a file
artifact.