Architecture Review logo

Architecture Review

Community
Firstp1ck
architecture-review

Agents should invoke this skill for architecture reviews, module boundaries, dependency direction, coupling/cohesion, SOLID concerns, system design trade-offs, layering, service boundaries, or design decisions before implementation.

Overview

PublisherFirstp1ck
Repositorypi-coding-agent-forge
Skill namearchitecture-review
Stars
93
Forks
22
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Firstp1ck on GitHub. Read the source before you install it.

Installation

Install the Architecture Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-skill-architecture-review/skills/architecture-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge.git /tmp/pi-coding-agent-forge
mkdir -p .claude/skills
cp -r /tmp/pi-coding-agent-forge/pi-skill-architecture-review/skills/architecture-review .claude/skills/architecture-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Architecture Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Architecture Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Architecture Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Architecture Review

Structured architecture review for the user's projects. Evaluates module boundaries, dependency graphs, coupling/cohesion, and adherence to design principles.

Quick Start

Run a Quick Architecture Check

For a single module or component:

  1. Map the structure: What modules/components exist? How are they organized?
  2. Trace dependencies: Who depends on whom? Are there cycles?
  3. Assess coupling: How tightly are modules connected? Can you change one without breaking others?
  4. Evaluate cohesion: Does each module have a single, clear responsibility?
  5. Recommend: Prioritized findings with rationale

Architecture Review Checklist

Module Boundaries

  • Each module has a clear, single responsibility
  • Public APIs are minimal — expose only what's needed
  • Internal implementation details are hidden (encapsulation)
  • Module names accurately describe their responsibility
  • No "God module" that does everything

Dependency Analysis

  • Dependencies flow in one direction (no cycles)
  • High-level modules don't depend on low-level implementation details
  • External dependencies are isolated behind abstractions
  • Dependency count per module is reasonable (< 7 direct deps as guideline)

Coupling Assessment

Coupling TypeDescriptionSeverity
Content couplingModule directly accesses internals of anotherCritical
Common couplingModules share global mutable stateHigh
Control couplingModule controls flow of another via flagsMedium
Stamp couplingModules share complex data structuresLow-Medium
Data couplingModules share only necessary dataAcceptable
Message couplingModules communicate via messages/eventsBest

Cohesion Assessment

Cohesion TypeDescriptionQuality
CoincidentalElements grouped arbitrarilyPoor
LogicalElements grouped by category, not functionPoor
TemporalElements grouped by when they executeFair
ProceduralElements grouped by execution orderFair
CommunicationalElements operate on same dataGood
SequentialOutput of one is input of nextGood
FunctionalAll elements contribute to a single taskBest

Language-Specific Review

Rust Module Trees

bash
# Visualize module structure
cargo tree --depth 1

# Check for circular dependencies
cargo tree --duplicates

# Analyze dependency weight
cargo tree --edges features

Key checks:

  • mod.rs vs named modules — prefer named modules (module_name.rs) over mod.rs for clarity
  • pub vs pub(crate) — minimize public surface, prefer pub(crate) for workspace-internal APIs
  • Trait boundaries — are traits cohesive? Does each trait represent one capability?
  • Error types — one error enum per module, or shared error type with variants per module?
  • Re-exports — pub use in lib.rs should form a clean public API

React Component Hierarchies

bash
# Analyze component tree (manual or via React DevTools)
# Check for deep prop drilling
# Verify state ownership lives at the right level

Key checks:

  • Component depth — deeply nested components suggest missing abstractions
  • Prop drilling — if props pass through 3+ levels, consider context or composition
  • State colocation — state should live as close to where it's used as possible
  • Component responsibility — one component, one job. If it has "and" in its description, split it
  • Hook composition — custom hooks should encapsulate one behavior

Django App Structure

bash
# List apps and their models
python manage.py showmigrations

# Check for circular imports
python -c "import myapp"  # Will error on circular imports

Key checks:

  • App boundaries — each Django app should be independently understandable
  • Fat models vs fat views — prefer logic in models/services, not views
  • Circular imports — usually a sign of misplaced boundaries
  • Manager vs queryset methods — use managers for creation, querysets for filtering
  • Signal usage — signals obscure control flow; prefer explicit calls for important logic

SOLID Principles Check

PrincipleQuestionRed Flag
Single ResponsibilityDoes this module have one reason to change?Module changes for unrelated features
Open/ClosedCan you extend behavior without modifying existing code?Every new feature requires editing core modules
Liskov SubstitutionCan subtypes replace their base type without breaking things?Subclasses override methods with incompatible behavior
Interface SegregationAre interfaces focused and minimal?Implementors must stub out methods they don't need
Dependency InversionDo high-level modules depend on abstractions, not details?Business logic imports database drivers directly

Review Output Template

When delivering an architecture review, use this structure:

markdown
## Architecture Review: [Project/Module]

**Date:** YYYY-MM-DD
**Reviewer:** Arc
**Scope:** [What was reviewed]

### Summary
[1-2 sentences: overall health and key takeaway]

### Module Map
[Describe the current structure — list modules, their responsibilities, and key relationships]

### Findings

| # | Severity | Area | Finding | Recommendation |
|---|---|---|---|---|
| 1 | High | Coupling | Module A directly accesses B internals | Extract interface, use dependency injection |

### Positive Observations
[What's already well-designed]

### Dependency Graph Notes
[Key observations about dependency flow]

### Recommendations
1. [Prioritized by impact and effort]

### Tech Debt Identified
[New items for the debt registry, if any]

Integration

  • Data: Architecture decisions logged to MEMORY.md
  • Cross-reference: Check ../workspace-security/MEMORY.md for security-relevant architecture notes
  • Security flag: If architectural issues create security concerns (missing trust boundaries, shared state across security domains), flag to Zero

Arc skill — Architecture review and design assessment

Frequently asked questions

What does the Architecture Review AI skill do?

Agents should invoke this skill for architecture reviews, module boundaries, dependency direction, coupling/cohesion, SOLID concerns, system design trade-offs, layering, service boundaries, or design decisions before implementation.

Why use Architecture Review on TypingMind?

Because you install it once and use it with any model. Architecture Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Architecture Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-skill-architecture-review/skills/architecture-review. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Architecture Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Architecture Review?

As many as you like. As long as a model supports skills, you can use Architecture Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Architecture Review AI skill free?

Yes. It is published on GitHub by Firstp1ck under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇