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-scan
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...
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 this template now using the Read tool:
.speck/templates/story/codebase-scan-template.md
The template defines required sections and formatting for codebase-scan.md, including how to document existing patterns, file references, and copy-paste-adapt examples. Reading it first ensures your scan findings land in the structure story-plan expects.
Checkpoint: After reading, note the top-level sections from the template. Then continue to Step 1.
Deep dive into codebase to find specific implementations to guide this story's development.
Time: 20-30 minutes (thorough code reading)
Confidence: HIGH - actual code read and analyzed
Purpose: Find EXACTLY how to build THIS story
Output: Implementation guide with copy-paste-adapt examples
/story-specify or /story-clarify - Before planning implementation/epic-scan (optional) - Epic-scan found patterns, story-scan finds specifics/story-plan - Inform technical design with real implementationsWhen to SKIP:
Relationship to other scans:
/project-scan → Spotted potential areas (LOW confidence)/epic-scan → Found relevant patterns (MEDIUM confidence)/story-scan → Deep implementation guide (HIGH confidence) ← You are hereThis command benefits from parallel speck-scanner execution for domain analysis:
├── [Parallel] speck-scanner: "Deep analyze auth patterns in src/"
├── [Parallel] speck-scanner: "Deep analyze API patterns in src/api/"
├── [Parallel] speck-scanner: "Deep analyze data models in src/models/"
├── [Parallel] speck-scanner: "Deep analyze UI components in src/components/"
├── [Parallel] speck-scanner: "Analyze testing patterns in tests/"
├── [Parallel] speck-scanner: "Analyze error handling patterns in src/"
├── [Parallel] speck-scanner: "Quick scan logging patterns in src/"
├── [Parallel] speck-scanner: "Quick scan code conventions in src/"
└── [Wait] → Synthesize into codebase-scan-*.md
Each scanner returns domain-specific patterns and examples.
Speedup: 5-6x compared to sequential scanning.
Locate the active story directory (STORY_DIR):
contracts/)spec.mdspec.md exists: Load it to understand story domainCheck if codebase exists:
Determine project type:
Perform analysis:
A. Structure Analysis:
B. Technology Stack:
C. Pattern Detection (focus on feature domain if specified):
D. Reference Implementations:
E. Convention Analysis:
F. Conflict Detection:
Generate scan report:
CRITICAL: Load and follow the template exactly:
.speck/templates/story/codebase-scan-template.md
The template is self-documenting - follow all sections and guidelines within it.
Save scan report:
{STORY_DIR}/codebase-scan-{domain/similar-to}.mdReport completion:
Confidence statement:
**Confidence Level**: HIGH
This scan involved:
- ✅ Reading actual source code (not just file names)
- ✅ Extracting real implementation examples
- ✅ Validating patterns through code inspection
- ✅ Identifying specific file paths and line numbers
You can trust these findings for implementation planning.
However, always verify during implementation that:
- Code hasn't changed since scan
- Pattern still fits your specific use case
- No hidden dependencies exist
Behavior rules:
Optional context:
/project-scan - May have spotted similar areas/epic-scan - May have found relevant patternsFeeds into:
/story-plan - Uses findings to create technical design/story-tasks - Implementation guided by scan examplesConfidence comparison:
/project-scan → LOW confidence (directory scan)
/epic-scan → MEDIUM confidence (pattern matching)
/story-scan → HIGH confidence (code reading) ← Most detailed
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 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 for brownfield epics to analyze existing code patterns and implementations relevant to this epic's domain before planning. Use when the epic modifies or extends significant existing functionality. Skip for fully greenfield epics. FIRST ACTION after loading: read template at .speck/templates/...
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