/project-onboard:code-reviewfrom project-onboard
Two-axis code review that checks both standards conformance and spec fidelity. Runs as parallel sub-agents to prevent context pollution. Includes a smell baseline from Fowler's Refactoring. Use after implementation is complete, before committing.
Ships in project-onboard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Review code changes on two independent axes, then aggregate findings. Both axes run as parallel sub-agents to prevent one axis's findings from biasing the other.
Pin the fixed point. Identify the reference commit/branch/tag to diff against. Validate it exists and confirm the diff is non-empty.
Identify the spec source. Search commit messages for issue
references, check user-provided paths, or look in docs/,
docs/agents/spec.md. Ask the user if no spec source is found.
Identify standards. Gather repo documentation:
CODING_STANDARDS.md, CONTRIBUTING.md, root CLAUDE.md, or
equivalent. These override the baseline but don't replace it.
Spawn two parallel sub-agents:
Does the code conform to this repo's documented coding standards? Plus the smell baseline below. Report violations concisely (< 400 words). Skip anything already enforced by tooling.
Does the code faithfully implement the originating spec or ticket? Flag missing requirements, scope creep, and implementation errors. Report concisely (< 400 words).
Aggregate. Present both reports under separate headings. Do not merge findings across axes.
Eleven heuristics from Fowler's Refactoring plus depth/locality
checks from /codebase-design:
| Smell | Signal |
|---|---|
| Mysterious Name | Reader can't guess what it does from the name |
| Duplicated Code | Same structure in multiple places |
| Feature Envy | Method uses another class's data more than its own |
| Data Clumps | Same group of fields/params appear together repeatedly |
| Primitive Obsession | Primitives where a domain type would clarify |
| Repeated Switches | Same switch/conditional scattered across the code |
| Shotgun Surgery | One change requires edits in many unrelated places |
| Divergent Change | One module changes for multiple unrelated reasons |
| Speculative Generality | Abstractions for hypothetical future needs |
| Message Chains | Long chains of calls (a.b().c().d()) |
| Middle Man | Class that only delegates without adding value |
| Shallow Module | Interface nearly as complex as implementation — low depth, callers gain little leverage |
| Locality Violation | Related changes scatter across many files instead of concentrating in one module |
| Hypothetical Seam | An abstraction boundary with only one adapter — variation doesn't actually exist |
Repo-specific standards override the baseline.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lynchypin/project-onboard --plugin project-onboard20 skills in this plugin
/codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when a wayfinder ticket is typed as 'bug', or the user says 'diagnose'/'debug this', or reports something broken/throwing/failing/slow./document-directoryCreate or update a subdirectory's own CLAUDE.md file after substantial work in that module. Only for app or system documentation tier projects.