skills/architecture-readiness/SKILL.md
Use this skill for requirements elicitation, discovery interviews, and creating or evaluating Product Owner Specifications documenting business requirements before architecture design
npx skillsauth add shadowx4fox/solutions-architect-skills architecture-readinessInstall 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.
This skill helps Product Owners document business requirements and context before architecture design begins. It provides templates and guidance for creating Product Owner Specifications that feed into technical ARCHITECTURE.md documents.
The skill includes four primary functions:
Invoke this skill when:
⛔ This flow NEVER transitions to elicitation. It analyzes a file, produces a gap report with email-ready questions, and STOPS. The output is meant to be sent back to the requester asynchronously (email, ticket, Slack).
When business context arrives via ticket, email, or document (not a live conversation):
business-context.*, ticket-*.*, requirements-*.*, email-*.*)PO_SPEC_SCORING_GUIDE.md for the 8-section weighted rubricASYNC_INTAKE_GUIDE.md for extraction methodology and keyword indicatorsPO_SPEC_GAP_REPORT.md): Structured markdown containing:
PO_SPEC_GAP_REPORT.md in the project rootPRODUCT_OWNER_SPEC.md from the extracted data using templates/PO_SPEC_TEMPLATE.md; flag any inferred values with [Default — confirm before architecture handoff]When this skill is activated and no existing PO Spec is found (or the user requests discovery/elicitation):
PRODUCT_OWNER_SPEC.md, PO_SPEC.md, **/po-spec*, **/product-owner*
REQUIREMENTS_ELICITATION_GUIDE.md fully before startingtemplates/PO_SPEC_TEMPLATE.md, fill from elicited data, self-score against PO_SPEC_SCORING_GUIDE.mdPRODUCT_OWNER_SPEC.mdWhen this skill is activated for document creation:
When this skill is activated to evaluate a PO Spec:
Relationship to architecture-docs skill:
Workflow:
User: "I want to create a Product Owner Specification for a new mobile payment feature"
Claude (with architecture-readiness skill activated):
1. Load PRODUCT_OWNER_SPEC_GUIDE.md to understand structure
2. Ask clarifying questions:
- What business problem does this solve?
- Who are the target users?
- What are the business objectives and success metrics?
- Are there regulatory/compliance requirements?
3. Guide user through 8 sections:
- Business Context
- Stakeholders & Users
- Business Objectives
- Use Cases
- User Stories
- User Experience Requirements
- Business Constraints
- Success Metrics & KPIs
4. Provide template sections as needed
5. Explain how completed PO Spec feeds into ARCHITECTURE.md
User: "I have an idea for a loyalty program app but I don't know where to start with requirements."
Claude (with architecture-readiness skill activated):
1. Search project for existing PO Spec files → none found
2. Load REQUIREMENTS_ELICITATION_GUIDE.md
3. Detect language from user message → English
4. Open interview: "I'll guide you through a discovery interview across 4 phases..."
5. Phase 1 — Foundation:
- "What business problem does the loyalty program solve?"
- "Who are your target users — existing customers, new customers, both?"
- "Who are the key stakeholders — marketing team, store managers, IT?"
6. Phase 2 — Value & Boundaries:
- "What are the top 3 business outcomes? (e.g., increase repeat purchases by X%)"
- "Any regulatory requirements — data privacy laws, financial regulations?"
- "Is there an approved budget range and a launch deadline?"
7. Phase 3 — Behavior (Scenario Walking):
- "Walk me through: a customer earns points after a purchase. What's the first thing they do?"
- "What happens if a points redemption fails at checkout?"
- "Describe the experience for a store employee who manages loyalty accounts."
8. Phase 4 — Experience & Measurement:
- "How fast should the points balance update after a purchase?"
- "What 3 metrics will prove the loyalty program is working at 6 months?"
9. Discovery Summary: Present structured summary with confidence levels → PO confirms
10. Draft PO Spec from template, self-score → 7.9/10
11. Save as PRODUCT_OWNER_SPEC.md, report score and next steps
User: "I received this ticket from the product team — extract requirements from it"
[provides path: business-context.md]
Claude (with architecture-readiness skill activated):
1. Read business-context.md
2. Load PO_SPEC_SCORING_GUIDE.md + ASYNC_INTAKE_GUIDE.md
3. Map content to 8 sections using keyword indicators:
- Business Context: 90% — clear problem statement and market context
- Stakeholders & Users: 40% — "customers" mentioned but no detailed personas
- Business Objectives: 70% — targets mentioned but not quantified with baselines
- Use Cases: 30% — 1 scenario, no alternative flows or edge cases
- User Stories: 0% — none provided
- UX Requirements: 50% — performance expectations mentioned, no acceptance thresholds
- Business Constraints: 80% — budget and timeline documented
- Success Metrics & KPIs: 20% — "increase revenue" mentioned, no baselines or targets
4. Weighted score: 4.85/10 — Not ready
5. Generate PO_SPEC_GAP_REPORT.md:
- HIGH gaps: Use Cases (weight 2.5), Success Metrics (weight 1.0), Stakeholders (weight 0.5)
- 12 ready-to-send questions organized by priority
- Next steps: "Send gap questions to product team; re-run async intake with their answers"
6. Save PO_SPEC_GAP_REPORT.md — do NOT draft PO Spec (score < 7.5)
User: "Can you evaluate my Product Owner Spec and tell me if it's ready for the architecture team?"
Claude (with architecture-readiness skill activated):
1. Load PO_SPEC_SCORING_GUIDE.md to understand scoring methodology
2. Read the user's PRODUCT_OWNER_SPEC.md file
3. Evaluate each section:
- Section 1 (Business Context): 80% complete
- Section 2 (Stakeholders): 60% complete
- Section 3 (Business Objectives): 90% complete
- Section 4 (Use Cases): 100% complete
- Section 5 (User Stories): 70% complete
- Section 6 (UX Requirements): 85% complete
- Section 7 (Business Constraints): 95% complete
- Section 8 (Success Metrics): 80% complete
4. Calculate weighted score: 8.85/10
5. Provide feedback:
- "Your PO Spec scores 8.85/10 - Good, ready for architecture design"
- "Excellent: Use Cases, Business Constraints, Business Objectives"
- "Minor gaps: Stakeholders & Users section needs more detailed personas"
- "Recommendation: Proceed with architecture design; clarify user personas during kickoff"
Requirements Elicitation:
PO Spec Creation:
PO Spec Evaluation:
Async Intake:
A quality elicitation should:
PRODUCT_OWNER_SPEC.md with score and next-step guidanceA well-formed Product Owner Specification should:
A quality evaluation should:
A quality async intake should:
PO_SPEC_GAP_REPORT.md in the project rootPRODUCT_OWNER_SPEC.md with inferred values flagged as [Default]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.