/epic:specfrom epic
Converts user requirements into a numbered Requirements + Acceptance Criteria document saved as SPEC-{timestamp}.md. Includes a readiness gate to surface missing decisions before implementation.
Ships in epic. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
CRITICAL: Run EPIC_PROJECT_DIR=$(epic-harness path) first. NEVER use .harness/ in the project directory.
Understand the request
.epic/team.md (or .epic/team.local.md) has a ## spec section, each of its bullets is required spec content, not advice. Missing one is a GAP: in the readiness gate.Produce the spec Write a concise spec covering:
R1, R2, ...) of concrete, testable behaviorsAC1, AC2, ...) — observable outcomes that prove each requirement is metReadiness gate (adversarial, one pass, before approval) Ask one question of the draft: could a different engineer implement this spec without inventing a decision that nothing records?
GAP: R{n} — {missing decision}. A gap is located, not vague: it points at one R or AC./audit, where it costs a rebuild.Confirm with user Show the spec in digestible chunks. Get explicit approval before proceeding.
Save the approved spec to $EPIC_PROJECT_DIR/specs/SPEC-{timestamp}.md using this exact format:
---
status: approved
created: {ISO-8601 timestamp}
goal_slug: {kebab-case-goal-summary}
---
# SPEC-{timestamp}: {Goal}
## Goal
{One sentence}
## Scope
- In: {what is included}
- Out: {what is explicitly excluded}
## Requirements
- R1: {concrete testable behavior}
- R2: {concrete testable behavior}
## Acceptance Criteria
- AC1 (R1): {observable outcome proving R1}
- AC2 (R2): {observable outcome proving R2}
## Technical Notes
{Constraints, dependencies, edge cases}
## Readiness Gate
{One line per gap found in step 3, each with how it was settled, or `none`:}
- GAP: R{n} — {decision the spec did not settle} → settled: {answer, and who decided: user | assumption}
## Implementation Notes
<!-- Agent-owned. Append-only during /go: decisions the spec left open, files touched beyond the plan, surprises. Empty at approval. Sections above this line are frozen after approval. -->
After saving:
epic team status.
/team to set up a project-specific agent team before /go."/go to start building."| Excuse | Rebuttal | What to do instead |
|---|---|---|
| "It's a small change, I'll just code it" | Small changes still have wrong assumptions | Write the spec — it takes 2 minutes |
| "I'll refine the spec after coding" | Spec after code is documentation, not planning | Spec first, code second |
| "The user didn't give me enough detail" | Then ask — don't invent requirements | Ask focused questions, max 3 at a time |
$EPIC_PROJECT_DIR/specs/SPEC-{timestamp}.mdstatus: approved## Readiness Gate (or none)## Implementation Notes present and emptyGAP: line ("the implementer will figure it out" is the gate failing)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub epicsagas/epic-harness --plugin epic27 skills in this plugin
/agent-introspectionLoop-breaking self-diagnosis. Use when 3+ consecutive failures occur, circular retries persist, or context overwhelms the session./auditAudit phase. Parallel review: code quality + security + tests + runtime behavior probe. Read-only evaluator agents. Semantic dedup of cross-mode findings. Outputs PASS/WARN/FAIL per dimension. Validates spec coverage./commitConventional Commits 1.0 generator. Stages relevant files, infers type(scope): description, never uses --no-verify./contextWorking-state snapshot guidance. Restates task/files/decisions in one block so state survives context compaction. Compaction timing is the host's job./council4-voice parallel deliberation (Architect · Skeptic · Pragmatist · Critic) for architecture, tech selection, or design decisions with no clear answer. Anti-anchoring: each voice gets independent context. Records decision in harness-mem./_criticHarnessX Critic (Tier 2.1) — adversarial review of evolved-skill proposals against trace evidence. Detects reward hacking and manifest/evidence contradictions. Out-of-band LLM counterpart to the in-loop deterministic critic in src/evolve/critic.rs.Other plugins' skills for the same job