Architecture Optimization Templates

Architecture optimization artifact templates

by wondelai · MIT license · ★ 2,235 on GitHub · updated Sep 10

Architecture optimization artifact templates cover

Skeletons for every docs/ file this journey writes.

# architecture-optimization artifact templates

Skeletons for every docs/ file this journey writes. Read the file before writing: if it is missing, create it from the full skeleton below (all section headings), then fill only the sections your phase names; if it exists, extend it — add or update your sections and preserve everyone else's. A journey that starts in a project with no `docs/` folder creates several of these from scratch, which is the normal case for this skill.

## Tracker: docs/ARCHITECTURE-OPTIMIZATION-PLAN.md

Created on the first run (Intake). Never shared with another journey.

```markdown
# Architecture Optimization Plan

## Context
Intake answers, date started, hot paths in scope.
Mode: skills-installed | fallback (Briefs + references/methods.md) — set at the first phase, so a
resumed session knows whether earlier artifacts are skill-grade or Brief-grade.

## Phase Status
| Phase | Skill | Status | Artifact | Date |

Overview

Skeletons for every docs/ file this journey writes. Read the file before writing: if it is missing, create it from the full skeleton below (all section headings), then fill only the sections your phase names; if it exists, extend it — add or update your sections and preserve everyone else's. A journey that starts in a project with no docs/ folder creates several of these from scratch, which is the normal case for this skill.

Manual install (npx, ZIP)
Claude Codenpx skills add wondelai/skills --skill architecture-optimization-artifact-templates -g -a claude-code
Claude.ai / desktopZip the folder and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • artifact-templates.md4.6 KB
Read artifact-templates.md here
wondelai/main1 file
artifact-templates.md
Show the full text158 lines

architecture-optimization artifact templates

Skeletons for every docs/ file this journey writes. Read the file before writing: if it is missing, create it from the full skeleton below (all section headings), then fill only the sections your phase names; if it exists, extend it — add or update your sections and preserve everyone else's. A journey that starts in a project with no docs/ folder creates several of these from scratch, which is the normal case for this skill.

Tracker: docs/ARCHITECTURE-OPTIMIZATION-PLAN.md

Created on the first run (Intake). Never shared with another journey.

# Architecture Optimization Plan

## Context
Intake answers, date started, hot paths in scope.
Mode: skills-installed | fallback (Briefs + references/methods.md) — set at the first phase, so a
resumed session knows whether earlier artifacts are skill-grade or Brief-grade.

## Phase Status
| Phase | Skill | Status | Artifact | Date |
|---|---|---|---|---|
| 1 | working-with-legacy-code | pending | TESTING.md, TECH-DEBT.md, PERFORMANCE.md | |
| 2 | clean-architecture | pending | ARCHITECTURE.md | |
| 3 | software-design-philosophy | pending | TECH-DEBT.md | |
| 4 | refactoring-patterns | pending | TECH-DEBT.md, TESTING.md | |
| 5 | system-design | pending | PERFORMANCE.md, ARCHITECTURE.md | |
| 6 | ddia-systems | pending | ARCHITECTURE.md, PERFORMANCE.md | |
| 7 | release-it | pending | RELIABILITY.md | |
| 8 | pragmatic-programmer | pending | PERFORMANCE.md, TECH-DEBT.md, TESTING.md | |
Statuses: pending · in-progress · awaiting-evidence · done · deferred: <reason> · skipped: <reason>
A phase parked at `awaiting-evidence` carries a Next Actions row naming the evidence owed, its owner,
and the date — otherwise the next session cannot tell what it is waiting for.

## Key Decisions
| Date | Phase | Decision | Rationale |
|---|---|---|---|

## Next Actions
- [ ] action (owner, due)

docs/PERFORMANCE.md

Measured performance state — baselines, budgets, findings, and the before/after ledger. Creates: architecture-optimization.

# Performance

## Baselines & Budgets
| Metric (p50/p95, throughput, cost) | Baseline (date) | Budget | Gate |
|---|---|---|---|

## Load Reality
Measured QPS average/peak, data volumes, growth rate. This is the single source for load numbers —
ARCHITECTURE.md `## System Context` cites it rather than repeating them.

## Profile Findings
| Hotspot | Evidence (profiler/APM) | Suspected cause | Fix | Status |
|---|---|---|---|---|

## Optimization Ledger
| Change | Before | After | Verdict (keep/revert) | Date |
|---|---|---|---|---|

docs/TESTING.md

The safety net — what behavior is pinned, where the gaps are.

# Testing

## Test Strategy
Pyramid, tooling, what "green" gates.

## Safety Net Map
| Module | Pinned behaviors | Test files | Gaps |
|---|---|---|---|

## Characterization Backlog
- [ ] module (risk, priority)

## CI Gates

docs/TECH-DEBT.md

The debt ledger — single queue for all code journeys.

# Technical Debt

## Debt Ledger
| Item | Location | Type | Risk | Effort | Priority | Status |
|---|---|---|---|---|---|---|

## Smell Inventory
| Smell | Location | Refactoring | Status |
|---|---|---|---|

## Sprout / Wrap Register
Code added beside legacy (to fold back in later).

## Debt Budget & Broken-Windows Policy
Time per iteration; what gets fixed now vs boarded up with a ticket.

## Adopted Conventions

docs/ARCHITECTURE.md

System structure and decisions — includes domain model and data decisions (no separate DATA.md or DOMAIN.md).

# Architecture

## System Context
What the system does, key integrations, load reality (cite PERFORMANCE.md `## Load Reality`).

## Layer Map & Dependency Rule
Layers, what depends on what, current violations.
| Violation | Location | Fix | Status |
|---|---|---|---|

## Bounded Contexts & Context Map
Contexts, relationships, anti-corruption layers.

## Domain Glossary (Ubiquitous Language)
| Term | Meaning | Code name |
|---|---|---|

## Data & Storage Decisions
Data models, storage engines, isolation levels, replication, system-of-record vs derived data.

## Decision Log
| Date | Decision | Why | Alternatives rejected |
|---|---|---|---|

docs/RELIABILITY.md

Production hardening status.

# Reliability

## Integration-Point Audit
| Dependency | Timeout | Circuit breaker | Bulkhead | Retry policy | Status |
|---|---|---|---|---|---|

## Query & Resource Findings
Unbounded result sets, missing LIMITs/pagination, blocked threads.

## Health Checks & Metrics
Deep health checks · RED metrics · symptom-based alerts.

## Deploy vs Release
Feature flags, expand-contract migrations, rollback plan.
1# architecture-optimization artifact templates
2 
3Skeletons for every docs/ file this journey writes. Read the file before writing: if it is missing, create it from the full skeleton below (all section headings), then fill only the sections your phase names; if it exists, extend it — add or update your sections and preserve everyone else's. A journey that starts in a project with no `docs/` folder creates several of these from scratch, which is the normal case for this skill.
4 
5## Tracker: docs/ARCHITECTURE-OPTIMIZATION-PLAN.md
6 
7Created on the first run (Intake). Never shared with another journey.
8 
9```markdown
10# Architecture Optimization Plan
11 
12## Context
13Intake answers, date started, hot paths in scope.
14Mode: skills-installed | fallback (Briefs + references/methods.md) — set at the first phase, so a
15resumed session knows whether earlier artifacts are skill-grade or Brief-grade.
16 
17## Phase Status
18| Phase | Skill | Status | Artifact | Date |
19|---|---|---|---|---|
20| 1 | working-with-legacy-code | pending | TESTING.md, TECH-DEBT.md, PERFORMANCE.md | |
21| 2 | clean-architecture | pending | ARCHITECTURE.md | |
22| 3 | software-design-philosophy | pending | TECH-DEBT.md | |
23| 4 | refactoring-patterns | pending | TECH-DEBT.md, TESTING.md | |
24| 5 | system-design | pending | PERFORMANCE.md, ARCHITECTURE.md | |
25| 6 | ddia-systems | pending | ARCHITECTURE.md, PERFORMANCE.md | |
26| 7 | release-it | pending | RELIABILITY.md | |
27| 8 | pragmatic-programmer | pending | PERFORMANCE.md, TECH-DEBT.md, TESTING.md | |
28Statuses: pending · in-progress · awaiting-evidence · done · deferred: <reason> · skipped: <reason>
29A phase parked at `awaiting-evidence` carries a Next Actions row naming the evidence owed, its owner,
30and the date — otherwise the next session cannot tell what it is waiting for.
31 
32## Key Decisions
33| Date | Phase | Decision | Rationale |
34|---|---|---|---|
35 
36## Next Actions
37- [ ] action (owner, due)
38```
39 
40## docs/PERFORMANCE.md
41 
42Measured performance state — baselines, budgets, findings, and the before/after ledger. Creates: architecture-optimization.
43 
44```markdown
45# Performance
46 
47## Baselines & Budgets
48| Metric (p50/p95, throughput, cost) | Baseline (date) | Budget | Gate |
49|---|---|---|---|
50 
51## Load Reality
52Measured QPS average/peak, data volumes, growth rate. This is the single source for load numbers —
53ARCHITECTURE.md `## System Context` cites it rather than repeating them.
54 
55## Profile Findings
56| Hotspot | Evidence (profiler/APM) | Suspected cause | Fix | Status |
57|---|---|---|---|---|
58 
59## Optimization Ledger
60| Change | Before | After | Verdict (keep/revert) | Date |
61|---|---|---|---|---|
62```
63 
64## docs/TESTING.md
65 
66The safety net — what behavior is pinned, where the gaps are.
67 
68```markdown
69# Testing
70 
71## Test Strategy
72Pyramid, tooling, what "green" gates.
73 
74## Safety Net Map
75| Module | Pinned behaviors | Test files | Gaps |
76|---|---|---|---|
77 
78## Characterization Backlog
79- [ ] module (risk, priority)
80 
81## CI Gates
82```
83 
84## docs/TECH-DEBT.md
85 
86The debt ledger — single queue for all code journeys.
87 
88```markdown
89# Technical Debt
90 
91## Debt Ledger
92| Item | Location | Type | Risk | Effort | Priority | Status |
93|---|---|---|---|---|---|---|
94 
95## Smell Inventory
96| Smell | Location | Refactoring | Status |
97|---|---|---|---|
98 
99## Sprout / Wrap Register
100Code added beside legacy (to fold back in later).
101 
102## Debt Budget & Broken-Windows Policy
103Time per iteration; what gets fixed now vs boarded up with a ticket.
104 
105## Adopted Conventions
106```
107 
108## docs/ARCHITECTURE.md
109 
110System structure and decisions — includes domain model and data decisions (no separate DATA.md or DOMAIN.md).
111 
112```markdown
113# Architecture
114 
115## System Context
116What the system does, key integrations, load reality (cite PERFORMANCE.md `## Load Reality`).
117 
118## Layer Map & Dependency Rule
119Layers, what depends on what, current violations.
120| Violation | Location | Fix | Status |
121|---|---|---|---|
122 
123## Bounded Contexts & Context Map
124Contexts, relationships, anti-corruption layers.
125 
126## Domain Glossary (Ubiquitous Language)
127| Term | Meaning | Code name |
128|---|---|---|
129 
130## Data & Storage Decisions
131Data models, storage engines, isolation levels, replication, system-of-record vs derived data.
132 
133## Decision Log
134| Date | Decision | Why | Alternatives rejected |
135|---|---|---|---|
136```
137 
138## docs/RELIABILITY.md
139 
140Production hardening status.
141 
142```markdown
143# Reliability
144 
145## Integration-Point Audit
146| Dependency | Timeout | Circuit breaker | Bulkhead | Retry policy | Status |
147|---|---|---|---|---|---|
148 
149## Query & Resource Findings
150Unbounded result sets, missing LIMITs/pagination, blocked threads.
151 
152## Health Checks & Metrics
153Deep health checks · RED metrics · symptom-based alerts.
154 
155## Deploy vs Release
156Feature flags, expand-contract migrations, rollback plan.
157```
158 
View all files on GitHub →

Details

Updated
Sep 10, 2026
License
MIT
Stars on the repo
★ 2,235
Checked
Source
wondelai/skills ↗
Creator
wondelai · 319 listings
View creator

Similar skills

See all →
SkillCustom Diagram Designercathrynlavery/diagram-design · by cathrynlaveryCreate branded architecture, architecture delta, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, treemap and marimekko, heatmap, bar and dumbbell, waterfall, line (slopegraph, ridgeline, streamgraph, bump), Gantt and scatter charts (bubble, beeswarm), high-level, process, medallion, data flow, DP integration, DP security matrix, Sankey, fishbone, Wardley map, kanban, user journey, deployment, dependency graph, UML class, story map, or database schema diagrams as HTML/SVG/PNG, with .drawio, Mermaid, and .excalidraw import, plus lifecycle phase maps, block decomposition trees, and onboarding guidance.★ 43.2k GitHub starsSkillArchitecture Pattern Reviewerpascalorg/editor · by pascalorgReview a PR against the Pascal architectural rules — package boundaries (core/viewer/editor/nodes), the registry-driven composition model (def.geometry / def.renderer / def.system), legacy-dispatch regressions, the slots + world-scale-UV convention for new nodes/geometry, hook hygiene (useEditor/useScene/useViewer), and selector performance. Use when the user asks to review a PR, audit a branch, or check that changes respect the codebase's architecture.★ 24.6k GitHub starsSkillArchitecture Diagram CreatorAgents365-ai/drawio-skill · by Agents365-aiCreate and edit draw.io/diagrams.net diagrams as editable `.drawio` files. Covers architecture, UML/ERD/sequence, BPMN, network, and swimlane views authored from a description or converted from code, IaC, SQL, and API schemas, plus sync, query, test, review, export, and publish of existing diagrams. Use when the user asks for draw.io/diagrams.net or an editable diagram; prefer Mermaid/PlantUML when diagrams-as-code is enough.★ 9.8k GitHub starsSkillArchitecture Diagram GeneratorCocoon-AI/architecture-diagram-generator · by Cocoon-AICreate polished dark-themed architecture diagrams as self-contained HTML+SVG files. Use when the user asks for system, infrastructure, cloud, security, or network topology diagrams.★ 7.4k GitHub starsSkillLLM Knowledge DistillationAr9av/obsidian-wiki · by Ar9avThe foundational knowledge distillation pattern for building and maintaining an AI-powered Obsidian wiki. Based on Andrej Karpathy's LLM Wiki architecture. Use this skill whenever the user wants to understand the wiki pattern, set up a new knowledge base, or needs guidance on the three-layer architecture (raw sources → wiki → schema). Also use when discussing knowledge management strategy, wiki structure decisions, or how to organize distilled knowledge. This is the "theory" skill — other skills handle specific operations (ingesting, querying, linting).★ 3.5k GitHub starsSkillSoftware Design Philosophywondelai/skills · by wondelaiManage software complexity through deep modules, information hiding, and strategic programming. Use when the user mentions "module design", "API too complex", "shallow class", "complexity budget", "strategic vs tactical", "deep module", "information leakage", "pass-through method", "this code is over-engineered", or "simplify this design". Also trigger when reviewing an interface for simplicity, evaluating whether an abstraction is pulling its weight, deciding whether a comment is worth writing, or choosing between general-purpose and special-purpose approaches. Covers deep vs shallow modules, red flags for complexity, and comments as design documentation. For code quality, see clean-code. For architecture boundaries, see clean-architecture.★ 2.2k GitHub stars

More from wondelai

SkillSoftware Design Philosophywondelai/skills · by wondelaiManage software complexity through deep modules, information hiding, and strategic programming. Use when the user mentions "module design", "API too complex", "shallow class", "complexity budget", "strategic vs tactical", "deep module", "information leakage", "pass-through method", "this code is over-engineered", or "simplify this design". Also trigger when reviewing an interface for simplicity, evaluating whether an abstraction is pulling its weight, deciding whether a comment is worth writing, or choosing between general-purpose and special-purpose approaches. Covers deep vs shallow modules, red flags for complexity, and comments as design documentation. For code quality, see clean-code. For architecture boundaries, see clean-architecture.★ 2.2k GitHub starsSkillActionable Metrics Guidewondelai/skills · by wondelaiMetrics are the language of validated learning. The wrong metrics create the illusion of progress while the startup drifts toward failure.…★ 2.2k GitHub starsSkillAdvertising Mediawondelai/skills · by wondelaiAdvertising media is the vehicle that carries your message to your target market. Choosing the right media is not about what is trendy — it…★ 2.2k GitHub starsSkillAffordance Designwondelai/skills · by wondelaiAn affordance is a relationship between an object and a person that determines how the object could possibly be used. A chair affords…★ 2.2k GitHub starsSkillLean UX in Agile Teamswondelai/skills · by wondelaiLean UX was designed to work inside Agile development teams, not alongside them. The central mechanism is dual-track agile, where a…★ 2.2k GitHub starsSkillAMP Framework Practitionerwondelai/skills · by wondelaiThis reference translates the AMP framework from theory into practice across six domains: product gamification, team management,…★ 2.2k GitHub stars