From architecture
Treat architecture intent as executable checks (fitness functions), not prose. Use when scoring the architecture_fitness dimension, recommending how to keep a boundary from re-rotting, or turning a finding into an enforceable check. Distinguishes checks that already run from checks you only recommend. NOT for judging coupling (use methodology-balanced-coupling) or assigning scores (use architecture-scorecard).
How this skill is triggered — by the user, by Claude, or both
Slash command
/architecture:methodology-architecture-fitnessThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Architecture intent that lives only in a doc is a suggestion. Intent that runs in
Architecture intent that lives only in a doc is a suggestion. Intent that runs in CI is enforced. A fitness function is an automated check that fails the build when the system drifts from an intended architectural property — a layering rule, an allowed-dependency rule, a cycle ban, a bundle-size budget.
This follows the evolutionary architecture idea of fitness functions. For a review: a documented rule and an enforced rule are not the same, and the score must reflect which one you actually found.
Use while scoring the architecture_fitness dimension, when designing checks for
a new architecture, or when a finding's fix is "and keep it from coming back." A
boundary repair without a check to hold it will rot again; the plan should add
the check.
architecture-design to define it or
architecture-review to reconstruct it from docs and code.methodology-architecture-fitness to distinguish existing
enforced checks from recommended checks.architecture-scorecard when scoring a review, include checks
in architecture-design, or sequence approved missing checks in
architecture-plan.Keep these strictly separate — conflating them inflates the score.
architecture_fitness score.A repo with thorough architecture docs and zero enforcement scores low on fitness, not high. Documentation is intent; fitness is enforcement.
Before counting a check as existing, confirm all three:
If you can't confirm a check fails the build on violation, treat it as recommended, not existing.
When intent is unenforced, recommend the cheapest check that would catch the finding's class:
go list rule.--circular, import-linter contract,
go list, or staticcheck.Recommend checks the team's existing tools can express — don't propose a new framework when a lint rule does it. Tie each recommendation to the finding ID it guards so the plan can sequence it.
architecture_fitness requires enforced checks, cited as evidence. No
enforcement → low band regardless of doc quality.When applying this methodology, report:
finding_id: finding the check protects.existing_check: current automated check, or none.evidence_ref: CI/config/test evidence for an existing check.enforced: whether it runs automatically and can fail the build.score_impact: how it affects architecture_fitness.recommended_check: cheapest missing check, if intent is unenforced.npx claudepluginhub alexei-led/architect --plugin architectureCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.