sherlock-review

Automate evidence-based code review with structured observation and deduction.

6|3|Updated Dec 3, 2025
Ready to run
npx skills add https://github.com/pacphi/ampel --skill sherlock-review-pacphi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: sherlock-review
Source: https://github.com/pacphi/ampel/tree/main/.claude/skills/sherlock-review
Command: npx skills add https://github.com/pacphi/ampel --skill sherlock-review-pacphi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a disciplined, evidence-based approach to verify code claims, investigate bugs, and perform root-cause analysis.

Core Features & Use Cases

  • Observation: Gather code, tests, history, and runtime behavior
  • Deduction: Compare evidence to claims and rule out impossibilities
  • Elimination: Remove impossible explanations
  • Conclusion & Documentation: Document findings with reproducible proof
  • Templates: Investigation templates for common scenarios

Quick Start

sherlock-review for a PR: observe changes, deduce impact, conclude findings, and document evidence

Frequently Asked Questions about sherlock-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform evidence-based code review to verify what actually happened?▼

Evidence-based code review systematically gathers code, tests, and runtime behavior, then compares evidence against claims to rule out impossibilities and reach reproducible conclusions. This Skill automates that structured methodology—observe, deduce, eliminate, conclude, document—to verify implementation claims and trace findings with proof.

When should I use root-cause analysis for bug investigation versus standard code review?▼

Root-cause analysis applies when bugs require tracing through code changes, history, and runtime behavior to determine what actually caused the failure. This Skill handles investigation scenarios where deductive evidence matters more than surface-level inspection, providing templates and structured methodology for reproducible bug verification.

How do I document code review findings with reproducible evidence?▼

Documentation with reproducible proof requires capturing observations, deductions, eliminated possibilities, and final conclusions as traceable artifacts. This Skill enforces that discipline through templates and a structured methodology that ensures each verdict connects to specific evidence and can be validated by others.

Can I use evidence-based review for pull request validation?▼

Yes. Evidence-based review works directly on pull requests by observing changes, deducing their impact on existing code and tests, eliminating false explanations for side effects, and documenting conclusions with evidence. This approach catches implementation gaps and validates fixes before merge.

What's the difference between deductive code review and standard inspection?▼

Deductive code review enforces a methodology that rules out impossibilities by comparing evidence to claims, then documents why other explanations cannot be true. Standard inspection notes what code does; deductive review proves what actually happened and eliminates alternative theories with traceable reasoning.

Does this approach work for validating bug fixes across multiple code changes?▼

Yes. The structured methodology handles validation of fixes by gathering evidence from changed code, tests, and behavior history, then deducing whether the fix addresses root cause or only surface symptoms. Templates support multi-change scenarios where elimination of alternative explanations is essential.