Skip to content
Back to skills

Architecture Workshop

ASecurity

Facilitate an interactive Architecture Kickoff Workshop to debate and decide foundational technology stack, folder/architecture style (DDD/Hexagonal/Monorepo), persistence, API contracts, auth, and quality/delivery decisions before generating Structural ADRs. TRIGGER THIS SKILL when user mentions: architecture workshop, adr workshop, tech stack debate, choose tech stack, foundational adrs, architecture kickoff, decide architecture, pick technologies, start adrs from scratch, or wants to facil...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentstypescriptgonextjsrailstestinggitapidatabasefrontendbackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add faparicior/sdlc-skills --skill architecture-workshop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Architecture Workshop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Architecture Workshop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/faparicior-architecture-workshop/badge)](https://www.skillsdirectory.com/skills/faparicior-architecture-workshop)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: architecture-workshop
description: >-
  Facilitate an interactive Architecture Kickoff Workshop to debate and decide foundational
  technology stack, folder/architecture style (DDD/Hexagonal/Monorepo), persistence, API contracts,
  auth, and quality/delivery decisions before generating Structural ADRs.
  TRIGGER THIS SKILL when user mentions: architecture workshop, adr workshop, tech stack debate,
  choose tech stack, foundational adrs, architecture kickoff, decide architecture, pick technologies,
  start adrs from scratch, or wants to facilitate a team debate to produce initial ADRs after product discovery.
disable-model-invocation: true
---

# PROTOCOL: ARCHITECTURE-WORKSHOP (EXECUTION LEVEL 3)

<state_machine>
CURRENT_STEP              -> REQUIRED_TOOL                                              -> REQUIRED_OUTPUT                                         -> MANDATORY_HALT
Step 1: Drivers           -> read_file (inception/USM/PRD + existing ADRs if any)       -> Prioritized Architectural Drivers & Constraints         -> 🛑 HALT TURN (Confirm drivers with team)
Step 2: Decision Backlog  -> read_file(templates/architecture-workshop-canvas.md)       -> docs/adr/_workshop/architecture-canvas.md (Day-1 vs Deferred) -> 🛑 HALT TURN (Team trims/approves backlog)
Step 3: Debate Pillars    -> search_web (optional for current tech comparisons)         -> Options table, AX tax & trade-off questions per pillar  -> 🛑 HALT TURN per pillar (Team decides)
Step 4: Generate ADRs     -> read_file(../adr-create/SKILL.md + TEMPLATE-STRUCTURAL.md) -> docs/adr/001-*.md..0XX-*.md + docs/adr/README.md       -> 🛑 HALT TURN (Present ADR suite)
</state_machine>

<execution_invariants>
1. WORKFLOW IMMUTABILITY: Execute all 4 steps in strict order (`workflow structure = immutable | step reasoning = flexible`). Never jump straight to writing ADRs before the team has confirmed the drivers, backlog, and choices.
2. FACILITATOR, NOT DICTATOR (NO PROACTIVE TECH CHOICES): Your job is to surface sharp trade-offs and provoke a rigorous engineering debate — NEVER silently pick the stack, architecture style, or database on the team's behalf. Present 2–3 serious options per topic and wait for the team's decision.
3. STOP GATES ARE ABSOLUTE (WITH EXPLICIT BATCH OVERRIDE): Halt at Step 1, Step 2, and after each debated pillar in Step 3 so developers can debate and decide — unless the user explicitly asks to batch multiple pillars in a single turn.
4. TEMPLATE LOCK: Reconstructing templates from memory is strictly forbidden. You MUST call `read_file` on `templates/architecture-workshop-canvas.md` (and `templates/adr-readme.md` if `docs/adr/README.md` does not exist yet), and in Step 4 you MUST delegate to `../adr-create/SKILL.md` and `../adr-create/templates/TEMPLATE-STRUCTURAL.md` (or `TEMPLATE-PROBLEM-DRIVEN.md` if measured data exists).
5. AGNOSTIC & EVIDENCE-DRIVEN: Do not default blindly to any single stack (e.g., Next.js/Supabase/TypeScript) unless it fits the team's Architectural Drivers. Use `search_web` when comparing modern alternatives or current benchmarks/pricing.
6. ESCAPE HATCH: If the situation does not fit the contract, do not silently improvise and do not force-fit: declare the deviation in one line and ask.
</execution_invariants>

<output_contract>
- WORKSHOP CANVAS:
  - TARGET_PATH: `docs/adr/_workshop/architecture-canvas.md` (or `.sdlc/config.json` `adrDir` override)
  - SOURCE_TEMPLATE: `templates/architecture-workshop-canvas.md` (MUST call `read_file` before writing)
  - SCHEMA_INVARIANCE: Preserve Sections 1–4 (`Architectural Drivers & Constraints`, `Foundational Decision Backlog`, `Facilitated Debate Log`, `Deferred Decisions & Revisit Triggers`) verbatim.
- ADR CATALOG (if missing):
  - TARGET_PATH: `docs/adr/README.md`
  - SOURCE_TEMPLATE: `templates/adr-readme.md` (MUST call `read_file` before writing)
- GENERATED ADRS (Step 4):
  - TARGET_PATHS: `docs/adr/001-*.md`, `docs/adr/002-*.md`, ...
  - SOURCE_CONTRACT: Follow `../adr-create/SKILL.md` and `../adr-create/templates/TEMPLATE-STRUCTURAL.md` verbatim for every generated ADR.
- ESCAPE_HATCH: Never silently omit or invent template sections. If a pillar genuinely does not apply (e.g., Auth for a public static CLI tool), mark it `N/A — [1-line rationale]` in the backlog rather than deleting the row silently.
</output_contract>

> **Paths**: the locations shown are the pack defaults; if `.sdlc/config.json` exists (written by `/setup-sdlc`), honour its `adrDir` / `docsRoot` overrides.

---

## 🔄 Position in the SDLC Workflow

```mermaid
flowchart LR
    P1["Phase 1: Discovery<br/>(/inception-workshop, /user-story-mapping, /prd-workshop)"] --> P1b["Phase 1b: Architecture Kickoff<br/>(/architecture-workshop)"]
    P1b --> ADRs["Foundational Structural ADRs<br/>(via /adr-create)"]
    ADRs --> P2["Phase 2: Behavioral Flows<br/>(/create-flow-documentation)"]
```

---

## 📋 Step-by-Step Facilitation Workflow

### Step 1: Extract Architectural Drivers & Constraints
1. **Read Product Context:** Search and read available discovery docs (`docs/inception/`, `docs/user-story-mapping/`, `docs/product/prd/`) and any existing `docs/adr/` files.
2. **Interview for Missing Constraints:** Ask concise, targeted questions for any driver not covered in the docs:
   - Team size, primary languages/experience, and hiring/onboarding constraints
   - Budget / hosting / free-tier / vendor lock-in sensitivity
   - Expected scale, latency, concurrency, and data residency/compliance needs
   - Delivery timeline (MVP speed vs. long-term modularity)
   - **AI & Agentic Ergonomics (AX):** Will AI coding agents build/maintain this codebase? What level of automated guardrails (strict typing, linter, architecture tests) is the team willing to maintain?
3. **🛑 HALT TURN:** Present the draft **Architectural Drivers & Constraints** table and ask the team to confirm or reprioritize before building the decision backlog.

---

### Step 2: Build the Foundational Decision Backlog (Day-1 vs. Deferred)
1. **MANDATORY TOOL CALL:** Read `templates/architecture-workshop-canvas.md` via `read_file`.
2. Propose a tailored backlog across the **6 foundational pillars** (splitting or merging topics to match the project's actual complexity):
   - **Pillar 1 — Architecture Style & Code Organization:** Monolith vs Modular Monolith vs Microservices; Hexagonal/DDD/Clean vs Feature-first; Monorepo vs Single App; folder/module conventions; architecture tests (e.g., ArchUnit / `ts-archunit`).
   - **Pillar 2 — Language, Runtime & Core Frameworks:** Backend language/runtime, Frontend/Mobile framework, UI/styling approach.
   - **Pillar 3 — Data, Persistence & Storage:** Primary database, ORM/query builder, transaction & Outbox/event consistency strategy, object/file storage.
   - **Pillar 4 — API, Contracts & Validation:** API style (REST / GraphQL / tRPC / gRPC), contract sharing between backend & frontend/mobile, boundary validation vs. domain purity.
   - **Pillar 5 — Auth & Security:** Authentication mechanism, authorization/RBAC model, secrets management.
   - **Pillar 6 — Quality, Testing, Observability & Delivery:** Testing pyramid (TDD / integration / E2E / contract tests), CI/CD, deployment/containers, logging & observability.
3. **Apply YAGNI Rigor:** Explicitly mark which topics are **Day-1 Must-Decide** vs. **Deferred** (with a concrete revisit trigger) so the team does not over-engineer premature decisions.
4. Write `docs/adr/_workshop/architecture-canvas.md`.
5. **🛑 HALT TURN:** Ask the team to add, remove, split, or reprioritize topics before starting the debate rounds.

---

### Step 3: Facilitated Debate Rounds (One Pillar at a Time)
For each **Day-1** pillar in the approved backlog:
1. **Research (when helpful):** Use `search_web` if comparing current ecosystem options, pricing, or modern benchmarks.
2. **Present a Structured Debate Brief:**
   - **Decision question** (1 crisp sentence)
   - **2–3 viable options** in a compact **Comparison at a Glance** table scored against the team's Step 1 Architectural Drivers
   - **AX (AI Ergonomics) assessment** per option (`LLM Corpus Alignment` + `Expected Agent Bias` + `Guardrail Tax`)
   - **2–3 sharp trade-off questions** to spark real discussion among developers (e.g., *"Are we willing to pay the boilerplate cost of pure Domain Value Objects + ArchUnit tests in exchange for strict layer isolation?"*)
3. **🛑 HALT TURN:** Wait for the team to debate, challenge assumptions, and state their chosen option (or ask to defer the topic).
4. Once decided, update **Section 3 (Facilitated Debate Log)** and **Section 2 (Status → `✅ Decided`)** in `docs/adr/_workshop/architecture-canvas.md`, then move to the next pillar.

---

### Step 4: Generate Foundational Structural ADRs & Sync Catalog
Once all Day-1 pillars are decided (or when the team asks to record the decisions agreed so far):
1. **Bootstrap `docs/adr/README.md` if missing:** Call `read_file` on `templates/adr-readme.md` and create `docs/adr/README.md`.
2. **Delegate to `/adr-create`:** Call `read_file` on `../adr-create/SKILL.md` and `../adr-create/templates/TEMPLATE-STRUCTURAL.md`.
3. For each decided topic, write `docs/adr/0XX-decision-title.md` with gapless 3-digit numbering (`001`, `002`, ...), full `Enforceable Rules`, `🤖 AI & Agentic Ergonomics (AX)`, `Comparison at a Glance`, and `Pros and Cons` grounded in the workshop debate.
4. Update `docs/adr/README.md` (Quick Reference, Categories, Statistics) and update `docs/adr/_workshop/architecture-canvas.md` with links to every generated ADR and Status `✅ Completed`.
5. **🛑 HALT TURN:** Present the generated ADR suite and recommend running `/adr-validate` on critical ADRs or proceeding to **Phase 2 (`/create-flow-documentation`)**.

---

<self_validation_gate>
Before ending your turn, verify every item below with concrete evidence (not just a checkmark). If any item cannot be cited with real evidence from this turn, DO NOT produce your final response — return to the failed step and fix the violation first:
- [ ] **Current Step & Halt Discipline Evidence:** State the current workshop step (`Step 1` / `Step 2` / `Step 3: Pillar N` / `Step 4`) and confirm no unapproved tech choices were silently made on the team's behalf: `<step & confirmation>`
- [ ] **Template Read Evidence:** Exact template paths passed to `read_file` in this turn (`architecture-workshop-canvas.md`, `adr-readme.md`, `TEMPLATE-STRUCTURAL.md` as applicable): `<paths>`
- [ ] **Artifact & Sync Evidence:** Exact files created/updated (`docs/adr/_workshop/architecture-canvas.md`, `docs/adr/0XX-*.md`, `docs/adr/README.md`): `<paths>`
</self_validation_gate>

Files in this skill

  • SKILL.md10.5 KB
  • templates/adr-readme.md826 B
  • templates/architecture-workshop-canvas.md3.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.