skills/architecture-blueprint/SKILL.md
Generate Business and Application blueprint markdown files from ARCHITECTURE.md. Extracts architecture data to fill standardized organizational templates (datos de iniciativa / initiative data). Detects architecture document language and selects the matching template automatically. Invoke when the user asks to generate blueprints, initiative data sheets, datos de iniciativa, or organizational architecture forms.
npx skillsauth add shadowx4fox/solutions-architect-skills architecture-blueprintInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generates standardized blueprint markdown files by extracting data from the architecture documentation and filling organizational templates. Detects the language of the architecture docs, selects the matching-language template, and produces output files written to the same directory as ARCHITECTURE.md.
Available templates:
| Language | Business | Application |
|----------|----------|-------------|
| English (en) | BUSINESS_TEMPLATE_EN.md | APPLICATION_TEMPLATE_EN.md (pending) |
| Spanish (es) | BUSINESS_TEMPLATE_ES.md | APPLICATION_TEMPLATE_ES.md (pending) |
This skill activates automatically when the user's message contains any of:
Action when detected: proceed directly to Step 0.
Before running, verify:
ARCHITECTURE.md exists at the project root (or subdirectory — detect its location)docs/ directory exists with at least docs/01-system-overview.mdIf ARCHITECTURE.md is not found:
❌ ARCHITECTURE.md not found.
Generate architecture documentation first with /skill architecture-docs.
Resolve $plugin_dir to locate the templates:
Step A — Development mode (glob):
Glob: **/{sa-skills,solutions-architect-skills}/skills/architecture-blueprint/BUSINESS_TEMPLATE_EN.md
The brace expansion matches both marketplace installs (sa-skills/ in ~/.claude/plugins/cache/...) and local dev clones (historical repo folder solutions-architect-skills/). If found, strip /skills/architecture-blueprint/BUSINESS_TEMPLATE_EN.md to get plugin_dir.
Step B — Marketplace fallback:
plugin_dir=$(bun ~/.claude/plugins/marketplaces/shadowx4fox-solution-architect-marketplace/skills/architecture-compliance/utils/resolve-plugin-dir.ts)
Read the first 30 lines of docs/01-system-overview.md and scan for language indicator keywords:
English indicators: "Executive Summary", "System Overview", "Problem Statement", "Business Value", "Architecture Principles", "Key Metrics", "Solution"
Spanish indicators: "Resumen Ejecutivo", "Descripción del Sistema", "Planteamiento del Problema", "Valor de Negocio", "Principios de Arquitectura", "Métricas Clave", "Solución"
Decision rules:
lang = enlang = es🌐 Could not confidently detect architecture language.
Use which template language? [en = English / es = Spanish]
Determine which blueprints to generate based on the user's request:
| User says | Mode | |-----------|------| | "business" / "negocio" | Business blueprint only | | "application" / "aplicación" / "app" | Application blueprint only | | (default — no qualifier) | Both blueprints |
Load the template(s) required for the selected mode and detected language from $plugin_dir:
Business template:
lang = en → $plugin_dir/skills/architecture-blueprint/BUSINESS_TEMPLATE_EN.mdlang = es → $plugin_dir/skills/architecture-blueprint/BUSINESS_TEMPLATE_ES.mdApplication template:
lang = en → $plugin_dir/skills/architecture-blueprint/APPLICATION_TEMPLATE_EN.mdlang = es → $plugin_dir/skills/architecture-blueprint/APPLICATION_TEMPLATE_ES.mdℹ️ Application template ([lang]) not yet configured. Skipping Application blueprint.
To add it: place APPLICATION_TEMPLATE_EN.md or APPLICATION_TEMPLATE_ES.md in skills/architecture-blueprint/
Read the following files (load all — they are small enough to fit in context):
| File | Content Used |
|------|-------------|
| docs/01-system-overview.md | Executive Summary, System Overview, Key Metrics, Business Value, Deployment |
| docs/02-architecture-principles.md | Architecture Principles |
| docs/03-architecture-layers.md | Architecture layers and component grouping |
| docs/components/README.md | Component index (names and types) |
| ARCHITECTURE.md | Navigation index, metadata, ADR table |
| docs/08-scalability-and-performance.md | Capacity sizing: users, TPS, storage, scaling strategy (Application template) |
| adr/ADR-*.md | Architecture decisions, alternatives, criteria, assumptions (Application template) |
| compliance-docs/COMPLIANCE_MANIFEST.md | Compliance status per contract area (Application template — optional) |
If additional docs/ files are needed for specific template fields, load them on demand (e.g., docs/07-security-architecture.md for security-related fields, docs/09-operational-considerations.md for deployment/location and debt fields).
Also check for a PO Spec file at the project root (glob: **/PRODUCT_OWNER_SPEC*.md, **/PO_SPEC*.md) — if found, load it as a supplementary source for business context fields.
For each <placeholder> in the template:
<placeholder> (angle brackets included) with the extracted value — verbatim, no paraphrasingNOT FOUND — suggest: [recommended section or keyword to check, e.g., "add to docs/01-system-overview.md under Deployment"]
< > angle brackets; never alter surrounding text, markdown structure, heading levels, bold/italic markers, or static prose| EN Placeholder | ES Placeholder | Intent | Primary Source | Fallback |
|---|---|---|---|---|
| <City, other locations> | <Quito, otras sedes> | Physical location / deployment region | docs/09-operational-considerations.md → deployment region or cloud region | docs/01-system-overview.md → Deployment section |
| <Business domain – Per capability map> | <Dominio de negocio – Según mapa de capacidades> | Business domain | docs/01-system-overview.md → System Overview or Business Value section | PO Spec → Business Context |
| <Cross-cutting project, Regulatory project, Product increment project, Project> | <Proyecto transversal, Proyecto regulatorio, Proyecto incremento producto, Proyecto> | Project classification type | docs/01-system-overview.md → Problem Statement or Business Value | PO Spec → Business Objectives |
| <Tribe Name> | <Nombre de Tribu> | Tribe name (org structure) | Architecture docs do not typically contain this | NOT FOUND — suggest: add to docs/01-system-overview.md under Team/Org section |
| <Cell Name> | <Nombre de Célula> | Cell name (org structure) | Architecture docs do not typically contain this | NOT FOUND — suggest: add to docs/01-system-overview.md under Team/Org section |
| <Product owner name> <email> | <Nombre del dueño de producto> <email> | Product Owner name and email | PO Spec if available | NOT FOUND — suggest: add to PRODUCT_OWNER_SPEC.md |
| <Tribe lead name> <email> | <Nombre de líder de tribu> <email> | Tribe Lead | Architecture docs do not typically contain this | NOT FOUND |
| <Technical tribe lead name> <email> | <Nombre de líder técnico de tribu> <email> | Technical Tribe Lead | Architecture docs do not typically contain this | NOT FOUND |
| <Assigned enterprise architect> <email> | <Nombre de arquitecto empresarial asignado> <email> | Enterprise Architect | Architecture docs do not typically contain this | NOT FOUND |
| <Assigned solutions architect> <email> | <Nombre de arquitecto de soluciones asignado> <email> | Solutions Architect | Architecture docs do not typically contain this | NOT FOUND |
| <Assigned integration architect> <email> | <Nombre de arquitecto de integración asignado> <email> | Integration Architect | Architecture docs do not typically contain this | NOT FOUND |
| <Assigned data architect> <email> | <Nombre de arquitecto de datos asignado> <email> | Data Architect | Architecture docs do not typically contain this | NOT FOUND |
| <Assigned security architect> <email> | <Nombre de arquitecto de seguridad asignado> <email> | Security Architect | Architecture docs do not typically contain this | NOT FOUND |
| <Assigned software architect> <email> | <Nombre de arquitecto de software asignado> <email> | Software Architect | Architecture docs do not typically contain this | NOT FOUND |
| <Application ID in the enterprise architecture portfolio> | <ID de aplicación en el portafolio de arquitectura empresarial> | Enterprise portfolio app ID | Architecture docs do not typically contain this | NOT FOUND — suggest: obtain from enterprise architecture portfolio system |
| <The what> | <El qué> | What the initiative does | docs/01-system-overview.md → Problem Statement or Solution description (first sentence) | PO Spec → Business Objectives |
| <The how> | <El cómo> | How the initiative achieves it | docs/01-system-overview.md → Solution section (approach/method) | docs/02-architecture-principles.md → key principles |
| <The why> | <El para> | Purpose / outcome | docs/01-system-overview.md → Business Value section (impact statements) | PO Spec → Success Criteria |
| <URL_FUNCTIONAL_DETAIL_DOC> | <URL_DOC_DETALLE_FUNCIONAL> | URL to functional detail doc | Architecture docs do not typically contain this | NOT FOUND — suggest: add functional spec URL to docs/11-references.md |
| <URL_CAPABILITY_MAP> | <URL_MAPA_CAPACIDADES> | URL to capability map | Architecture docs do not typically contain this | NOT FOUND — suggest: add capability map URL to docs/11-references.md |
| <URL_TARGET_VALUE_FLOW> | <URL_FLUJO_VALOR_OBJETIVO> | URL to value flow diagram | Architecture docs do not typically contain this | NOT FOUND — suggest: add value flow URL to docs/11-references.md |
| <URL_REFERENCE_ARCHITECTURE> | <URL_ARQ_REFERENCIA> | URL to reference architecture diagram | docs/03-architecture-layers.md → check for Mermaid diagrams | NOT FOUND — suggest: export diagram from docs/03-architecture-layers.md |
| EN Placeholder | ES Placeholder | Intent | Primary Source | Fallback |
|---|---|---|---|---|
| <Effective change in customer experience.> | <Cambio efectivo en la experiencia de los clientes.> | Value delivery description | docs/01-system-overview.md → Business Value / Design Drivers section | PO Spec → Success Criteria |
| <Upper threshold for value delivery and impact> | <Umbral superior de entrega de valor e impacto> | Upper bound that classifies Value Delivery as HIGH impact | docs/01-system-overview.md → Design Drivers (Value Delivery metric/percentage); describe as "Greater than X% High Impact" using the actual percentage from docs | NOT FOUND — suggest: add value delivery threshold to docs/01-system-overview.md Design Drivers |
| <Lower threshold for value delivery and impact> | <Umbral inferior de entrega de valor e impacto> | Lower bound that classifies Value Delivery as LOW impact | docs/01-system-overview.md → Design Drivers; complement of upper threshold, e.g., "Less than X% Low Impact" | NOT FOUND — suggest: add value delivery threshold to docs/01-system-overview.md Design Drivers |
| <LOW/HIGH> (Value Delivery) | <BAJO/ALTO> (Entrega de valor) | Impact rating | docs/01-system-overview.md → Design Drivers impact metrics; compare extracted value against extracted threshold | NOT FOUND — suggest: add Design Drivers metrics to docs/01-system-overview.md |
| <Estimated number of customers impacted by the change.> | <Cantidad estimada de clientes impactados por el cambio.> | Scale description | docs/01-system-overview.md → Key Metrics (users, reach) or Design Drivers | PO Spec → Business Context |
| <Upper threshold for scale and impact> | <Umbral superior de escala e impacto> | Upper bound that classifies Scale as HIGH impact | docs/01-system-overview.md → Key Metrics (peak users/customers); describe as "Greater than X users/customers High Impact" using actual value | NOT FOUND — suggest: add user scale threshold to docs/01-system-overview.md Key Metrics |
| <Lower threshold for scale and impact> | <Umbral inferior de escala e impacto> | Lower bound that classifies Scale as LOW impact | docs/01-system-overview.md → Key Metrics; complement of upper threshold | NOT FOUND — suggest: add user scale threshold to docs/01-system-overview.md Key Metrics |
| <LOW/HIGH> (Scale) | <BAJO/ALTO> (Escala) | Scale impact rating | Compare extracted user count against extracted scale threshold | NOT FOUND — suggest: add user count to docs/01-system-overview.md Key Metrics |
| <Number of impacts on configuration, development, or implementation in applications.> | <Cantidad de impactos en configuración, desarrollo o implementación en las aplicaciones.> | Implementation impacts description | docs/01-system-overview.md → Design Drivers or docs/components/README.md → component count | NOT FOUND — suggest: add implementation impact count to docs/01-system-overview.md |
| <Upper threshold for application impacts> | <Umbral superior de impactos en aplicaciones> | Upper bound that classifies application Impacts as HIGH | docs/components/README.md → total component count; docs/01-system-overview.md → Design Drivers; describe as "Greater than N application impacts High Impact" | NOT FOUND — suggest: add application impact threshold to docs/01-system-overview.md Design Drivers |
| <Lower threshold for application impacts> | <Umbral inferior de impactos en aplicaciones> | Lower bound that classifies application Impacts as LOW | Complement of upper threshold | NOT FOUND — suggest: add application impact threshold to docs/01-system-overview.md Design Drivers |
| <LOW/HIGH> (Impacts) | <BAJO/ALTO> (Impactos) | Impacts rating | Compare extracted component/impact count against extracted threshold | NOT FOUND — suggest: add impact count to docs/01-system-overview.md Design Drivers |
For each ADR found in adr/ADR-*.md, extract one entry per ADR. If multiple ADRs exist, generate one block per ADR:
| EN Placeholder | ES Placeholder | Intent | Source |
|---|---|---|---|
| <Description of the problem or need that prompted the architecture decision> | <Descripción del problema o necesidad que generó la decisión de arquitectura> | ADR problem statement | ADR file → "Context" or "Problem Statement" section |
| <Description of the decision made> | <Descripción de la decisión tomada> | ADR decision | ADR file → "Decision" section |
| <Description of the technical implications of the decision> | <Descripción de las implicaciones técnicas de la decisión> | Technical consequences | ADR file → "Consequences" section — technical items only |
| <Description of non-technical implications> | <Descripción de implicaciones no técnicas> | Operational/business consequences | ADR file → "Consequences" section — non-technical items |
| <Description of alternative 1> ... <Description of alternative N> | <Descripción de la alternativa 1> ... <Descripción de la alternativa N> | Evaluated alternatives | ADR file → "Options Considered" or "Alternatives" section |
| <Description of criterion or principle 1> ... <Description of criterion or principle N> | <Descripción del criterio o principio 1> ... <Descripción del criterio o principio N> | Decision criteria / principles | ADR file → "Decision Criteria" section or docs/02-architecture-principles.md |
| <Description of assumption 1> ... <Description of assumption N> | <Descripción de la suposición 1> ... <Descripción de la suposición N> | Assumptions | ADR file → "Assumptions" section |
If NO ADR files found: fill each placeholder with NOT FOUND — suggest: create ADRs using /skill architecture-definition-record.
| EN Placeholder | ES Placeholder | Intent | Primary Source | Fallback |
|---|---|---|---|---|
| <Describe normal user demand> | <Describir la demanda normal de usuarios> | Normal user load | docs/08-scalability-and-performance.md → Scaling targets or current load | docs/01-system-overview.md → Key Metrics (Read TPS, users) |
| <Describe peak user demand, how many users are estimated and when> | <Describir la demanda pico de usuarios, cuántos usuarios se estiman y cuándo> | Peak user load | docs/08-scalability-and-performance.md → Peak load / burst capacity | docs/01-system-overview.md → Key Metrics (Peak TPS) |
| <Describe normal transaction demand> | <Describir la demanda normal de transacciones> | Normal TPS | docs/01-system-overview.md → Key Metrics (Average Read/Write TPS) | docs/08-scalability-and-performance.md → Performance targets |
| <Describe peak transaction demand, how many transactions are estimated and when> | <Describir la demanda pico de transacciones, cuántas transacciones se estiman y cuándo> | Peak TPS | docs/01-system-overview.md → Key Metrics (Peak TPS) | docs/08-scalability-and-performance.md |
| <Describe average payload size per transaction in storage units (bytes)> | <Describir el tamaño de la carga útil promedio por transacción en unidades de almacenamiento (bytes)> | Payload size | docs/08-scalability-and-performance.md → Payload / message size | NOT FOUND — suggest: add average payload size to docs/08-scalability-and-performance.md |
| <Minimum estimated GB of storage in the transactional database> | <Estimado mínimo en GB de almacenamiento en la base de datos transaccional> | Min operational storage | docs/08-scalability-and-performance.md → Storage requirements | NOT FOUND — suggest: add storage estimates to docs/08-scalability-and-performance.md |
| <Maximum estimated GB of storage in the transactional database> | <Estimado máximo en GB de almacenamiento en la base de datos transaccional> | Max operational storage | docs/08-scalability-and-performance.md → Storage requirements | NOT FOUND |
| <Minimum estimated GB of backup storage> | <Estimado mínimo en GB de almacenamiento en almacenamiento de respaldo> | Min backup storage | docs/09-operational-considerations.md → Backup strategy | NOT FOUND — suggest: add backup storage estimates to docs/09-operational-considerations.md |
| <Maximum estimated GB of backup storage> | <Estimado máximo en GB de almacenamiento en almacenamiento de respaldo> | Max backup storage | docs/09-operational-considerations.md → Backup strategy | NOT FOUND |
| <Minimum estimated GB of analytical storage> | <Estimado mínimo en GB de almacenamiento en almacenamiento analítico> | Min analytical storage | docs/08-scalability-and-performance.md → Data/analytics layer | NOT FOUND — suggest: add analytical storage estimates |
| <Maximum estimated GB of analytical storage> | <Estimado máximo en GB de almacenamiento en almacenamiento analítico> | Max analytical storage | docs/08-scalability-and-performance.md | NOT FOUND |
| EN Placeholder | ES Placeholder | Intent | Primary Source | Fallback |
|---|---|---|---|---|
| <Description of the architecture debt> | <Descripción de la deuda de Arquitectura> | Debt description | docs/09-operational-considerations.md → Technical debt section | ADR files → rejected/deferred decisions |
| <Description of the justification for the debt's existence> | <Descripción de la justificación de la existencia de la deuda> | Debt justification | ADR file → Context section of related ADR | NOT FOUND — suggest: document debt justification in an ADR |
| <Description of the risk associated with the debt> | <Descripción del riesgo asociado a la deuda> | Debt risk | docs/09-operational-considerations.md → Risks section | NOT FOUND |
| <Approximate date for debt remediation> | <Fecha aproximada de remediación de la deuda> | Remediation timeline | docs/09-operational-considerations.md → Roadmap or milestones | NOT FOUND — suggest: add remediation timeline to docs/09-operational-considerations.md |
For each of the 10 compliance areas, extract the Status and Observations from compliance-docs/COMPLIANCE_MANIFEST.md.
Compliance area mapping (ES name → EN name → contract file pattern):
| ES Area | EN Area | Manifest Contract Type |
|---------|---------|----------------------|
| Continuidad de Negocio | Business Continuity | Continuidad de Negocio |
| Arquitectura SRE | SRE Architecture | Arquitectura SRE |
| Arquitectura Cloud | Cloud Architecture | Arquitectura Cloud |
| Arquitectura Datos y Analítica - IA | Data & Analytics Architecture - AI | Arquitectura Datos y Analítica |
| Arquitectura Desarrollo | Development Architecture | Arquitectura Desarrollo |
| Transformación de Procesos y Automatización | Process Transformation and Automation | Transformación de Procesos |
| Arquitectura Seguridad | Security Architecture | Arquitectura Seguridad |
| Plataformas e Infraestructura TI | Platforms and IT Infrastructure | Plataformas e Infraestructura |
| Arquitectura Empresarial | Enterprise Architecture | Arquitectura Empresarial |
| Arquitectura de Integración | Integration Architecture | Arquitectura de Integración |
Status mapping from manifest score:
Cumple / CompliantNo cumple / Non-compliantNo aplica / Not applicableObservations: Extract the top gap or note from the manifest's observations column, if present. If not present: write NOT FOUND — suggest: run /skill architecture-compliance to generate contracts.
If compliance-docs/COMPLIANCE_MANIFEST.md does not exist: fill all statuses with NOT FOUND — suggest: run /skill architecture-compliance to generate compliance contracts.
The output directory is the same directory that contains ARCHITECTURE.md:
ARCHITECTURE.md is at project root → write to ./ARCHITECTURE.md is in a subdirectory (e.g., projects/foo/ARCHITECTURE.md) → write to projects/foo/Output filenames include the language suffix:
BLUEPRINT_BUSINESS_EN.mdBLUEPRINT_BUSINESS_ES.mdBLUEPRINT_APPLICATION_EN.mdBLUEPRINT_APPLICATION_ES.mdWrite each filled template to its output path using the Write tool.
If the output file already exists, display:
⚠️ BLUEPRINT_BUSINESS_EN.md already exists. Overwrite? [Yes/No]
Wait for confirmation before overwriting.
After writing, display the fill summary:
═══════════════════════════════════════════════════════════
BLUEPRINT GENERATION COMPLETE
═══════════════════════════════════════════════════════════
🌐 Language detected: English (en)
📄 BLUEPRINT_BUSINESS_EN.md → [output_dir]
Field Fill Summary:
✅ Filled (N):
- Headquarters: [extracted value]
- Domain: [extracted value]
- The what / The how / The why: [extracted values]
...
⚠️ NOT FOUND (N) — requires manual input:
- Tribe → suggest: add to docs/01-system-overview.md
- Cell → suggest: add to docs/01-system-overview.md
- Product Owner → suggest: add to PRODUCT_OWNER_SPEC.md
- All architect names/emails → suggest: add to docs/01-system-overview.md
- All URLs → suggest: add to docs/11-references.md
...
═══════════════════════════════════════════════════════════
development
Run risk and design-characteristics analyses over ARCHITECTURE.md documentation. Produces date-stamped reports in analysis/ covering ten lenses across two groups: HIGH-priority runtime/security — SPOF (single points of failure), Blast Radius (downstream cascade impact), Bottleneck (throughput chokepoints), Cost Hotspots (Pareto cost concentration), STRIDE (per-trust-boundary security threats); Strategic/sustainability — Vendor Lock-in (portability risk and exit cost), Latency Budget (per-hop SLO decomposition), Tech Debt/EOL (currency and deprecated tech), Coupling (fan-in/fan-out and cycles), Data Sensitivity (PII flow and encryption gaps). Each analysis can be requested individually, as a group, or all ten run in parallel. A consolidated Security Posture option (analysis 12) merges the STRIDE and Data Sensitivity reports into a single reviewer-fillable validation checklist of every security control to validate (markdown-only; exportable to a Word worksheet via architecture-docs-export). Output: analysis/<TYPE>-<YYYY-MM-DD>.md (default) OR analysis/<TYPE>-<YYYY-MM-DD>.html (interactive d3.js report; format is selected at runtime — Step 2.4). Requires ARCHITECTURE.md to exist (created by architecture-docs skill). Do NOT invoke for compliance contracts (use architecture-compliance), peer quality review (use architecture-peer-review), or ADR management (use architecture-definition-record).
development
On-demand export of architecture documents to professional Word (.docx) files. Exports are never automatic — invoke explicitly when ready to produce deliverables. Solution Architecture mode synthesizes an Executive Summary from docs/01-system-overview.md, the component index, and the compliance manifest (if present), then exports individual ADR docs. Handoff mode exports selected component development handoffs from handoffs/. Compliance mode exports selected compliance contracts from compliance-docs/. Security Posture mode exports the consolidated security validation checklist (analysis/SECURITY-POSTURE-<date>.md, from architecture-analysis) as a reviewer-fillable worksheet. IMPORTANT — this skill ONLY produces Word .docx files. It does NOT handle releasing, publishing, tagging, freezing, bumping, or finalizing an architecture version. For the Draft → Released lifecycle (git tag architecture-v{version}, archive snapshot, semver bump), use the `architecture-docs` skill (Workflow 10) instead. Do NOT invoke this skill when the user says "release my architecture", "release architecture", "publish architecture", "ship architecture", "tag architecture version", "freeze architecture", "bump architecture version", or "finalize architecture" — those route to `architecture-docs`.
testing
Generate Compliance Contracts (Contratos de Adherencia) from ARCHITECTURE.md files
testing
Use this skill whenever the user mentions deferred work, known compromises, shortcuts taken, "we'll fix this later," temporary workarounds, missing controls, or any architectural trade-off that should be made visible and tracked. Also trigger when arc42 Section 11 (Risks and Technical Debt) is being authored or updated, when a TDR / Technical Debt Record is requested by name, or when an ADR documents a decision that intentionally accepts debt. Do NOT use for general bug reports, feature requests, or backlog items — TDRs are for architectural or systemic compromises, not ordinary defects.