claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Assesses architecture decisions, ADR compliance, and coupling. Use when evaluating design changes or validating structural decisions before merging.
$ npx -y skills add athola/claude-night-market --skill architecture-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/architecture-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Assesses architecture decisions, ADR compliance, and coupling. Use when evaluating design changes or validating structural decisions before merging.
name: architecture-review description: Assesses architecture decisions, ADR compliance, and coupling. Use when evaluating design changes or validating structural decisions before merging. alwaysApply: false category: architecture tags: - architecture - design - adr - coupling - patterns - principles tools: [] usage_patterns: - architecture-assessment - adr-audit - refactor-review - design-validation complexity: advanced model_hint: deep estimated_tokens: 300 progressive_loading: true dependencies: - imbue:proof-of-work - imbue:diff-analysis/modules/risk-assessment-framework - imbue:review-core - imbue:structured-output modules: - modules/adr-audit.md - modules/coupling-analysis.md - modules/principle-checks.md - modules/fpf-methodology.md - modules/ceremony-audit.md
Run `pytest plugins/pensive/tests/skills/test_architecture_review.py` to verify review logic.
Architecture assessment against ADRs and design principles.
/architecture-review
skills
skills
Load modules based on review scope:
Load all modules for full reviews. For focused reviews, load only relevant modules.
1. `arch-review:context-established`: Repository, branch, motivation. 2. `arch-review:adr-audit`: ADR verification and new ADR needs. 3. `arch-review:interaction-mapping`: Module coupling analysis. 4. `arch-review:invariant-check`: Invariant conflict detection and 3-option analysis. 5. `arch-review:principle-checks`: LoD, security, performance. 6. `arch-review:ceremony-audit`: Mapping layers that never diverge. 7. `arch-review:risks-actions`: Recommendation and follow-ups. 8. `arch-review:findings-verified`
Confirm repository and branch:
pwd git status -sb
Document:
**Load: `modules/adr-audit.md`**
**Load: `modules/coupling-analysis.md`**
Before checking principles, identify whether the changes conflict with existing design invariants. This is the highest-judgment step in architecture review: models get this wrong more often than any other call.
**Identify existing invariants:**
1. Scan ADRs for recorded decisions still in "accepted" status 2. Check module boundaries (are imports crossing layers that previously didn't?) 3. Check data flow direction (does data now flow in a new direction?) 4. Check API contracts (are public interfaces changing shape?) 5. Check structural patterns (is a new pattern being introduced alongside an existing one?)
# Detect boundary crossings in changed files git diff --name-only | while read f; do head -20 "$f" 2>/dev/null | rg "^(import|from|use |require)" || true done
**When a conflict is detected:**
Do NOT recommend a resolution. Present the three options and escalate to human judgment:
| Option | When Right | When Wrong | |--------|------------|------------| | **Preserve invariant** (reject feature) | Invariant simplifies many things; feature is marginal | Feature is genuinely needed and invariant is stale | | **Layer on top** (add inelegantly) | Feature is needed; invariant still valuable; imperfection is OK | Layering creates a maintenance trap that will compound | | **Revise invariant** (change the design) | Genuine new learning invalida
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.