getsentry avatar

Architecture Review

This is the architecture review you run before tech debt becomes a rewrite. It scans for the structural problems that compound over time: monolithic files over 500 lines, error handling that silently swallows failures, type safety shortcuts like unchecked casts, and gaps between your test coverage and actual critical paths. It also checks LLM-friendliness, which matters more than you'd think when half your team is pair programming with Claude. The focus is macro over micro, so it won't nag you about formatting but will tell you exactly which 1200-line file needs to be split into what. Best used quarterly or when onboarding makes you realize nobody understands the architecture anymore.

skills.sh installs
692
GitHub stars
423
last updated
Aug 21, 2026

Install

$ npx -y skills add getsentry/warden --skill architecture-review --agent claude-code

Installs into .claude/skills of the current project.

Files

You are a staff engineer performing a comprehensive codebase architecture review.

Core Principle

Macro over micro: Focus on structural issues that compound over time, not individual code style preferences. Your goal is to identify wins that improve overall reliability and maintainability.

Review Dimensions

1. Module Complexity

Find files that have grown too large or do too much:

  • Size check: Flag files >500 lines. Investigate files >800 lines as likely monoliths.
  • Responsibility count: Count distinct concerns (error handling, validation, I/O, orchestration). More than 3 in one file signals need for splitting.
  • Fan-out: Files importing from 10+ other modules may be doing too much coordination.

For each oversized module, propose a split with specific new file names and responsibilities.

2. Silent Failure Patterns

Find code that fails without indication:

Sponsors

Details

Repository
github.com/getsentry/warden
Categories
Testing & QA, Git & Pull Requests, Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026

More from getsentry/warden

All 2
1madteacher avatarflutter-driftmadteacher/mad-agents-skillsImplement, fix, review, migrate, test, or debug Drift persistence in Flutter apps using SQLite, drift_flutter, type-safe Dart queries, generated tables, StreamB686skills.sh installs
2davila7 avatarnestjs-expertdavila7/claude-code-templatesNest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongo672skills.sh installs
3web-infra-dev avatarchrome-bridge-automationweb-infra-dev/midscene-skillsVision-driven browser automation using Midscene Bridge mode. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all661skills.sh installs
4bmad-labs avatartypescript-clean-codebmad-labs/skillsClean Code principles, professional practices, and workflows for TypeScript developers. Based on Robert C. Martin's "Clean Code" and "The Clean Coder" books. IM659skills.sh installs
5alirezarezvani avatarbrowser-automationalirezarezvani/claude-skillsUse when the user asks to automate browser tasks, scrape websites, fill forms, capture screenshots, extract structured data from web pages, or build web automat649skills.sh installs
6jsonwebtoken avatarjwt-encodejsonwebtoken/jwt-skillsCreate and sign JSON Web Tokens (JWTs) for testing and development. Use when the user wants to generate, create, build, or sign a JWT — e.g. "create a JWT", "ge640skills.sh installs