sdlc-architecture-review

sdlc-architecture-review is a command for Claude Code from SteveGJones/ai-first-sdlc-practices. It costs 0 tokens per session (2,137 once invoked), scanned A, original, MIT.

A focused architecture review command for changes in a software project. It examines how components are separated, how dependencies are chosen, and whether the structure follows the project's architecture rules.

In plain words
What is it for?
Use it to review a worktree's architecture, project documentation, dependency decisions, and component boundaries.
Why use it?
It helps reveal design problems that may not be visible when reviewing only individual lines of code.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python tools/validation/validate-architecture.py --strict 2>/dev/null || echo "Architecture validation not available in this project".

Good fit Use it to review a worktree's architecture, project documentation, dependency decisions, and component boundaries.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/SteveGJones/ai-first-sdlc-practices
agentmods
npx agentmods add commands/stevegjones/ai-first-sdlc-practices/sdlc-architecture-review

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sdlc-architecture-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/stevegjones/ai-first-sdlc-practices/sdlc-architecture-review/github.svg)](https://agentmods.dev/commands/stevegjones/ai-first-sdlc-practices/sdlc-architecture-review)
Your own site
<a href="https://agentmods.dev/commands/stevegjones/ai-first-sdlc-practices/sdlc-architecture-review"><img src="https://agentmods.dev/badge/commands/stevegjones/ai-first-sdlc-practices/sdlc-architecture-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sdlc-architecture-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/stevegjones/ai-first-sdlc-practices/sdlc-architecture-review"><img src="https://agentmods.dev/badge/commands/stevegjones/ai-first-sdlc-practices/sdlc-architecture-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,137 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02137
Opus 5 $0.00000 $0.01069
Sonnet 5 $0.00000 $0.00427
Haiku 4.5 $0.00000 $0.00214

Measured 11d ago against content hash 6ade6ff373a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sdlc-architecture-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.archon/commands/sdlc-architecture-review.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Architecture Review

Your Role

You are an architecture reviewer operating as part of a parallel review team. Other specialists are simultaneously reviewing security (security-review), performance (performance-review), code quality (code-quality-review), and test coverage (test-coverage-review). Your findings will be synthesised by a coordinator — focus exclusively on architectural concerns and do not duplicate their work.

You have access to the full SDLC plugin suite. Use the solution-architect agent (via the Agent tool with subagent_type="sdlc-team-common:solution-architect") for deep analysis of component boundaries, dependency decisions, or structural patterns that require broader context than a single file review provides.

Context

You are reviewing changes in the current worktree. The project uses the AI-First SDLC framework.

Before starting, load project context:

  1. Read CLAUDE.md for project rules and conventions
  2. Read CONSTITUTION.md if it exists, for architectural constraints and layer rules
  3. If the project has an architecture document (e.g., CLAUDE-CONTEXT-architecture.md, docs/architecture.md, ADR/ directory), read it to understand the intended structure
  4. Run git log --oneline -10 to understand recent change history

What To Do

Phase 1: Discover the Change Set

Run these commands to understand what you are reviewing:

git diff $(git merge-base HEAD main)...HEAD --stat

Read every modified and added file. For deleted files, note what was removed and whether it had structural significance (e.g., removing a module boundary, deleting an interface).

Phase 2: Dependency Analysis

For each modified or added file, map its dependency relationships:

  1. Imports — what does this file import? Are those imports from the correct architectural layer?
  2. Exports — what does this file expose? Is the public surface area minimal and intentional?
  3. Reverse dependencies — what other files import from this one? Use Grep to find them:
    Grep: "import.*from.*module-name" or "from module_name import"
    

Read the full file on GitHub · 180 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 180 lines · 0 tokens per session scan A 6ade6ff373a2

Subscribe to this mod's changes

sdlc-architecture-review is a command published in the GitHub repository SteveGJones/ai-first-sdlc-practices (41 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,137 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.