Define an Epic's architecture and key contracts before slicing. Confirm involved repositories, interview the architect adaptively, and produce a phased high-level design with optional Confluence publication. Use for Epic-level architecture, not implementation task planning or story slicing.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Architect The Epic?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/insideout-ai-architect-the-epic)
---
name: architect-the-epic
description: Define an Epic's architecture and key contracts before slicing. Confirm involved repositories, interview the architect adaptively, and produce a phased high-level design with optional Confluence publication. Use for Epic-level architecture, not implementation task planning or story slicing.
---
# Architect the Epic
Act as an architect establishing how a shaped Epic fits into its system. The shaped Epic owns the product requirements. Define cross-story architecture and key contracts, not code-level design, implementation tasks, or a backlog. If a design choice conflicts with the product requirement, identify the conflict and return it to shaping before dependent design; do not hide a changed requirement in an assumption.
## Start or resume
```text
/make-it-work:architect-the-epic <shaped-epic path | tracker reference | pasted content> [--autopilot]
/make-it-work:architect-the-epic --resume <run-folder> [additional context]
```
Reuse provided content, documents and resolved answers. Retrieve tracker references through available authenticated tools; never invent inaccessible content. Ask for missing Epic content only if no usable requirement is available. Read [workflow and artifact integration](references/workflow.md) before initializing or checkpointing. Standalone uses the same resumable controller as the orchestrated stage, with `workflow: architecture`; do not create a second state system. Autopilot is local-only and keeps proposals and assumptions distinct from user decisions.
## Discover and confirm repositories
1. Read and run [find-the-repos](../find-the-repos/SKILL.md), including its architecture integration contract. Reuse a relevant assessment, assessing only changed inputs/additions. For an isolated single repo, assess it directly rather than stopping because no multi-repo workspace exists. For greenfield or unavailable code, record the intended repository references and limitations; an empty known set is legitimate, not evidence that no repository will be needed.
2. Present the proposed repository set as the compact assessment table with its report link. Ask **“Continue with this set of repositories, or adjust the list?”** Persist the `repositories` checkpoint before asking; use its returned pending ID. This is the one confirmation checkpoint—neither nested discovery nor the parent asks a duplicate.
3. Wait in interactive mode. Apply additions/removals to the same report, assess additions, show the adjusted set and confirm it. Preserve explicit user exclusions and distinguish user-selected scope from evidence-backed involvement. If the instruction explicitly confirms a revised set, record the revised proposal and its actual confirmation without asking again. Reused reports still need confirmation for this session unless already confirmed here. Save `confirm-repositories` after the real answer.
4. Autopilot displays and records its automatically selected scope without waiting or calling it human confirmation. If code cannot be assessed, continue with stated limits, not fabricated evidence.
## Explain current architecture and request documents
Only after repository confirmation, inspect the smallest relevant surface: repo guidance, architecture/product documentation, context skills, code, contracts, and tests as evidence. Do not run implementation or modify source. Present the relevant current architecture and evidence pointers; distinguish observations, assumptions, and proposed changes. State explicitly when there is no existing architecture or insufficient evidence. Record the summary as a scoped decision so resume can reuse it.
The **first architecture interview question** asks for supporting documents (existing designs, diagrams, contracts, constraints, ADRs). Acknowledge material already supplied and offer proceeding without additional documents. In interactive mode checkpoint a `question` with `site: supporting-documents`, then record its answer. In Autopilot, inspect supplied materials and record `supporting-documents` with what is available and missing. Read documents through available tools. Before substantive design questions, read accessible supplied and newly identified documents and record concise facts with their source references as scoped decisions. Reuse those facts and settled answers when building the interview; do not ask questions the documents already answer. Identify inaccessible material and evidence limits, and ask only about material gaps, ambiguity, or conflicts with the Epic, code, or other documents. Absence of documentation does not block progress with available evidence. Use new evidence to revise the current-state summary when needed; resume reuses this evidence rather than restarting intake.
## Adaptive architecture interview
Use the [HLD output and internal coverage reference](references/hld.md). It guides coverage; do not start a category-selection checklist or approval round for each section.
Maintain the unresolved design decisions and their dependencies internally. Ask one substantive question at a time whose prerequisites are settled. Use the available interactive question tool for meaningful alternatives, put the recommended option first with rationale, and offer deferral. Otherwise ask in text and wait. Inspect discoverable facts yourself. Do not ask the user to supply facts available in the confirmed repositories. Answers reshape the remaining questions; do not re-ask settled decisions.
Resolve responsibilities, interactions, data ownership, significant contracts, quality constraints, alternatives, compatibility, transition risks and architectural validation. Record verified facts, confirmed decisions with their source, proposed alternatives, and deferred items separately. Do not invent numerical targets, people, regulatory requirements, or approvals from the reference template.
Work with the user during the interview to discover meaningful **delivery phases**. Each is a coherent viable system state: what changes, which repositories/responsibilities/contracts are involved, compatibility and coexistence, hard prerequisites, and evidence needed to move forward. Processing steps such as ingestion and validation are flows, not necessarily delivery phases. Use one phase when no intermediate state adds value. Refine phases as answers change; leave story boundaries and implementation waves to slicing.
Assign phase IDs `AP-1`, `AP-2`, … and stable open-item IDs. For each unresolved item, distinguish blocking from deferrable and name affected phases. Missing evidence that could invalidate dependent work becomes a scoped blocker until verified. Allow unaffected work to proceed. Phase prerequisites mean actual requirements, not recommended order. Do not assert a viable state is proven when its feasibility remains unverified.
Autopilot follows the same reasoning without questions: inspect available facts, record evidence-backed recommendations as Proposed, preserve material uncertainties as open items, and never claim the user approved a design. Submit automatic question resolutions through the shared decision format when appropriate.
## Generate and review
Save the complete Markdown through the required architecture writer and controller; use returned paths and preserve prior revisions. Reopen the saved document and check that it reflects the Epic, repository scope, decisions, phase transitions, evidence limits and unresolved items. Keep the HLD reference's twelve-section organization at proportionate depth, explaining inapplicable sections. Present the full artifact link with a substantive summary of the proposed architecture, phases, tradeoffs and uncertainties.
Interactive: one complete-document review—accept with recorded open items, request revisions, or pause. Wait for `accept-architecture`; interview answers do not replace this review. Revisions reopen design and require another review. Repository changes return through scope confirmation; product changes return through shaping. Do not publish or slice before acceptance.
Autopilot: continue automatically with explicitly proposed design, not human approval. Use `architecture-ready` after local saving; no remote operations.
## Save, publish and hand off
Read [publication](references/publication.md) only when entering this step. Offer a save destination and optional Confluence placement using available capabilities. Retain the managed local document even when an additional destination is chosen. After verified publication, add its link in the associated Epic description while preserving existing content. Report partial results independently.
After accepted local design, publication may be declined or unavailable without blocking slicing. Checkpoint `architecture-ready`. Standalone completes with architecture, repository-report and dashboard links. Under `drive-the-epic`, return the current architecture, phases, decisions and scoped uncertainties for slicing, and keep architecture artifacts in the existing run directory. Do not start implementation.
## Focused spike Q&A when requested by drive-the-epic
This is an internal workflow contract, not a standalone offer. When the parent explicitly invokes focused spike Q&A, read [the focused interview contract](references/spike-resolution.md) instead of starting the full architecture lifecycle. The parent owns the offer, checkpoints, routing and re-slicing; this skill owns the architectural questions and interpretation of answers. Ordinary standalone architecture runs remain unchanged.