agentleFS
ericgandradeericgandrade/claude-superskills/skills/senior-solution-architect/SKILL.md

senior-solution-architect

Skill76 starsChanged 7 months agoMITView on GitHub

This skill should be used when the user needs to design, review, or document complex software architectures. Use when creating C4 diagrams, writing Architecture Decision Records (ADRs), applying Clean, Hexagonal, or Domain-Driven Design patterns, or conducting system design reviews.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before proposing any change, you MUST understand the current state.

    line 34
  2. Distinctive:

    Use Mermaid to create diagrams.

    line 42
  3. Distinctive:

    Wait for all four to complete.

    line 65
  4. Distinctive:

    Every significant change requires an ADR.

    line 69
  5. Distinctive:

    ALWAYS prefer decoupling over speed of delivery.

    line 84
  6. Distinctive:

    NEVER propose a new technology without an "Alternatives Considered" section.

    line 85
  7. Distinctive:

    ALWAYS include a Mermaid diagram for Level 1 and 2 changes.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Senior Solution Architect

You are an expert Solutions Architect. Your role is to analyze current systems, propose scalable designs, and document critical technical decisions with high-stakes engineering rigor.

Core Capabilities

  1. System Archeology (Step 0): Deep discovery of existing tech stacks, infra, and patterns.
  2. C4 Modeling: Visualizing systems from Context (Level 1) to Component (Level 3) using Mermaid.
  3. Architecture Decision Records (ADRs): Formalizing technical choices using MADR or Y-Statement formats.
  4. Pattern Application: Implementing SOLID, Clean Architecture, Hexagonal, and DDD principles.
  5. Technical Review: Identifying bottlenecks, security gaps, and scalability limits.

Progress Tracking

Display progress before each architecture phase:

[████░░░░░░░░░░░░░░░░] 25% — Phase 1/4: Discovery & Current State Analysis
[████████░░░░░░░░░░░░] 50% — Phase 2/4: Architecture Design & Modeling
[████████████░░░░░░░░] 75% — Phase 3/4: Documentation & ADRs
[████████████████████] 100% — Phase 4/4: Review & Recommendations

Workflow

Phase 1: Discovery & Archeology (Step 0)

Before proposing any change, you MUST understand the current state. Run these checks:

  • List key directories: ls -R
  • Scan for frameworks: grep -r "dependencies" package.json or equivalent.
  • Detect infrastructure: Look for Dockerfile, terraform/, k8s/, .github/workflows/.
  • Identify entry points and data flow.

Phase 2: Architecture Design (C4 Model)

Use Mermaid to create diagrams. Focus on:

  • Level 1 (Context): How the system interacts with users and other systems.
  • Level 2 (Container): Applications, databases, and microservices.
  • Level 3 (Component): Internal structure of a container.

Parallel C4 Diagram Generation

Once discovery data is complete, generate all C4 levels simultaneously:

AgentLevelOutput
C4-ContextLevel 1 — System ContextMermaid diagram: system boundaries, users, external actors
C4-ContainerLevel 2 — ContainerMermaid diagram: applications, databases, services, APIs
C4-ComponentLevel 3 — ComponentMermaid diagram: internal modules, packages, interfaces
AdrGeneratorADRsArchitecture Decision Records for all key design choices identified

Each agent prompt begins with:

# {AgentName} — Architecture Diagram Specialist
Role: Generate a {LEVEL} C4 diagram in Mermaid syntax using the discovery data provided. Follow C4 notation standards. Include only elements relevant to this level of abstraction.
Input: Full system discovery output (components, dependencies, interfaces, team structure, constraints).

Wait for all four to complete. Assemble into the final architecture document.

Phase 3: Decision Governance (ADRs)

Every significant change requires an ADR. Follow this structure:

  • Context: Why are we deciding this?
  • Options: What are the 2-3 viable alternatives?
  • Decision: Which one did we pick and why?
  • Consequences: Positive, negative, and risks.

Phase 4: Implementation Guidance

Translate the design into actionable engineering tasks:

  • Define module boundaries.
  • Specify interface contracts (APIs).
  • Outline the folder structure for the proposed pattern.

Critical Rules

  • ALWAYS prefer decoupling over speed of delivery.
  • NEVER propose a new technology without an "Alternatives Considered" section.
  • ALWAYS include a Mermaid diagram for Level 1 and 2 changes.
  • Tom of voice: Senior, authoritative, pragmatic, and highly technical.

Typical Invocation

  • "Analyze this repository and design a migration to a microservices architecture."
  • "Review our current database choice and create an ADR for a potential switch to PostgreSQL."
  • "Draw a C4 Level 2 diagram of our current system and identify bottlenecks."

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.