About software-architecture
A skill for making system-level architecture decisions and documenting their evidence, tradeoffs, and follow-up ownership. It is aimed at architecture decision-makers and reviewers, with a structured workflow spanning quality scenarios, boundaries, runtime behavior, verification, and evolution.
Key features
- 01明确决策驱动因素与约束
- 02比较架构方案和权衡
- 03分析边界、耦合与所有权
- 04定义分布式运行及故障行为
- 05记录验证方式与演进计划
Use cases
- 01制定系统级架构决策
- 02评审架构方案及其权衡
- 03规划分布式工作流和故障处理
- 04安排演进步骤及专业团队交接
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ magnus919/ agent-skills --skill software-architectureAfter installing, type/software-architecturein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
README.mdevals/evals.jsonreferences/architecture-characteristics-and-tradeoffs.mdarchitecture-practice-and-facilitation.mdcoupling-modularity-and-data-ownership.mddistributed-workflows-and-consistency.mdevolution-fitness-functions-and-drift.mdmigration-and-coexistence.mdsource-index.mdstyles-topologies-and-granularity.mdtemplates/architecture-design-brief.mdarchitecture-review.mdtradeoff-record.mdDetails
From the project READMESoftware Architecture
Use this skill to make system-level design decisions and leave an inspectable path from drivers to evidence. It owns the architecture decision workflow, not the implementation of any subsystem.
Workflow
- Frame the decision. Establish the desired outcome, stakeholders, constraints, decision horizon, reversibility, affected systems, and evidence gaps. Do not invent scale, regulatory, latency, or ownership facts.
- Turn qualities into scenarios. Name the architecture characteristics that matter, express each as an observable scenario, prioritize them, and expose conflicts. Load
references/architecture-characteristics-and-tradeoffs.md. - Choose boundaries and shape. Compare styles, topology, and deployment granularity against the scenarios and team operating capacity. Load
references/styles-topologies-and-granularity.md. - Test ownership and coupling. Identify policy, data, change, runtime, and team boundaries. Treat a service split as a hypothesis, not a default. Load
references/coupling-modularity-and-data-ownership.md. - Make runtime behavior explicit. For asynchronous or distributed flows, specify authority, consistency, ordering, retries, duplicates, timeouts, partial failure, recovery, and reconciliation. Load
references/distributed-workflows-and-consistency.md. - Record and verify. Capture the decision and rejected alternatives in
templates/architecture-design-brief.mdandtemplates/tradeoff-record.md; usetemplates/architecture-review.mdfor challenge and sign-off. Define fitness evidence and drift response withreferences/evolution-fitness-functions-and-drift.md. - Plan change without hiding execution ownership. Identify evolutionary slices, coexistence assumptions, and handoff conditions. Load
references/migration-and-coexistence.md; route an approved transition tomigration-engineering. - Facilitate proportionately. Match review depth to blast radius, irreversibility, uncertainty, and cross-team impact. Load
references/architecture-practice-and-facilitation.md.
Output Contract
Produce an architecture decision brief or review that includes drivers, stakeholders, constraints, prioritized scenarios, candidate options, explicit tradeoffs, boundaries and ownership, runtime and failure behavior, operational implications, decisions, evidence gaps, fitness checks, evolution slices, and named owners. State what is decided, what remains open, and which specialist owns follow-up work.
Ownership Boundaries
- Reverse engineer an existing codebase or infer architecture from repository evidence with
software-architecture-analysis. - Design interface contracts, schemas, compatibility, or API topology with
api-design-and-evolution. - Design data platforms, data products, data models, or data governance with
data-architect. - Implement services, integrations, transactions, or application code with
backend-engineeringand the relevant engineering owner. - Provision or operate cloud, network, CI/CD, containers, secrets, or observability substrate with
platform-engineeringand its tool owners. - Define security requirements, threat models, authorization, secrets, or security evidence with
secure-software-engineering. - Author the durable ADR with
adr-authoring; this skill supplies the architecture decision context and tradeoff analysis. - Execute an approved cross-system transition with
migration-engineering; this skill decides whether the target shape and boundary are justified. - Model capacity, unit cost, load evidence, or SLO-cost tradeoffs with
capacity-and-cost-engineering. - Design and exercise degradation, failover, restore, or recovery evidence with
resilience-and-recovery. - Create structural diagrams with
c4-diagrammingormermaid-diagrams. - Govern a technology portfolio, radar, or proportional technology governance path with
technology-radar.
When Not To Use
Do not use this skill as a substitute for those specialist owners, as a code review workflow, or as a vendor/tool runbook. If the request is only one interface, data platform, implementation, infrastructure, security, capacity, diagram, ADR, or migration concern, load the narrower owner directly. If the architecture question depends on facts from an existing system, start with software-architecture-analysis and return here for a target decision.
Reference Guide
| Load when | Reference |
|---|---|
| Prioritizing qualities and comparing conflicting outcomes | references/architecture-characteristics-and-tradeoffs.md |
| Comparing styles, deployment topology, or granularity | references/styles-topologies-and-granularity.md |
| Testing modularity, coupling, boundaries, and data authority | references/coupling-modularity-and-data-ownership.md |
| Designing distributed workflows, consistency, or failure behavior | references/distributed-workflows-and-consistency.md |
| Choosing replication, partitioning, coordination, ordering, or transaction-isolation mechanisms | references/distributed-workflows-and-consistency.md, then the DDIA mini reference; load the full reference only when deeper mechanism analysis is necessary |
| Defining fitness evidence, drift response, or evolutionary change | references/evolution-fitness-functions-and-drift.md |
| Planning coexistence and handing execution to migration engineering | references/migration-and-coexistence.md |
| Running architecture workshops, reviews, and decision facilitation | references/architecture-practice-and-facilitation.md |
| Checking provenance and the licensed-books transformation boundary | references/source-index.md |
Keep the ownership split explicit when loading DDIA: this skill owns the system-level architecture decision and its tradeoffs; programming-principles supplies distributed-data principles and mechanism detail. Route message-handler implementation to backend-engineering, API or event contracts to api-design-and-evolution, data-platform design to data-architect, and exercised recovery evidence to resilience-and-recovery.
Completion
Stop when the architecture decision has an accountable owner, explicit alternatives and consequences, evidence or a named gap for each material claim, a verification path for prioritized characteristics, and specialist handoffs. Escalate rather than silently resolve missing authority, security, data ownership, or operational evidence.