원클릭으로
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 직업 분류 기준
| 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.
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.