plan
Research a codebase and write a plan for a work item.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Research a codebase and write a plan for a work item.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Analyze workflow runs and produce a daily reflection.
Execute a work plan. Make changes, run validation, commit.
Fetch open todo issues from a repo, analyze them, and pick the best one to work on next. Prefers PRs with review feedback over new issues.
Review open issues and close obsolete, resolved, or duplicate ones. Label underspecified issues. Split oversized issues.
Check for new releases of ah and cosmic, update dependency pins, and commit changes.
Review work execution against the plan. Validate changes, check for issues, render verdict.
SOC 직업 분류 기준
| name | plan |
| description | Research a codebase and write a plan for a work item. |
You are planning a work item. Research the codebase and write a plan.
o/repo/.---. Fields: type, number, title, body, url, branch.type is "pr", the item includes reviews and comments with review feedback to address.type is "issue", the item is a new issue to implement.o/build/log.txt contains the output of make ci run in the target repo after clone. o/build/log.txt.exit contains the exit code. Build dependencies (cosmic, etc.) are already fetched under o/repo/o/, so make ci works inside the sandbox.First, read o/repo/AGENTS.md if it exists. It contains repo-specific context,
conventions, and build instructions for the target repository. Follow its guidance.
o/plan/ci-log.txt exists and is non-empty, read it first. It contains
CI failure logs pre-fetched for this PR. Use it to identify failing tests
or build errors without running commands.reason field to understand why this PR needs attention:
changes_requested: reviewers requested changes. Read the reviews and comments fields.checks_failing: CI checks are failing. Run the repo's CI/test commands to reproduce failures.merge_conflict: the PR branch has merge conflicts with the base branch. The clone phase rebases automatically — verify the rebase succeeded and re-run CI.changes_requested,merge_conflict). Address all.Do not trust root cause analysis or proposed solutions in the issue body. Independently verify claims by reading the code.
Spend at most 5 turns researching, then write your output. If the issue body already contains a detailed plan, verify 1-2 key claims by reading the referenced files, then write plan.md.
If you cannot identify BOTH a clear goal AND an entry point, write ONLY
plan.md with a ## Bail section explaining why. Do NOT write a plan.
Write o/plan/plan.md:
# Plan: <title>
## Context
### Files Retrieved
- <path/to/file.ext> — <why it is relevant>
### Key Code
<specific functions, types, or patterns that matter for this change>
### Architecture
<how the relevant pieces connect>
### Start Here
<the specific function/file where changes should begin>
## Goal
<one sentence>
## Files
- <path> — <what changes>
## Approach
<step by step>
## Risks
<what could go wrong>
## Commit
<commit message>
## Validation
<commands to run, expected results>
Do NOT modify any source files. Research only.