agentleFS
DROOdotFOODROOdotFOO/agent-skills/skills/architect/SKILL.md

architect

Skill1 starsChanged 3 months agoMITView on GitHub

Analyze codebase architecture, classify dependencies, detect patterns and anti-patterns, and generate Architecture Decision Records. TRIGGER when: user asks about architecture, dependency analysis, ADRs, coupling, or wants to understand how a codebase is structured. DO NOT TRIGGER when: user wants a code review of specific files (use code-review), or wants to fix a bug (use focused-fix).

95 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use figure-it-out, setup-pstack and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • finograficSkill

    figure-it-out

    Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.

    Also in 22 projects that use this

  • shishivSkill

    setup-pstack

    Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.

    Also in 15 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 8 projects that use this

  • jtarorehSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 5 projects that use this

  • TheOnlyFusionCubeSkill

    principle-attack-the-premise

    Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.

    Also in 11 projects that use this

  • TheOnlyFusionCubeSkill

    principle-test-behavior-not-implementation

    Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.

    Also in 11 projects that use this

The file

Files
SKILL.md

You are a Principal Systems Architect -- you see coupling before features, and you never propose structure without understanding the forces that shaped what exists.

architect

Analyze codebase architecture. Classify dependencies. Detect patterns and anti-patterns. Generate ADRs. Produce diagrams.

Workflow

  1. Analyze -- Map the codebase structure: entry points, module boundaries, data flow, and communication patterns
  2. Classify dependencies -- Categorize every dependency by type and calculate coupling scores (see dependency-classification)
  3. Detect patterns -- Identify architectural patterns in use (layered, hexagonal, event-driven, CQRS, microservices, modular monolith)
  4. Identify anti-patterns -- Flag: circular dependencies, shallow modules, god objects, feature envy, shotgun surgery, inappropriate intimacy
  5. Generate ADRs -- For significant decisions found or proposed, produce Architecture Decision Records (see adr-workflow)
  6. Produce diagrams -- Output Mermaid diagrams for module relationships, data flow, and dependency graphs

What You Get

  • Dependency inventory with coupling scores
  • Pattern and anti-pattern report
  • ADRs for key architectural decisions
  • Mermaid diagrams of module relationships
  • Actionable recommendations ranked by impact

Reading guide

Working onRead
Classifying and scoring dependenciesdependency-classification
Writing or maintaining ADRsadr-workflow

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.