Skip to content
design logo

/design - Architecture Design

design

Create architecture documentation and ADRs from PRD requirements

SKILL.md

Full skill instructions

/​design - Architecture Design

Create architecture documentation and Architecture Decision Records from requirements.

Purpose

Transform PRD requirements into:

  • System architecture with components and interfaces
  • Data flow and interaction patterns
  • Constraints and risk analysis
  • ADRs for significant decisions

Inputs

  • $ARGUMENTS: PRD path or specific focus area (optional)
  • Default PRD location: docs/​architecture/​PRD.md
  • Existing architecture: docs/​architecture/​ARCHITECTURE.md
  • ${PROJECT_NAME}: Current project context

Outputs

  • Architecture: docs/​architecture/​ARCHITECTURE.md
  • ADRs: docs/​architecture/​adr/​NNN-decision-name.md

Workflow

1. Read Requirements

Load and understand the PRD:

  • Functional requirements define WHAT to build
  • Non-functional requirements define HOW it must perform
  • User stories provide context for design decisions

2. Research Patterns

  • Search for established patterns matching requirements
  • Look up framework/​library documentation
  • Review prior art and alternatives

3. Identify Components

For each major functional area:

  • Define component name and responsibility
  • Specify interface/​API contract
  • List dependencies (internal and external)

4. Design Data Flow

  • Map request/​response flows
  • Identify data transformations
  • Document async/​sync boundaries

5. Analyze Constraints

  • Technical limitations
  • Platform requirements
  • Integration dependencies
  • Performance bounds

6. Assess Risks

RiskLikelihoodImpactMitigation
[Risk description]Low/​Medium/​HighLow/​Medium/​High[Strategy]

7. Document Trade-offs

For significant design choices:

  • What alternatives were considered?
  • Why was this option chosen?
  • What are the consequences?

8. Create ADRs

For each significant decision, create an ADR:

# ADR-NNN: [Decision Title]

**Status**: Proposed | Accepted | Deprecated
**Date**: [date]

## Context
[What is the issue/​situation requiring a decision?]

## Decision
[What is the change/​decision being made?]

## Rationale
[Why was this decision made?]

## Alternatives Considered
1. [Alternative 1]: [Why rejected]
2. [Alternative 2]: [Why rejected]

## Consequences
- [Positive consequence 1]
- [Positive consequence 2]
- [Negative consequence / trade-off]

## Related
- [Link to related ADRs]
- [Link to relevant requirements]

Architecture Template

# [Project Name] Architecture

**Version**: 0.1.0
**Date**: [date]
**Source**: [PRD.md](PRD.md)

---

## Overview
[High-level system diagram or description]

## Components

### [Component Name]
- **Responsibility**: [Single responsibility description]
- **Interface**: [API/​contract definition]
- **Dependencies**: [What it requires]
- **Artifacts**: [What it produces]

## Data Flow
[Sequence or flow diagrams]

## Constraints
- [Technical constraint 1]
- [Platform constraint 2]

## Risks
[Risk table]

## Trade-offs
[Design decision rationale]

## Design Decisions
- [ADR-001](adr/​001-decision.md): [Summary]
- [ADR-002](adr/​002-decision.md): [Summary]

Validation Checklist

  • All FRs have corresponding components
  • All components have clear responsibilities
  • Interfaces are defined between components
  • NFRs are addressed in design
  • Risks are identified with mitigations
  • Significant decisions have ADRs

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View