/project-onboard:improve-codebase-architecturefrom project-onboard
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one the user picks. Use after implementation for periodic architecture hygiene, after diagnosing-bugs escalation, or when the user asks for an architecture review.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Surface architectural friction and propose "deepening opportunities" — refactors that turn shallow modules into deep ones. The aim is testability and AI-navigability.
Informed by: /codebase-design vocabulary, CONTEXT.md (domain
glossary), docs/adr/.
Scope before you scan — YAGNI. Focus on recently-changed parts of the codebase:
git log --oneline -20 for recently-active areasCONTEXT.md and relevant ADRsFor each suspected shallow module, apply the deletion test: "Would deleting it concentrate complexity in one place, or just move it elsewhere?" If deletion would barely be noticed, it's a middleman.
Write a self-contained HTML file to $TMPDIR/architecture-review-<timestamp>.html
(nothing lands in the repo). Open it for the user.
Report requirements:
Strong, Worth exploring, or
SpeculativeCONTEXT.md vocabulary for domain terms/codebase-design vocabulary for architecture terms (depth, seam,
module, adapter, leverage, locality)Does NOT propose interfaces yet. After presenting, ask: "Which of these would you like to explore?"
Only surface when friction is real enough to warrant reopening the ADR. Don't flag every old ADR as "maybe outdated" — that's noise.
Once the user picks a candidate:
/grilling to walk the decision tree — constraints, dependencies,
the shape of the deepened module, what sits behind the seam, what tests
survive/domain-modeling inline as vocabulary evolves during the
discussionAfter all implementation tickets complete and code-review passes, if
doc_tier is "app" or "system", wayfinder offers this skill as an
optional architecture review. The user can accept or decline.
When a bug post-mortem reveals that "no good test seam exists" — the
architecture is the problem — diagnosing-bugs creates a wayfinder
ticket that routes here.
The user can invoke this directly at any time as periodic hygiene. Recommended cadence: once every few days of active development.
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./code-reviewTwo-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./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.