architecture-quality-review

architecture-quality-review is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 13 tokens per session (551 once invoked), scanned A, original, MIT.

A review checklist for .NET architecture and code quality. It checks how code is divided into layers, how services are connected, and whether specific project rules are followed.

In plain words
What is it for?
It reviews dependency injection, clean layering, guards, logging, retries, Cosmos DB data partitioning, managed identity, secrets, and blocking asynchronous code.
Why use it?
It helps find design and implementation problems before code is merged, with findings tied to specific files and lines.

Skill for Claude CodeCodex

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

Good fit It reviews dependency injection, clean layering, guards, logging, retries, Cosmos DB data partitioning, managed identity, secrets, and blocking asynchronous code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/architecture-quality-review
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 Arasz/ai-raccoon --skill architecture-quality-review
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/architecture-quality-review"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/architecture-quality-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 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.00013 $0.00551
Opus 5.5 $0.00005 $0.00220
Sonnet 5.5 $0.00003 $0.00110
Haiku 4.5 $0.00001 $0.00055

Measured yesterday against content hash 2a224efcb9de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architecture-quality-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 yesterday.

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.

.ai-badger/skills/learned/uncategorized/architecture-quality-review/SKILL.md · 54 lines

What it actually says

Architecture Quality Review

Class-level architecture & code-quality lens for full diffs and module interactions. Graded findings with file:line evidence, project-invariant checks.

When to Use

  • Architecture & code-quality lens since a date, or PeachPDF/CvTheme/GenericCv wave review
  • Multi-layer .NET wave: Domain/Infrastructure/Api + Cosmos/Durable
  • Pre-merge gate needs invariant verdict

Checks

Screaming architecture, clean layering (DomainPurityTests allowlist), composition/DI (AddInfrastructure/AddApiServices + lifetimes), static-classes (pure only), guard clauses, LoggerMessage (nested static partial Log), bounded retry (LlmStepRetry MaxAttempts + short-circuit), partition-by-userId + single-writer (Container in Cosmos namespace only), managed identity, no hardcoded secrets.

Traps (2026-08-11 wave)

  • Sync-over-Async: PeachPdfCvRenderer.cs:33 GetAwaiter().GetResult() bridging sync ICvPdfRenderer.Render to async PdfGenerator.GeneratePdf. Fix: RenderAsync or context-free caller + ConfigureAwait(false).
  • Static I/O: CvHtmlBuilder:339 GetManifestResourceStream in static class violates pure-only rule. Fix: ICvHtmlBuilder injectable.
  • DI Abstraction Bypass: Concrete service instantiating inner components via new Component(innerDefault) in lazy fields or primary constructors instead of accepting DI-registered abstractions (e.g. IFileTypeMatcher). Fix: accept interface (IFileTypeMatcher? matcher = null) in constructor.
  • Property Allocation Leak: Getter re-allocating collections (.ToHashSet()) on every access of an immutable wrapper instead of exposing a pre-computed FrozenSet<T>.

Approach

  1. Load invariants, ledger, design records.
  2. git diff --stat + read changed spots.
  3. Emit MUST-FIX/SHOULD-FIX/NIT with file:line + snippet + impact + fix.
  4. Verdict B+/GOOD etc.

References

  • references/architecture-quality-gate-jsaa.md
  • references/infra-swap-traps.md
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 54 lines · 13 tokens per session scan A 2a224efcb9de

Subscribe to this mod's changes

architecture-quality-review is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 551 once invoked, about $0.0001 per session on Opus 5.5. 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-12-05.

Related

architecture-quality-review compared with skills from other repositories

architecture-quality-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-quality-reviewArasz/ai-raccoonSkill7todayMITA13Claude Code, Codex
analyzing-dotnet-performancedotnet/skillsSkill6.5ktodayMITA64Claude Code
code-review-csharppnp/copilot-promptsSkill9196d agoMITA66Claude Code, Codex
code-qualitywaybarrios/opencode-power-packSkill5625d agoMITA49Claude Code
transformers-jswaybarrios/opencode-power-packSkill5625d agoMITA50Claude Code
de-sloppifycodewithmukesh/dotnet-claude-kitSkill8531mo agoMITA115Claude Code
refactoring-csharpCodeAlive-AI/ai-driven-developmentSkill196todayMITA60Claude Code