ワンクリックで
investigate
Investigate a GitHub issue or feature description, determine status, and plan implementation if needed
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Investigate a GitHub issue or feature description, determine status, and plan implementation if needed
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | investigate |
| description | Investigate a GitHub issue or feature description, determine status, and plan implementation if needed |
| user_invocable | true |
Take a GitHub issue ID (e.g. #1234) or a plain-language description of a bug/feature, investigate the current codebase to determine its status, and — if work is needed — produce a refined implementation plan with beads tracking.
Follow these phases in order. Exit early whenever a phase concludes that no further work is needed.
If the input is a GitHub issue ID (number or #number or a GitHub URL):
gh issue view <id> --json title,body,labels,state,commentsIf the input is a plain-text description:
Summarize the problem/feature in 1–2 sentences so the user can confirm you understood correctly.
Use the Explore agent (Task tool with subagent_type=Explore) and direct Grep/Glob/Read calls to answer:
Is this already implemented?
git log --oneline --all --grep="<keywords>" -20Can you reproduce or confirm the bug? (for bug reports)
Is there enough information to proceed?
After this phase, tell the user one of:
Based on your investigation, determine the scope of the fix or feature:
If the fix is simple (1–2 lines, obvious change, single file):
If the fix is non-trivial (multiple files, architectural decisions, or more than a couple of lines):
/refine-plan to verify and refine it.Invoke /plan-to-bd to convert the refined plan into a beads epic with issues and subissues.
After beads issues are created, collect all the issue/epic IDs that were created.
Invoke /refine-bd with all the issue/epic IDs passed as arguments. Run this directly (not in a subagent) so it benefits from the full investigation and planning context already in the conversation.
Report the final beads epic and issue IDs to the user along with a summary of the planned work.
Always end with a clear status summary:
## Investigation Result
**Status**: [Already implemented | Cannot determine | Simple fix | Planned]
**Summary**: <1-2 sentence summary>
### Details
<your findings>
### Next Steps
<what happens next, or "No action needed">
/work skill handles implementation.Fetch origin/main and rebase the current worktree or branch onto the latest origin/main.
Move a sibling worktree's branch into the main checkout, then remove the worktree.
Fix or build the requested change in a git worktree, then open a PR.
Review code changes in the current branch for issues
Convert a plan into a beads epic with detailed issues and subissues
Refine a beads issue or epic for implementation quality