fresh-context-review
Review code with the assumptions of the person who wrote it deliberately stripped away. Use after finishing an implementation and before declaring it done, before opening a PR, or when asked to review code that you (or the same session) just wrote. Also use when a change touched more files than expected or when the implementation drifted from the original plan.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 16
- Forks
- 2
01 前言 Front Matter
- name
- fresh-context-review
- description
- Review code with the assumptions of the person who wrote it deliberately stripped away. Use after finishing an implementation and before declaring it done, before opening a PR, or when asked to review code that you (or the same session) just wrote. Also use when a change touched more files than expected or when the implementation drifted from the original plan.
03 SKILL.md 正文
Review With Fresh Eyes
Difference from
adversarial-review: this is a post-hoc pass over finished work.adversarial-reviewinterrogates an in-flight decision with a disproving bias, while reversing it is still cheap. If an irreversible decision is on the line, reach foradversarial-reviewbefore the work is done, not after.
Review code with the same context you wrote it in, and you carry the same blind spots into the review. You know why you wrote it that way, so the odd part doesn't look odd. Most of a review's value comes from looking at it without that knowledge.
How to shed the context
- Look only at the result. Set aside why it turned out this way; read only the diff and the final code
- Ask the questions a first-time reader would ask: when is this variable null? What does this function return? Why is this condition here?
- Go back to the original requirement and check against it. Is what you built what was asked for? Did it drift along the way?
Two separate axes
Mix two kinds of judgment into one pass and you miss both. Keep them separate.
- Spec compliance — did you actually do what was asked? What requirements are missing? What did you do that wasn't asked for?
- Code quality — naming, structure, duplication, error handling, boundary conditions
On a change to a shared interface, add a third lens: who else calls this, and does the review still hold from their vantage point — not just the caller you happened to test against.
- Distinguished/Fellow angle: For a change likely to set precedent across the whole org or outlive its author's tenure, review it as the person who inherits it in five years would — with none of the context, only what's written down.
- Executive angle (CTO/VP-Eng): For a change to a system a customer, regulator, or partner depends on, review it for what happens when it fails in production — who gets paged, what SLA or contract is breached, what it costs to remediate — not just whether the code itself is well-structured.
Verify it yourself
- Don't trust a report or your memory — actually run the tests
- Actually read the diff. What you think you fixed and what actually changed can differ
- Can't confirm something from the diff? Mark it unconfirmed. Don't wave it through
A real instance of what fresh eyes catch
A 2026-08 review of Hncs's per-brand calibration scripts found that 6
brand files had copy-pasted the same orchestration/statistics code
(summarize(), _paired_cv_losses(), run_per_brand_calibration())
byte-for-byte instead of sharing it — and the copy had already drifted
into a real bug: a hardcoded datasets/leica/... path leftover in 5 of
6 files' error messages. Nothing in any single file looked wrong from
inside it — each one worked and passed its own tests. The problem was
only visible from outside the context each file was written in, which
is exactly the blind spot this skill exists to strip away.
No self-censoring
Don't pre-filter findings before the review with "this is probably fine." Even something you think is a false positive goes on the list — judge it later. Pre-grading buries the real problems along with the noise.
04 同仓库更多 Skills
widen-the-solution-space
Deliberately widen the set of candidate approaches before committing to one. Use before irreversible decisions (architecture, DB schema, data format, public API), when the first solution feels complicated or awkward, when the user is deciding rather than instructing ("what's the best way to do this?"), or when a previous attempt at the same problem failed. Skip for routine work with one obvious answer.
weigh-tradeoffs
Compare real alternatives explicitly and record why one was chosen. Use when picking between libraries, data structures, architectures, or storage options; when a decision is hard to reverse (schema, public API, data format, dependency); or when the user asks "which is better, A or B". Also use to decide how much deliberation a decision even deserves.
verify-before-claiming
Run the verification and read its output before saying anything is done, fixed, working, or passing. Use before any completion claim, before committing or opening a PR, before moving to the next task, and after a subagent or tool reports success. Triggers on the words "should work", "fixed", "done", "passing", "looks good" — and on the urge to celebrate.
verifiability-first
Turn the task into something verifiable and declare the success criterion before seeing results. Use when the request is vague about "done" ("make it work", "improve this"), when writing tests, when fixing a bug (write the failing reproduction first), or when comparing two approaches. Critical before any measurement or benchmark, where deciding the bar after seeing the numbers guarantees a "success".
threat-and-scale-check
Check trust boundaries, scale behavior, and layered safety. Use when handling user input, external API responses, files, or auth; when designing permissions, validation, or any safety mechanism; when data volume could grow; or when writing loops that touch I/O. Also use when reviewing whether a single safeguard is the only thing standing between a mistake and a disaster.
surgical-change
Keep every changed line traceable to the request. Use when editing existing code, especially code you didn't write; when tempted to clean up something you noticed while reading; when a diff is growing beyond the ask; or when deciding whether to delete code that looks dead.