coding-recon
Use when ownership, contracts, callers, or root cause are unclear before a non-local code change.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- coding-recon
- description
- Use when ownership, contracts, callers, or root cause are unclear before a non-local code change.
02 资源文件 1
- 参考文档skill.json147 B
03 SKILL.md 正文
Coding Recon
Overview
Gather only evidence that can change the target, approach, constraints, or verification.
When to Use
Use Recon when unclear ownership, contracts, precedent, callers, or root causes could change the implementation.
Skip Recon when the exact location and edit are known, the change is fully local, and no material contract is uncertain.
Recon Loop
1. Frame one uncertainty
State one decision-changing question. Do not start with a list of files to read.
When simplifying an existing proposal, identify the exact object and stage being removed or replaced; preserve established requirements outside that change. After reading the available evidence, put one focused intent question in Open uncertainty only if two plausible readings would change user-visible behavior. Otherwise proceed without another confirmation.
2. Choose the cheapest discriminating observation
| Question | Start with |
|---|---|
| Where is behavior owned? | Symbol/reference search, then implementation and callers |
| What contract applies? | Types, tests, public interfaces, relevant configuration |
| What precedent exists? | One nearby implementation and its tests |
| Which root cause fits? | Competing hypotheses and a separating diagnostic |
Before each tool action, know its question and possible decision impact. Use history only when intent matters. Broaden only when targeted evidence fails.
3. Update the hypothesis
Classify each uncertainty as resolved, narrowed, or contradicted. Revise the likely target or approach, then choose the next material uncertainty.
Evidence contains only facts observed in code, tests, configuration, or history. Otherwise write exactly Evidence: none collected; move everything else to Open uncertainty.
For bugs, use hypotheses → discriminating evidence → root cause, not error → guess → patch → retry.
4. Stop on decision sufficiency
Stop when ownership, relevant contracts, the approach, and verification are clear, and remaining uncertainty is unlikely to change the decision.
Handoff Contract
Recon is complete only when this brief exists:
Target: <where the change belongs, or unknown>
Evidence: <observed repository facts, or none collected>
Constraints: <contracts and invariants to preserve>
Approach: <smallest implementation supported by the evidence>
Verification: <specific checks that can disprove correctness>
Open uncertainty: none | <remaining material unknowns or hypotheses>
For an investigation- or plan-only request, the response is exactly this brief and ends after Open uncertainty. For an implementation request, use it as the checkpoint before editing. Contradictory verification returns the task to Recon.
Ask the user only for intent or facts the repository cannot determine.
Example
For a new monorepo command, search registration and inspect one tested sibling. Stop when ownership and contract agree.
Common Mistakes
| Mistake | Correction |
|---|---|
| Reading every related file | Start from one uncertainty. |
| Asking the user where code lives | Search first; ask only about intent. |
| Accepting the first plausible cause | Compare hypotheses with separating evidence. |
| Continuing after the decision is stable | Produce the brief and stop. |
| Implementing a plan-only request | Return the brief and wait. |
04 同仓库更多 Skills
video-transcript
Video transcript (captions first, Whisper fallback). Use when the user wants text from a video.
validator
Deprecated. Plan Completion Standard. Use only when the user invokes /validator after a Plan is complete.
ultra-simplify
Use when the user asks for a massive simplification pass
ultra-produce
Deprecated. Coordinate native Planner, Builder and Verifier subagents through implementation and testing, with file-based handoffs, stage hooks and local commits. Use for an end-to-end delegated implementation workflow.
ultra-cr
Coordinate independent code reviewers, architectural impact analysis and finding verification. Use for multi-agent code review or an ultra-cr review against a diff and requirements, with resumable reports.
ui-parity
Align existing UI surfaces or extract shared interactions with baseline regression checks, state comparisons, and rendered evidence. Use for UI parity work.