project-brainstorm
Load when a user has a vague idea, problem, or inspiration but isn't sure what to build. Use before /project-specify when the project concept needs crystallizing from loose thoughts into something concrete.
story-analyze
DEPRECATED in Speck v7 as a standalone step. The v6 story-analyze (pre-implementation cross-check of spec/plan/tasks) is now split into two v7 mechanisms — (1) the final pass at the tail of /story-tasks that validates consistency before implementation begins, and (2) the adversarial pass in /audi...
Full skill instructions
The user input to you can be provided directly by the agent or as a command argument - you MUST consider it before proceeding with the prompt (if not empty).
User input:
$ARGUMENTS
This skill is split in Speck v7:
/story-analyze purpose: "does spec/plan/tasks line up?") is now part of /story-tasks final pass/audit, run between /story-implement and /story-validateRecommended v7 path: /story-plan → /story-tasks (includes consistency check at tail) → /story-implement → /audit (adversarial) → /story-validate
This skill continues to work for v6 projects (back-compat). For new v7 work, prefer the path above.
Before any other action — read this template now using the Read tool:
.speck/templates/story/analysis-report-template.md
The template defines required sections and formatting for analysis-report.md. Reading it first ensures your cross-artifact analysis produces findings in the expected structure. Generating this report from memory produces wrong output.
Checkpoint: After reading, note the top-level sections from the template. Then continue to Step 1.
Goal: Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (spec.md, plan.md, tasks.md) before implementation. This command MUST run only after /story-tasks has successfully produced a complete tasks.md.
Output: This command writes analysis-report.md to the story directory. The orchestrator uses this file to detect that analysis is complete and implementation can proceed.
This command benefits from parallel speck-auditor execution for independent checks:
├── [Parallel] speck-auditor: "Find near-duplicate requirements in spec/plan/tasks"
├── [Parallel] speck-auditor: "Flag vague adjectives and [TBD] placeholders"
├── [Parallel] speck-auditor: "Verify all requirements map to tasks"
├── [Parallel] speck-auditor: "Check constitution principle compliance"
├── [Parallel] speck-auditor: "Verify plan uses patterns from codebase scans"
└── [Wait] → Synthesize into analysis report
Each auditor returns findings with severity → Combine into report.
Speedup: 3-4x compared to sequential checking.
Output Mode: Write the analysis report to {STORY_DIR}/analysis-report.md using the template at .speck/templates/story/analysis-report-template.md. This file is used by the orchestrator to detect that analysis is complete. Do NOT modify spec.md, plan.md, or tasks.md - only create the analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).
Constitution Authority: The applicable constitution chain (project + epic) is non-negotiable within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside /analyze.
Execution steps:
Locate the active story directory (STORY_DIR):
contracts/)spec.mdspec.md found: instruct user to cd into the story directory or run /speck to route{STORY_DIR}/spec.md{STORY_DIR}/plan.md{STORY_DIR}/tasks.md
Abort with an error message if any required file is missing (instruct the user to run the missing prerequisite command).Load artifacts:
specs/projects/<PROJECT_ID>/constitution.md (optional){EPIC_DIR}/constitution.md (optional){STORY_DIR}/constitution.md (if exists)Note: Research is embedded in plan.md "Research Informing This Plan" section - extract technical decisions from there.
Build internal semantic models:
user-can-upload-file).Detection passes:
A. Duplication detection:
B. Ambiguity detection:
C. Underspecification:
D. Constitution alignment:
E. Coverage gaps:
F. Research information completeness:
G. Codebase pattern information loss:
H. Task context richness check:
I. Inconsistency:
J. Research alignment:
K. Codebase pattern adherence (IF codebase-scan-*.md exists):
Severity assignment heuristic (ENHANCED):
Produce analysis report and save to {STORY_DIR}/analysis-report.md:
CRITICAL: Load and follow the template exactly:
.speck/templates/story/analysis-report-template.md
Key sections to populate:
| ID | Category | Severity | Location(s) | Summary | Recommendation |
|---|---|---|---|---|---|
| A1 | Duplication | HIGH | spec.md:L120-134 | Two similar requirements ... | Merge phrasing; keep clearer version |
| (Add one row per finding; generate stable IDs prefixed by category initial.) |
Additional subsections:
At end of report, output a concise Next Actions block:
/story-implement.Ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply them automatically.)
Behavior rules:
Context: $ARGUMENTS
Load when a user has a vague idea, problem, or inspiration but isn't sure what to build. Use before /project-specify when the project concept needs crystallizing from loose thoughts into something concrete.
Load when using Docker for containerizing applications. Applies when creating Dockerfiles, docker-compose setups, multi-stage builds, or optimizing container images.
Enforce visual design quality in every UI file. Fires for .tsx, .jsx, .vue, .svelte, and similar component files. Ensures implementations express the project's design personality rather than producing generic/boilerplate UI.
Load after project.md exists to fill gaps through targeted Q&A. Use when project goals, target users, or scope feel underspecified. Run before project-context or project-architecture to prevent rework downstream.
DEPRECATED in Speck v7. Use /speck-skeptical-review + /speck-decision-log instead — they replace outline-style research mapping with structured alternative enumeration and decision locking. /story-plan now performs just-in-time research inline. This skill remains for v6 compatibility but redirect...
Load when building offline-first applications that work without network connectivity. Applies when implementing local storage, sync queues, conflict resolution, or background sync.
Load (Platform play level only) to define technical principles and architectural guardrails for the project. Produces constitution.md — optional but valuable when a team needs explicit coding standards, governance rules, or non-negotiable constraints. FIRST ACTION after loading: read template at ...
Load when integrating PostHog for product analytics and feature flags. Applies when implementing event tracking, A/B testing, session replay, or funnel analysis.
Load when all epics are validated and /audit has run for the project. Verifies the project meets its original vision and product-contract.md paid promise. Runs end-to-end JTBD smoke test via /larp across all personas. Declares a project-level readiness state. Produces project-validation-report.md...
Load for brownfield stories where existing code must be understood before planning. Use when a story extends, modifies, or integrates with significant existing functionality. Produces codebase-scan.md — skip for fully greenfield stories. FIRST ACTION after loading: read template at .speck/templat...
Load when building serverless applications with AWS Lambda, Vercel Functions, or Cloudflare Workers. Applies when implementing FaaS patterns, managing cold starts, or optimizing serverless costs.
Load after epic-tech-spec.md and epic-breakdown.md exist — quality check for consistency and completeness before any story work begins. Catches spec drift and missing coverage between the tech spec and story breakdown. FIRST ACTION after loading: read template at .speck/templates/epic/epic-analys...
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience