C31-review-architecture

C31-review-architecture is a skill for Claude Code, Codex from ChianW/C31. It costs 0 tokens per session (451 once invoked), scanned A, original, MIT.

A code-architecture reviewer that examines how software parts depend on each other and whether responsibilities are in the right layers.

In plain words
What is it for?
Use it to review a codebase or change for coupling, layering problems, unnecessary abstractions, and accumulating technical debt.
Why use it?
It helps find circular dependencies, misplaced business logic, leaky abstractions, and design choices that could make future changes or growth harder.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review a codebase or change for coupling, layering problems, unnecessary abstractions, and accumulating technical debt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chianw/c31/c31-review-architecture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ChianW/C31 --skill c31-review-architecture
Clone the repo
git clone --depth 1 https://github.com/ChianW/C31

Made for: Claude Code, Codex.

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 C31-review-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/chianw/c31/c31-review-architecture/github.svg)](https://agentmods.dev/skills/chianw/c31/c31-review-architecture)
Your own site
<a href="https://agentmods.dev/skills/chianw/c31/c31-review-architecture"><img src="https://agentmods.dev/badge/skills/chianw/c31/c31-review-architecture/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 C31-review-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/chianw/c31/c31-review-architecture"><img src="https://agentmods.dev/badge/skills/chianw/c31/c31-review-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 451 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.00451
Opus 5 $0.00000 $0.00226
Sonnet 5 $0.00000 $0.00090
Haiku 4.5 $0.00000 $0.00045

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

Security

Grade A, and why

C31-review-architecture 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 10d 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.

skills/review/C31-review-architecture/SKILL.md · 41 lines

What it actually says

Multilingual Triggers

Language Trigger phrases
EN C31-review-architecture
ZH 架构审查, 架构设计
JA アーキテクチャレビュー, 設計レビュー

Output language: Respond automatically in the user's conversation language.

C31-review-architecture

Purpose

Architecture reviewer — coupling, layering violations, abstraction leaks, scalability ceiling, tech debt trajectory.

Severity Calibration

Level Meaning Fix Timeline
P0 Critical — new circular dependency, monolith leak into service boundary, scalability blocked Block merge
P1 High — wrong layer for logic (business in DB, infra in domain), tight coupling introduced Fix in PR
P2 Medium — abstraction not pulling weight, premature generalization, interface bloat Fix this sprint
P3 Low — naming inconsistency, package structure could be cleaner Backlog

Review Checklist

  • Coupling — Does this create new import cycles? Service A now depends on Service B internals?
  • Layering — Domain logic leaking into controllers? Infra concerns in business rules?
  • Abstraction Leaks — ORM details escaping repository? HTTP status codes in domain?
  • Scalability — Stateful where stateless works? Shared mutable state? Horizontal scaling blocked?
  • Boundaries — Module/package boundaries respected? Domain events vs direct calls?
  • Tech Debt — Copy-paste pattern that should be abstracted? Previous hack now entrenched?
  • Extensibility — New feature requires touching how many files? Open/closed principle?
  • Dependencies — New library justified? Version conflict risk? License compatible?

Output Format

For each issue: P[0-3] | <concern> | <one-line summary> | <file:line>

Last line: ARCHITECTURE_SCORE: [0-10] — 10 = clean boundaries, 0 = systemic coupling introduced.

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. 10d ago First seen · 41 lines · 0 tokens per session scan A 6a309d3e141b

Subscribe to this mod's changes

C31-review-architecture is a skill published in the GitHub repository ChianW/C31 (1 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 451 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-31.