Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
girijashankarj avatar

Architecture Docs

  • 1 installs
  • 27 repo stars
  • Updated April 25, 2026
  • girijashankarj/cursor-handbook

Workflow for creating and maintaining system architecture documentation with Mermaid diagrams, component docs, data flows, and Architecture Decision Records.

About

Guides creating and maintaining architecture documentation including system overview diagrams, per-component docs, data flows, and ADRs. A developer uses it when documenting system architecture or recording architecture decisions.

  • Produces Mermaid architecture diagrams and per-component documentation
  • Includes ADRs and covers communication patterns and data flow

Architecture Docs by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,366 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Jul 22, 2026 (Skillselion catalog sync)
npx skills add https://github.com/girijashankarj/cursor-handbook --skill architecture-docs

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars27
Last updatedApril 25, 2026
Repositorygirijashankarj/cursor-handbook

What it does

Workflow for creating and maintaining system architecture documentation with Mermaid diagrams, component docs, data flows, and Architecture Decision Records.

Files

SKILL.mdMarkdownGitHub ↗

Skill: Create Architecture Documentation

Trigger

When the user needs to document system architecture or make Architecture Decision Records (ADRs).

Prerequisites

  • [ ] Codebase or design available to analyze
  • [ ] docs/ or docs/architecture/ directory exists (or create it)
  • [ ] Mermaid support in docs (GitHub, MkDocs, etc.)

Steps

Step 1: System Overview

  • [ ] High-level architecture diagram (Mermaid)
  • [ ] List all services/components
  • [ ] Document communication patterns
  • [ ] Document data flow

Step 2: Component Documentation

For each service/component:

  • [ ] Purpose and responsibilities
  • [ ] Technology stack
  • [ ] API contracts (if applicable)
  • [ ] Data stores
  • [ ] Dependencies
  • [ ] Scaling characteristics

Step 3: Architecture Decision Records (ADRs)

For significant decisions:

  • [ ] Title: Short descriptive title
  • [ ] Status: Proposed / Accepted / Deprecated / Superseded
  • [ ] Context: Why this decision is needed
  • [ ] Decision: What was decided
  • [ ] Consequences: Trade-offs and implications

ADR template:

# ADR-{number}: {title}

## Status
{Proposed | Accepted | Deprecated | Superseded by ADR-{n}}

## Context
{What is the issue that we're seeing that is motivating this decision?}

## Decision
{What is the change that we're proposing and/or doing?}

## Consequences
{What becomes easier or harder because of this change?}

Step 4: Data Flow Diagrams

  • [ ] Request flow through the system
  • [ ] Event/message flow
  • [ ] Data pipeline flow
  • [ ] Authentication flow

Step 5: Operational Documentation

  • [ ] Deployment architecture
  • [ ] Monitoring and alerting overview
  • [ ] Disaster recovery plan
  • [ ] Scaling procedures

Completion Checklist

  • [ ] At least one diagram (Mermaid) for system or data flow
  • [ ] ADRs for significant decisions (format, status, context, decision, consequences)
  • [ ] Component list with purpose and tech stack
  • [ ] Operational section (deploy, monitor, scale)

If Step Fails

  • Step 1 (overview): Start with 3–5 boxes; add detail later. Use flowchart LR or flowchart TB for simple flows
  • Step 3 (ADRs): Number format ADR-001; keep each ADR to one decision
  • Step 4 (diagrams): Mermaid syntax: no spaces in node IDs; use A[Label] not A[Label with spaces]

Example

Step 1: flowchart LR with Client -> API -> DB, API -> Cache. Step 3: ADR-001 Use PostgreSQL — Status Accepted, Context: need relational, Decision: PostgreSQL, Consequences: SQL expertise required.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.