Skip to content
Back to skills

Architecture Review

ASecurity

Reviews the system architecture for structural issues, dependency cycles, layer violations, scalability concerns, and single points of failure. Use for periodic health checks or before major new features.

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 28, 2026
ai-agentsgobashnodegitapidatabasefrontendsecurity

Works with

  • api

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add viknesh20-20/claude-code-tool-kit --skill architecture-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Architecture Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Architecture Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/viknesh20-20-architecture-review/badge)](https://www.skillsdirectory.com/skills/viknesh20-20-architecture-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: architecture-review
description: "Reviews the system architecture for structural issues, dependency cycles, layer violations, scalability concerns, and single points of failure. Use for periodic health checks or before major new features."
argument-hint: "[component, module, or 'full' for entire project]"
allowed-tools: Read, Grep, Glob, Bash
---

# Architecture Review

## Project Structure
!`find . -type f -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/vendor/*" -not -path "*/__pycache__/*" -not -path "*/target/*" -not -path "*/bin/*" -not -path "*/obj/*" -not -path "*/.next/*" -not -path "*/dist/*" -not -path "*/build/*" 2>/dev/null | head -80`

## Directory Layout
!`tree -L 3 -I "node_modules|.git|vendor|__pycache__|target|bin|obj|.next|dist|build" 2>/dev/null || find . -type d -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/vendor/*" -maxdepth 3 2>/dev/null`

## Package/Module Config
!`cat package.json go.mod Cargo.toml pyproject.toml requirements.txt *.csproj pom.xml 2>/dev/null | head -60`

---

## Review Areas

### 1. Project Structure & Organization
- Is the directory layout clear and consistent?
- Does it follow established conventions for the stack? (e.g., src/, app/, lib/, pkg/)
- Are related files co-located or scattered?
- Is there a clear entry point?

### 2. Dependency Architecture
- Map the dependency graph between major modules/packages
- Identify **circular dependencies** — modules that import each other
- Check for **layer violations** — e.g., presentation layer importing directly from data layer
- Look for **god modules** — modules that everything depends on
- Assess coupling: can modules be changed independently?

### 3. Separation of Concerns
- Is business logic separated from framework/transport code?
- Are side effects (I/O, network, database) isolated at boundaries?
- Is configuration separated from code?
- Are there clear interfaces between layers?

### 4. Scalability Considerations
- Stateless vs stateful components — which components hold state?
- Are there bottlenecks that would fail under load?
- Database query patterns — are they efficient at scale?
- Caching strategy — what is cached, where, and when invalidated?
- Background job handling — how are long-running tasks managed?

### 5. Reliability & Resilience
- **Single points of failure**: What happens if any component goes down?
- **Error boundaries**: Where do errors propagate, and are they caught?
- **Retry logic**: For external service calls, is there retry with backoff?
- **Graceful degradation**: Does the system handle partial failures?
- **Health checks**: Are there endpoints or mechanisms to monitor health?

### 6. Security Architecture
- Authentication and authorization boundaries
- Where is input validation enforced?
- How are secrets managed?
- API rate limiting and abuse prevention

---

## Output Format

### Architecture Diagram (ASCII)
```
┌─────────┐     ┌─────────┐     ┌──────────┐
│ Frontend │────▶│   API   │────▶│ Database │
└─────────┘     └─────────┘     └──────────┘
                     │
                     ▼
               ┌───────────┐
               │  External  │
               │  Services  │
               └───────────┘
```

### Findings Table
| # | Area | Finding | Severity | Recommendation |
|---|------|---------|----------|----------------|

### Top Recommendations
Prioritized list of the most impactful architectural improvements.

### Overall Health
Rate: Healthy / Needs Attention / At Risk — with reasoning.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…