Catalogue / architect-specify
architect-specify
MITSignedUse when you want guided trade-off analysis, multi-option comparison, or structured architectural decision facilitation before documenting. Class boots only suggest capture — they never write drafts; running this skill writes the lightweight ADR draft.--- name: architect-specify description: Use when you want guided trade-off analysis, multi-option comparison, or structured architectural decision facilitation before documenting. Class boots only suggest capture — they never write drafts; running this skill writes the lightweight ADR draft. disable-model-invocation: true ---
architect-specify
> Scope rule: scripts stay skill-local — never source a script from another skill. For another skill's operations, invoke that skill (e.g. architect-clarify, product-clarify, team-boot) via the Skill tool; for its documents, follow the Requires line. scripts/ and references/ below are relative to this skill. {REPO_ROOT} denotes the project root (where .adlc/ lives).
Requires: the architect-clarify skill for architecture setup, ADR index generation, and diagram validation: adlc-cli skills add tikalk/adlc-team-skills --skill architect-clarify
What this skill does
Transform a PRD (Product Requirements Document) or high-level system description into well-documented Architecture Decision Records (ADRs) through interactive exploration and trade-off analysis.
Key Insight: Unlike direct architecture generation, this skill prioritizes discussion and exploration before committing to formal documentation. The goal is to surface trade-offs, validate assumptions, and make informed decisions collaboratively.
You act as a Solutions Architect facilitating an architectural discovery session. Your role involves:
- Exploring possible solutions and their trade-offs
- Asking clarifying questions to surface hidden requirements
- Proposing options with clear consequences
- Documenting decisions in MADR format once consensus is reached
When to use
> Note: Class boots detect decisions and suggest this skill — running > it is how the capture happens (it writes the lightweight draft to > .adlc/drafts/). Use it for interactive deep-dive exploration > — when you want guided trade-off analysis, multi-option comparison, or > structured decision facilitation before documenting.
- New projects: Starting system architecture from scratch
- Major changes: Significant architectural shifts requiring new decisions
- Documentation: Capturing verbal decisions as formal ADRs
- Team onboarding: Walking through architectural rationale with new members
When NOT to use:
- Brownfield projects: Use
/architect-initinstead to reverse-engineer from code - Minor updates: Use
/architect-clarifyfor ADR refinements - Feature-level: Feature architecture (if Spec Kit extension is also installed)
Process
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Examples of User Input:
"B2B SaaS platform for supply chain management with real-time inventory tracking""Mobile-first e-commerce app with offline support and social features""Legacy system modernization: migrate from monolith to microservices""IoT platform for smart home devices with edge computing requirements"
When users provide PRD context like this, use it to drive the architectural exploration conversation.
Flags
--views VIEWS: Architecture views to include in final AD.mdcore(default): Context, Functional, Information, Development, Deploymentall: All 7 views including Concurrency and Operational- Custom: comma-separated (e.g.,
concurrency,operational)
--adr-heuristic HEURISTIC: ADR generation strategysurprising(default): Skip obvious ecosystem defaultsall: Document all decisions discussedminimal: Only high-risk/unconventional decisions
--no-decompose: Disable automatic sub-system decomposition (default: auto-decompose if multiple domains detected)
Role & Context
You are acting as a Solutions Architect facilitating an architectural discovery session. Your role involves:
- Exploring possible solutions and their trade-offs
- Asking clarifying questions to surface hidden requirements
- Proposing options with clear consequences
- Documenting decisions in MADR format once consensus is reached
Rozanski & Woods Alignment
When creating ADRs, consider how they map to R&W viewpoints:
| ADR Topic | Primary Viewpoint | Impact on Other Views | |-----------|-------------------|----------------------| | Architecture Style | Functional (cornerstone) | Shapes all other views | | Database Choice | Information | Affects Functional, Deployment | | API Style | Functional | Affects Information, Development | | Auth Mechanism | Functional | Affects all views (security perspective) | | Deployment Platform | Deployment | Affects Development, Operational | | Communication Pattern | Functional, Concurrency | Affects Information, Deployment |
Functional-as-Cornerstone Principle: > "The Functional view is the cornerstone of most ADs... It usually drives the shape of other system structures." — Rozanski & Woods
During exploration, prioritize decisions that affect the Functional view:
- System architecture style (monolith/microservices/serverless)
- Component responsibilities and boundaries
- Interface contracts between components
- Integration patterns
These decisions drive all subsequent architectural views.
Two-Level Architecture System
| Level | Location | ADR File | Architecture Description | |-------|----------|----------|--------------------------| | System | Main branch | {REPO_ROOT}/.adlc/drafts/adr/ | {REPO_ROOT}/AD.md |
This command operates at the System level, creating ADRs in {REPO_ROOT}/.adlc/drafts/adr/ADR-{slug}.md.
IMPORTANT - Path Resolution:
- The setup script outputs
REPO_ROOT- use this to determine the correct paths - REPO_ROOT is found by searching upward from current directory for
.adlcdirectory - NEVER use relative paths like
.adlc/drafts/adr.md- always use{REPO_ROOT}/.adlc/drafts/adr/ADR-{slug}.md - The setup script auto-generates
adr.mdand theadr.mdindex after ADR writes - When running from a subdirectory (e.g., a subproject directory),
.adlcmay be in the parent directory
Outline
Given the PRD input, execute this workflow:
- Sub-System Detection (Phase 0): Decompose PRD into sub-systems (auto-detect if multiple domains)
- Parse PRD Context: Extract key requirements, constraints, and quality attributes (per sub-system if decomposed)
- Load Governance: Check
{REPO_ROOT}/docs/adlc/memory/constitution.md(legacy{REPO_ROOT}/.adlc/memory/constitution.mdfallback — dual-read) for architectural constraints - Exploration Phase: Interactive discussion to surface trade-offs and options (per sub-system)
- Decision Phase: Document decisions as ADRs with full rationale (organized by sub-system)
- Output: Write ADRs to
{REPO_ROOT}/.adlc/drafts/adr/ADR-{slug}.mdwith sub-system organization
NOTE: This is an interactive command. You will engage the user in conversation before finalizing ADRs.
Execution Steps
Phase 0: Sub-System Detection (Greenfield)
Objective: Decompose large PRD into manageable sub-systems automatically
When: This phase runs automatically when the PRD is detected as having multiple distinct domains. Use --no-decompose to skip.
Detection Source Reconciliation (CRITICAL): Sub-system detection in greenfield projects comes from PRD analysis (domain keywords, data boundaries) rather than code structure. When analyzing the PRD:
- Identify domains from keywords, requirements, and user flows
- ALWAYS execute Step 3 when you identify 4+ sub-systems
- NEVER default to monolithic if the PRD describes multiple distinct domains
- The threshold logic applies regardless of whether domains come from explicit PRD sections or inferred from requirements
Step 1: Domain Analysis
Analyze the PRD for distinct business domains and functional areas:
| Domain Category | Typical Keywords | |-----------------|------------------| | Authentication | login, auth, oauth, sso, permissions, roles, access control | | User Management | profile, registration, preferences, settings, account | | Payments | billing, checkout, subscription, invoicing, pricing | | Orders | cart, checkout, order management, fulfillment | | Inventory | stock, warehouse, products, catalog, sku | | Notifications | email, sms, push, alerts, webhooks | | Analytics | metrics, reporting, dashboards, data | | Search | search, indexing, elasticsearch | | Media | upload, images, video, cdn | | Messaging | chat, realtime, websocket |
Step 2: Boundary Detection
Identify boundaries between sub-systems based on:
- Data Ownership: What data belongs to which domain?
- Team Boundaries: Are different teams responsible for different areas?
- Deployment Independence: Can sub-systems be deployed separately?
- Integration Points: How do sub-systems communicate?
Step 3: Sub-System Proposal (Interactive) - MANDATORY if sub-systems identified
Present detected sub-systems to user for confirmation:
## Detected Sub-Systems I've identified the following sub-systems from your PRD: | # | Sub-System | Key Domains | Rationale | |---|------------|-------------|-----------| | 1 | **Auth** | Authentication, Authorization | Core security boundary | | 2 | **Users** | User Management, Profiles | User data ownership | | 3 | **Payments** | Billing, Subscriptions | Financial domain | | 4 | **Inventory** | Products, Stock | Physical goods management | ### Questions for Confirmation: 1. **Are these sub-systems correct?** [Y/n] 2. **Should any sub-systems be merged?** (e.g., Auth + Users) 3. **Should any sub-systems be split?** (e.g., Payments into Billing + Subscriptions) 4. **Any missing sub-systems?** (e.g., Analytics, Search) **Reply** with: - `Y` to confirm and proceed - `n` to disable decomposition (generate monolithic ADRs) - Specific changes (e.g., "merge 1+2", "split 3", "add Notifications")
CRITICAL: If you have identified ANY sub-systems through PRD analysis, you MUST execute this step.
- Do NOT proceed to Phase 1 as "monolithic" if the PRD describes distinct domains
- You MUST get user confirmation when 4+ sub-systems are identified from the PRD
- Domains inferred from requirements are just as valid as explicitly stated ones
Failure to follow this step results in incorrect ADR scope and architecture.
Step 4: Decomposition Decision
Based on user response:
| Response | Action | |----------|--------| | Y / Enter | Proceed with detected sub-systems | | n | Skip decomposition, generate monolithic ADRs | | Modifications | Adjust sub-systems, then proceed | | Empty/Default | Auto-proceed if ≤3 sub-systems, ask if >3 |
Threshold Logic Enforcement (MANDATORY - applies to ALL detected sub-systems from PRD analysis):
| Sub-System Count | Required Action | Can Skip User Confirmation? | |-----------------|-----------------|---------------------------| | 0 | Proceed as monolithic (no decomposition) | Yes | | 1-3 | Show summary, auto-approve allowed | Yes | | 4-6 | MUST show summary and ask user confirmation | NO | | >6 | MUST suggest grouping and MUST ask confirmation | NO |
Enforcement Rules:
- Domains inferred from PRD requirements count toward the threshold
- If threshold is 4+ → You MUST NOT proceed without user confirmation
- If you skip this logic → The ADRs will not accurately reflect the PRD scope
- Self-check before Phase 1: Did I present Step 3? Did I apply threshold logic? If 4+ sub-systems, did I get confirmation?
Step 5: Output
After confirmation, output structured sub-system data:
{
"decomposition": "enabled",
"subsystems": [
{"id": "auth", "name": "Auth", "domains": ["Authentication", "Authorization"], "rationale": "Security boundary"},Preview shortened. The full SKILL.md is in the pack.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 27.3 kB | d13b81e0a327 |
| SKILVAULT_SOURCE.json | 1.1 kB | 506029259b52 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | b316c9568d08 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 2be08e49f7e1 | 29 Nov 2026 |
Locking a skill to one version needs Pro.