architecture-critic
Static code analysis like a senior developer — cyclomatic/cognitive complexity, dead code detection, dependency graph analysis (circular deps, god modules)…
Skill by JansenAnalytics
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jansenanalytics-architecture-critic
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/architecture-critic
What's inside
- Skill name
architecture-critic- Description
- Static code analysis like a senior developer — cyclomatic/cognitive complexity, dead code detection, dependency graph analysis (circular deps, god modules), pattern consistency, error handling audit, code duplication detection. Use during refactors or before shipping.
- License
- MIT
- Instructions
- 61 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- SKILL.md
- complexity.cjs · scripts/
- deadcode.cjs · scripts/
- deps.cjs · scripts/
- duplication.cjs · scripts/
- errors.cjs · scripts/
- patterns.cjs · scripts/
- report.cjs · scripts/
- review.cjs · scripts/
SKILL.md (first lines)
# Architecture Critic
Static code analysis that thinks like a senior developer — complexity, dead code, dependency graphs, patterns, error handling, duplication.
## Quick Start
```bash
# Full review
arch-critic /path/to/project
# Quick review (complexity + dead code only)
arch-critic /path/to/project --quick
# Individual analyzers
node ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/architecture-critic/scripts/complexity.cjs /path/to/project
node ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/architecture-critic/scripts/deadcode.cjs /path/to/project
node ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/architecture-critic/scripts/deps.cjs /path/to/project
node ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/architecture-critic/scripts/patterns.cjs /path/to/project
node ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/architecture-critic/scripts/errors.cjs /path/to/project
node ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/architecture-critic/scripts/duplication.cjs /path/to/project
```
## Scripts
| Script | Purpose | Output |
|--------|---------|--------|
| `complexity.cjs` | Cyclomatic/cognitive complexity, function length, nesting depth | complexity-report.json |
| `deadcode.cjs` | Dead exports, unused variables, unreachable code, tech debt markers | deadcode-report.json |
| `deps.cjs` | Import graph, circular deps, god modules, coupling metrics | dependency-graph.json |
| `patterns.cjs` | Code style consistency (quotes, semis, naming, async patterns) | patterns-report.json |
| `errors.cjs` | Error handling audit (empty catches, unhandled promises) | error-handling-report.json |
| `duplication.cjs` | Duplicate code blocks via normalized hashing | duplication-report.json |
| `review.cjs` | Orchestrator — runs all analyzers | All reports + combined |
| `report.cjs` | Report generator — health score 0-100, top refactors | architecture-review.json/md |
## Options
```
--quick Complexity + dead code only
--full All analyzers (default)
--format md|json Output format (default: json)
--output-dir DIR Where to write reports
--max-complexity N Cyclomatic complexity threshold (default: 10)
--ignore PATTERN Glob pattern to ignore (repeatable)
--block-size N Duplication block size in lines (default: 6)
```
## Health Score
Weighted 0-100 across all categories. Grade: A (90+), B (75+), C (60+), D (40+), F (<40).
## Languages
- JavaScript/TypeScript (.js, .cjs, .mjs, .ts, .tsx, .jsx)
- Python (.py) — complexity analysis only
## Dependencies
None. Only Node.js built-in modules (fs, path, crypto, child_process).From JansenAnalytics/claudex, MIT.
More from JansenAnalytics/claudex
- 0.534score
budget
JansenAnalytics
Estimate and rank what is consuming the context window — CLAUDE.md, MEMORY.md, USER.md, the 162 auto-loaded skill descriptions (ranked heaviest-first), and…
SkillCFreshness: C★ 5Claude Code +9 - 0.534score
api-critic
JansenAnalytics
Autonomous API testing and evaluation.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
memory-search
JansenAnalytics
Semantic memory search across all agent memories and conversation history.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
adr-manager
JansenAnalytics
Record and retrieve Architecture Decision Records — log a decision's context, options, rationale, and tradeoffs, then list/search them.
SkillCFreshness: C★ 5Claude Code +9 - 0.528score
weather
JansenAnalytics
Get current weather and forecasts.
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
a11y-audit
JansenAnalytics
Accessibility auditing: WCAG compliance checking, contrast ratios, ARIA labels, keyboard navigation, semantic HTML, screen reader compatibility.
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
backup-restore
JansenAnalytics
Automated backup strategies: database dumps, file snapshots, incremental backups, verification, disaster recovery.
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
api-tester
JansenAnalytics
Systematic REST and GraphQL API endpoint testing: happy path, error cases, auth flows, rate limits, schema validation.
SkillCFreshness: C★ 5Claude Code +9 - 0.523score
arch-diagram
JansenAnalytics
Generate architecture diagrams from codebase analysis: Mermaid, PlantUML, or ASCII.
SkillCFreshness: C★ 5Claude Code +9 - 0.519score
canvas
JansenAnalytics
Display HTML content on connected OpenClaw nodes (Mac app, iOS, Android).
SkillCFreshness: C★ 5Claude Code +9 - 0.519score
calendar-manager
JansenAnalytics
Read and manage Google Calendar events: list upcoming, create events, check availability, send reminders.
SkillCFreshness: C★ 5Claude Code +9 - 0.504score
bluebubbles
JansenAnalytics
Use when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration).
SkillCFreshness: C★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 3, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/JansenAnalytics/claudex
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from JansenAnalytics
- 0.534score
api-critic
JansenAnalytics
Autonomous API testing and evaluation.
SkillCFreshness: C★ 5Claude Code +9 - 0.534score
budget
JansenAnalytics
Estimate and rank what is consuming the context window — CLAUDE.md, MEMORY.md, USER.md, the 162 auto-loaded skill descriptions (ranked heaviest-first), and…
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
memory-search
JansenAnalytics
Semantic memory search across all agent memories and conversation history.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
adr-manager
JansenAnalytics
Record and retrieve Architecture Decision Records — log a decision's context, options, rationale, and tradeoffs, then list/search them.
SkillCFreshness: C★ 5Claude Code +9 - 0.528score
weather
JansenAnalytics
Get current weather and forecasts.
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
a11y-audit
JansenAnalytics
Accessibility auditing: WCAG compliance checking, contrast ratios, ARIA labels, keyboard navigation, semantic HTML, screen reader compatibility.
SkillCFreshness: C★ 5Claude Code +9
Cite this page
architecture-critic skill. Agent Mart. https://agentmart.dev/skills/jansenanalytics-architecture-critic (last updated 2026-10-24)