inspect
Skill13 starsChanged 5 months agoMITView on GitHub
Use after tn:audit passes, when completing major features, or before merging — dispatches a global cross-task code review covering consistency, architecture, and security (distinct from tn:assemble's per-task review)
10 other projects use a version of this.
Adopted by
Most recently taken up by
- sanityops-org/sanityops-frameworktheir own version, first seen Oct 4, 2026
- saleh-alhaddad/itqan-engineeringtheir own version, first seen Sep 29, 2026
- timelapsetech/mediaskillstheir own version, first seen Aug 15, 2026
- pariyar07/architektontheir own version, first seen Jul 21, 2026
- HaipingShi/coderailtheir own version, first seen Jul 8, 2026
- NakaokaRei/swift-mcp-guitheir own version, first seen Jun 5, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- Arman-Kudaibergenov/1c-ai-development-kit★ 166same name
- bluzir/claude-code-design★ 106same name
- NakaokaRei/swift-mcp-gui★ 61same name
- howardpen9/cc-inspect★ 17same name
- saleh-alhaddad/itqan-engineering★ 10same name
- HaipingShi/coderail★ 8same name
- pariyar07/architekton★ 3same name
- sanityops-org/sanityops-framework★ 2same name
- blackwell-systems/agentskills-code-inspector★ 1same name
- timelapsetech/mediaskills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 34
Use the merge-base of the change, not HEAD~1 (a change often spans many commits, so HEAD~1 misses everything but the last):
- Distinctive: line 138
Never skip review for any reason
- Distinctive: line 139
Never blindly accept all feedback — verify each point independently
- Distinctive: line 140
Never merge without review approval
- Very specific: line 141
Use merge-base, not HEAD~1, so the review covers the entire change
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Global Review
Dispatch a code-reviewer subagent to review the whole change as one body of work, not task-by-task. Where tn:assemble reviewed each task in isolation (spec compliance + code quality), inspect catches problems that only surface when you look at the change end-to-end: cross-task consistency, architectural integrity, and security.
Core Principle
REVIEW THE WHOLE, NOT THE PARTS.
Each task passed review alone — but do they fit together?
The reviewer is a safety net, not a rubber stamp.Why inspect ≠ assemble's per-task review
| tn:assemble review | tn:inspect | |
| Scope | one task | the entire change, all tasks together |
| Questions | did this task match its spec? | do the tasks fit? is the whole sound? |
| Catches | per-task defects | emergent issues: inconsistency, arch drift, security holes |
Inspect is not a re-run of assemble's reviews. It looks at what those reviews could not see — the gaps between tasks.
Steps
Phase 1: Request Review
Step 1: Get Git SHAs
Use the merge-base of the change, not HEAD~1 (a change often spans many commits, so HEAD~1 misses everything but the last):
BASE_SHA=$(git merge-base HEAD origin/main) # whole change from branch point
HEAD_SHA=$(git rev-parse HEAD)Step 2: Dispatch Code-Reviewer Subagent
Dispatch a reviewer subagent using the template at ./code-reviewer-prompt.md. The template is host-neutral — see its header for how to dispatch on Claude Code (Agent tool) vs Codex (subagent). Fill the placeholders, then send the full prompt block to the reviewer.
Placeholders to fill:
WHAT_WAS_IMPLEMENTED— What the whole change built (the proposal's "what")PLAN_OR_REQUIREMENTS— Reference proposal.md + the full tasks.md (all tasks, not one)BASE_SHA— Merge-base of the changeHEAD_SHA— Current HEADDESCRIPTION— Brief summary of the change as a wholeCODING_CONVENTIONS— Fromtechneering/config.yamlcoding_conventions section (if exists)QUALITY_STANDARDS— Fromtechneering/config.yamlquality_standards section (if exists)
Step 3: Receive Feedback
The reviewer returns:
- Strengths: What was done well
- Issues: Critical / Important / Minor
- Assessment: Approved / Needs fixes
Phase 2: Process Feedback
The Response Pattern:
WHEN receiving code review feedback:
1. READ: Complete feedback without reacting
2. UNDERSTAND: Restate requirement in own words (or ask)
3. VERIFY: Check against codebase reality
4. EVALUATE: Technically sound for THIS codebase?
5. RESPOND: Technical acknowledgment or reasoned pushback
6. IMPLEMENT: One item at a time, test eachForbidden Responses:
- "You're absolutely right!" / "Great point!" / "Excellent feedback!"
- "Let me implement that now" (before verification)
- Agreeing without understanding the issue
Correct Responses:
- Restate the technical requirement
- Ask clarifying questions
- Push back with technical reasoning if wrong
- Just start working (actions > words)
Step 4: Act on Feedback
- Fix Critical issues immediately
- Fix Important issues before proceeding
- Note Minor issues for later
- Push back if reviewer is wrong (with reasoning)
Red Flags
| Thought | Reality |
| "assemble already reviewed each task" | Per-task review can't see cross-task gaps — that's inspect's whole point |
| "Review passed, can skip it" | Review is a quality gate, not a formality |
| "The reviewer is always right" | The reviewer may lack full context — must verify independently |
| "Merge directly without review" | Unreviewed code is a source of technical debt |
| "Fix Critical issues later" | Critical = must fix immediately, no exceptions |
| "Feedback too long, won't read" | Every item must be read, understood, verified, responded to |
Common Rationalizations
| Excuse | Reality |
| "assemble's reviews covered it" | assemble reviewed each task alone; inspect reviews the assembled whole |
| "Tight deadline, skip review" | Time saved by skipping returns doubled in bug costs |
| "Just a small change, no review needed" | Small changes introduce big bugs all the time |
| "Already ran tests" | Tests verify behavior, review verifies design and integration |
Quick Reference
| Dimension | Key point |
| Scope | The whole change (merge-base → HEAD), not one task |
| Focus | Cross-task consistency · architecture · security |
| Difference from assemble | assemble = per-task; inspect = whole-change |
| Two phases | Request review → receive and process feedback |
| Feedback levels | Critical (must fix) / Important (should fix) / Minor (optional) |
| Processing pattern | read → understand → verify → evaluate → respond → implement |
| Push back allowed | Breaks functionality / lacks context / YAGNI / technically wrong |
Next Step
When done:
- Review passed (Approved) → invoke
tn:shipfor branch integration decision - Review found Critical issues → fix and re-submit for review
- Review found architecture issues → roll back to
tn:forgeto redo affected tasks - User requests stop → end the current flow
Guardrails
- Review runs after
tn:auditpasses and beforetn:ship - inspect is a whole-change review — do not collapse it into a per-task re-check
- Never skip review for any reason
- Never blindly accept all feedback — verify each point independently
- Never merge without review approval
- Use merge-base, not
HEAD~1, so the review covers the entire change - Push back when: suggestion breaks functionality / reviewer lacks context / violates YAGNI / technically incorrect
- Acknowledge correct feedback with technical descriptions, not praise
- Fix one issue at a time, test each fix
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

