kmaruthi2002/universal-llm-skills/architecture-review

Claude Code and agent skill by kmaruthi2002/universal-llm-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Evaluate a proposed or existing software design (design doc, RFC, ADR, architecture diagram, system proposal, or a running system's structure) and give a clear, reasoned verdict. Covers checking fit to requirements and quality attributes (scalability, reliability, security, latency, cost, operability, evolvability), finding risks and failure modes, probing assumptions, judging whether alternatives were genuinely considered, asking the questions that expose weak spots, and writing feedback with severity and a go / go-with-conditions / rethink outcome. Use when asked to "review this design", "critique this architecture", "poke holes in this RFC", "is this approach sound", "sanity-check our system design", or to prepare for a design review meeting. Not for producing a design from scratch (software-architecture, system-design) or reviewing a code diff (code-review).

Install

npx vskill@latest install kmaruthi2002/universal-llm-skills/architecture-review

SKILL.md

The same SKILL.md was published earlier as kmaruthi2002/universal-llm-skills/architecture-review.

Architecture Review

An architecture review asks whether a design will meet its real requirements, under realistic conditions, at an acceptable cost and risk, and remain changeable for as long as it needs to live. Its output is a decision (proceed, proceed with conditions, or rethink) backed by specific, prioritised concerns and the questions that must be answered.

Reviews are cheapest when the design is still on paper: changing a diagram costs an hour; changing a deployed system costs a quarter. That is why this skill emphasises probing assumptions early rather than polishing details.

Scope: this skill is for evaluating someone's design, including your own. To create a design, see software-architecture (structure, boundaries, patterns) and system-design (scaling distributed systems). For choosing between options in general, see technical-decision-making. For a dedicated security assessment, see security-audit. For a code diff, see code-review.

Core principles

1. Requirements first, design second. A design is only good or bad relative to what it must achieve. Many review disagreements are really disagreements about requirements ("it must handle 10x growth" versus "we need it next month"). Establish the requirements and their priority before critiquing the solution, or you will argue past each other.

2. Quality attributes decide architectures. Functional requirements rarely determine structure; almost any architecture can implement the features. What separates designs is how they handle scale, latency, availability, consistency, security, cost, operability and change. Make the important attributes explicit and measurable.

3. Every design is a set of trade-offs; find them. There is no design without downsides. A proposal that lists none has not been examined. Your job is to surface the trade-offs, check they were chosen deliberately, and confirm they fit the priorities.

4. Failure is the normal case at scale. Networks partition, dependencies slow down, disks fill, deploys go wrong, humans misconfigure. Ask what happens when each component fails or degrades, not just whether it works.

5. The simplest design that meets the requirements wins. Complexity has carrying costs: more to operate, more to learn, more to break. Extra moving parts need a requirement that justifies them. "We might need it later" is a weak justification unless the cost of adding it later is very high.

6. Reversibility sets the bar. Decisions that are cheap to reverse (a library choice behind an interface) deserve a light review. Decisions that are expensive to reverse (data model, public API, storage engine, service boundaries, vendor lock-in) deserve a heavy one. Spend scrutiny where change is expensive.

7. Context and constraints are real. Team size and skills, existing systems, deadlines, budget and organisational standards are legitimate inputs, not excuses. A design that is ideal in the abstract but cannot be built or run by this team is not a good design for them.

8. Give a verdict. A review that lists thirty observations and no conclusion pushes the decision back to the author without help. Say clearly whether you would proceed, and what must change first.

Discovering context

Before forming opinions, gather:

  • The problem statement and goals: what is being solved, for whom, and how success is measured. If the document does not say, ask; this is often the most valuable review comment.
  • Requirements and constraints: load and growth projections, latency and availability targets, data volumes, consistency needs, compliance obligations, budget, deadline, team capacity.
  • The current state: existing systems the design replaces, integrates with, or depends on. Migration is frequently harder than the target design.
  • Organisational standards: approved platforms, languages, data stores, security baselines, ADRs, and previous decisions this design should respect or explicitly revisit.
  • The review's purpose: is this an early sanity check, a formal approval gate, or a post-hoc assessment of a running system? The depth and tone differ.
  • Who decides: the reviewer advises; usually the owning team or an architecture group decides. Know which.

If you can inspect a running system or its code, check the claims in the design against reality (actual traffic, actual dependencies, actual failure history). Designs drift from documents.

The review process

1. Restate the problem and the design

Write, in a few sentences, what problem the design solves and how it solves it. If you cannot, the document is unclear, and that is the first finding. Restating also catches misreadings before you build criticism on them. In a meeting, saying it aloud and asking "is that right?" is often revealing.

2. Extract and rank the quality attributes

Turn vague goals into concrete scenarios. "Highly available" is not reviewable; "checkout keeps accepting orders when the recommendation service is down" is.

AttributeTurn it into a scenario like…
Performancep99 latency under X ms at Y requests per second with realistic payloads
Scalabilityhandles 10x current volume by adding instances, without redesign
Availabilitysurvives loss of one zone with under N minutes of degraded service
Consistencya user always sees their own writes immediately; others within N seconds
Durabilityno acknowledged write is lost on single-node failure
Securitya compromised tenant credential cannot read another tenant's data
Operabilityon-call can identify a failing dependency within 5 minutes from dashboards
Evolvabilityadding a new payment provider touches one module and no schemas
Costinfrastructure cost grows sub-linearly with users; under $X/month at launch
Compliancepersonal data stays in region; deletion requests complete within N days

Ask the authors to rank the top three to five. Conflicts between attributes (latency versus consistency, cost versus availability) are where the important trade-offs live.

3. Check fit: does the design achieve each scenario?

Walk each high-priority scenario through the design. Follow a request or a data item end to end: what components does it touch, what does each do, where is state held, what can fail? This is the architectural equivalent of tracing code with concrete inputs.

Useful lenses during the walk:

  • Data: where is each piece of data owned, stored, replicated, cached, and derived? Who can write it? What is the source of truth? How is it migrated, backed up, deleted?
  • Coupling: which components must change together, deploy together, or be up together? Synchronous call chains multiply latency and failure probability.
  • Boundaries: do service or module boundaries align with how the domain and the teams actually change? Boundaries cut across a frequently-changing concept cause constant cross-team coordination.
  • Load: where are the hot paths, fan-out points, and bottlenecks? Back-of-envelope numbers (requests per second, bytes per request, rows per day) quickly show whether a component is near its limits. See system-design for estimation.
  • State and consistency: where are distributed transactions, dual writes, or caches that can diverge? What does a user see during a partial failure?
4. Probe failure modes

For each component and dependency, ask:

  • What happens when it is down? Slow? Returning errors? Returning wrong data?
  • Does failure cascade (retry storms, thread pool exhaustion, queue backlogs)? Are there timeouts, circuit breakers, bulkheads, and backpressure?
  • What is the blast radius? One user, one tenant, one region, everything?
  • How is it detected? How is it recovered? Is recovery automatic or does it need a human at 3 a.m.?
  • What happens during deploys, schema migrations, and configuration changes, which cause a large share of real outages?
  • What happens with poison messages, duplicate deliveries, and out-of-order events?
  • What happens at the limits: disk full, quota exceeded, certificate expired, rate limit from a third party?

A pre-mortem is effective here: "It is a year from now and this system has had a serious incident. What was it most likely to be?" Ask the authors; their answers often reveal the risks they are quietly worried about.

5. Assess operability, security and cost

Operability: how is it deployed, configured, monitored, debugged, scaled and upgraded? Who is on call, and do they have the skills? Is there a runbook for the predictable failures? Are there dashboards and alerts on the scenarios from step 2? See observability.

Security: identify trust boundaries and where authentication, authorisation and data protection happen. Is sensitive data minimised and encrypted? Is the design multi-tenant, and how is isolation enforced? For anything handling sensitive data or money, recommend a focused threat model (see security-audit).

Cost: estimate the main cost drivers (compute, storage, data transfer, managed service pricing, licences, and people time to operate). Check how cost scales with load. Watch for designs whose cost is fine at launch and alarming at success, and for managed services priced per request at high volume.

6. Evaluate alternatives

Ask what other approaches were considered and why they were rejected. Healthy signs: at least one genuinely different alternative (not a straw man), including "do nothing" or "extend the existing system", with reasons tied to the ranked quality attributes.

If alternatives are missing, suggest one or two plausible ones yourself and ask how they compare. You are not trying to substitute your design; you are testing whether the chosen one survives comparison.

Common alternative axes worth raising:

  • Build versus buy versus use an existing internal platform.
  • Monolith or modular monolith versus separate services.
  • Synchronous request/response versus asynchronous events or queues.
  • One general data store versus specialised stores.
  • Strong consistency versus eventual consistency with compensating actions.
  • Incremental migration (strangler pattern) versus big-bang replacement.
7. Check the path, not just the destination

Many designs describe the target state and ignore how to get there. Ask:

  • What is the migration plan from the current system? Can it be done incrementally with rollback at each step?
  • How is data migrated and verified? Is there a period of dual running, and how are the two kept consistent?
  • What is the smallest first milestone that delivers value and tests the riskiest assumption?
  • Which decisions can be deferred until more is known?
8. Write the review and give the verdict

See "Writing the review" below.

Asking the right questions

Good questions expose weak spots without putting authors on the defensive. They are specific, open, and tied to a requirement. A bank of questions, by area (pick what applies):

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kmaruthi2002/universal-llm-skills/architecture-review/badge)](https://verified-skill.com/skills/kmaruthi2002/universal-llm-skills/architecture-review)

Something wrong with this skill or its page? Tell us.