polewskm

Analyze Architecture — Development skill for Claude Code

Development community

Deep analysis of a codebase or subsystem, written to ANALYSIS.md.

How to install Analyze Architecture

Installs to ~/.claude/commands/polewskm-project-template-analyze-architecture.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/polewskm/project-template/HEAD/.claude/commands/analyze-architecture.md -o ~/.claude/commands/polewskm-project-template-analyze-architecture.md

Restart Claude Code, or start a new session, for it to be picked up.

What Analyze Architecture does


description: "Deep analysis of a codebase or subsystem, written to ANALYSIS.md" argument-hint: "[Question to answer or area to analyze]" model: opus effort: high disable-model-invocation: true

Analyze the following and write your findings to `ANALYSIS.md` in the repository root. Change no other file.

$ARGUMENTS

Work like a senior engineer joining the project:

  1. Read the entry points, core modules and the code paths relevant to the question. Read code instead of guessing from names. 2

Alternatives in Development

  • How Claude Code Works — Deep dive into Claude Code internals — architecture, agent loop, context engineering, and more 1.9k ★
  • Analyze Codebase To Book — Prompt: Turn Any Codebase Into a Technical Book 1.7k ★
  • Learn Real Claude Code — Deep dive into Claude Code source — 512K lines of industrial-grade TypeScript agent architecture 134 ★

Full documentation available on GitHub

View Source Repository