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-extract
Load when code exists but no spec does — reverse-engineering story documentation from an existing implementation. Use for brownfield stories, code written before Speck was adopted, or when a feature was built without going through the spec flow. FIRST ACTION after loading: read both templates — ....
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
Before any other action — read BOTH templates now using the Read tool:
.speck/templates/story/story-template.md
.speck/templates/story/codebase-scan-template.md
This skill produces two artifacts. The first template defines spec.md structure; the second defines codebase-scan-extracted.md structure. Reading both first shapes what you extract from the existing code.
Checkpoint: After reading both, note each template's top-level sections. Then continue to Step 1.
Extract story-level specifications from existing code.
Establish the hierarchy:
Ask if not provided:
Look for natural story indicators:
Frontend Indicators:
Backend Indicators:
Full-Stack Indicators:
Determine if code represents:
For each identified story area:
# Examine the primary file
cat [FILE_PATH] | grep -E "function|class|export|def" | head -20
# Find related files
grep -r "[FUNCTION_NAME]" [PROJECT_PATH] --include="*.{js,ts,py,java,go}" | grep -v node_modules
# Look for tests
find [PROJECT_PATH] -name "*test*" -o -name "*spec*" | xargs grep -l "[FEATURE_NAME]"
# Check for documentation
grep -r "[FEATURE_NAME]" [PROJECT_PATH] --include="*.md"
User Story Format: From code behavior, infer:
Acceptance Criteria: From implementation, extract:
Technical Details: Document what exists:
Create story structure:
mkdir -p specs/projects/[PROJECT_ID]/epics/[EPIC_ID]/stories/[STORY_ID]-[story-name]
Generate the story artifacts using existing Speck templates (this command does NOT have its own output template).
spec.md (WHAT/WHY) using the story spec template:.speck/templates/story/story-template.md[NEEDS CLARIFICATION: ...]codebase-scan-extracted.md (HOW/WHERE evidence) using the scan template:.speck/templates/story/codebase-scan-template.mdTraceability markers:
[FROM SCAN] for facts derived directly from code reading/search[INFERRED] for inferred behavior not directly verifiedFor extracting multiple stories:
# Find all endpoints in a router
grep -E "get\(|post\(|put\(|delete\(" [ROUTER_FILE]
# Find all page components
find [PAGES_DIR] -name "*.jsx" -o -name "*.tsx" | grep -v test
# Find all service methods
grep -E "async|function|def" [SERVICE_FILE] | grep -v private
Group related code into stories:
Create multiple story specs efficiently:
Return an extraction summary as command output (do not introduce a new “report template” doc).
Include:
/story-clarify, /story-plan, /story-validate, or follow-up scanPresent extraction results:
Ask for validation:
Based on extraction:
If mostly complete:
/story-validate for quality check"If many gaps:
/story-plan for missing pieces"/story-scan for a deep, HIGH-confidence implementation guide before planning"If messy code:
Successful extraction:
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