Getting Started
Workflow - Storyline Docs
Complete guide to the Storyline workflow: from PRD to working code through epics, stories, specs, and implementation.
This guide walks through the complete Storyline workflow. Each stage produces structured markdown files that feed into the next, creating full traceability from requirements to code.
The Pipeline
PRD/Tech Spec β Epics β User Stories β Technical Specs β Implementation
β β β β β
[epic-creator] [story] [spec-story] [develop] β [create-plans] β Code
Stage 1: Epic Creation
Command: /sl-epic-creator [prd-file]
Epics are high-level features parsed from your PRD or technical spec. Each epic represents a substantial chunk of work that gets broken down into stories.
With an existing PRD
/sl-epic-creator docs/PRD.md
Youβll be prompted for an optional identifier (e.g., JIRA-123, feature-auth). This identifier propagates through all downstream artifacts.
Guided mode (no PRD)
/sl-epic-creator
Answer prompts to interactively create your PRD and epics.
Output
.storyline/
βββ PRD-jira-123.md
βββ epics/
βββ epic-jira-123-01-authentication.md
βββ epic-jira-123-02-task-management.md
βββ epic-jira-123-03-categories.md
Stage 2: Story Generation
Command: /sl-story-creator [epic-file]
User stories describe specific functionality from the userβs perspective. Each story follows INVEST criteria:
- Independent β Can be developed separately
- Negotiable β Details can be discussed
- Valuable β Provides user value
- Estimable β Can estimate effort
- Small β Completable in one iteration
- Testable β Has clear acceptance criteria
From an epic
/sl-story-creator .storyline/epics/epic-jira-123-01-authentication.md
Standalone stories (no epic)
For bug fixes, small features, or quick tasks:
/sl-story-creator
This launches guided mode that prompts for:
- Work type (bug fix, small feature, enhancement, task)
- Title and description
- User persona and acceptance criteria
Output
Epic-based stories:
.storyline/stories/epic-jira-123-01/
βββ story-01.md
βββ story-02.md
βββ story-03.md
Standalone stories:
.storyline/stories/.standalone/
βββ story-fix-login-validation.md
Stage 3: Technical Specs
Command: /sl-spec-story <story-file>
Technical specs translate user stories into implementation plans. Each spec includes:
- Architecture decisions
- File changes required
- Dependencies and imports
- Testing requirements
- Acceptance criteria verification
Spec strategies
For epic-based stories, choose a strategy:
- Simple (1:1): One story β one spec
- Complex (1:many): One story β multiple specs (for large stories)
- Combined (many:1): Multiple related stories β one spec
Standalone stories always use simple strategy.
Example
/sl-spec-story .storyline/stories/epic-jira-123-01/story-01.md
Output
.storyline/specs/epic-jira-123-01/
βββ spec-01.md
βββ spec-stories-02-03-combined.md
Stage 4: Implementation
Command: /sl-develop <spec-file>
Implementation executes the technical spec using Claudeβs autonomous planning system.
What happens
- Spec is converted to a PLAN.md format
- Work is broken into atomic tasks (2-3 per plan)
- Each task is executed with quality controls
- Tests run and errors are fixed
- Git commits are created using
/sl-commit - A SUMMARY.md links back to the original story
Example
/sl-develop .storyline/specs/epic-jira-123-01/spec-01.md
Output
Working code in your project, plus:
.storyline/.planning/jira-123-01-spec-01/
βββ PLAN.md
βββ SUMMARY.md
Bonus: Smart Commits
Command: /sl-commit [message]
Create git commits with conventional commit format:
- Analyzes git diff to understand changes
- Generates semantic messages (feat:/fix:/chore:)
- 50-character summary limit
- Detailed bulleted descriptions
/sl-commit # Auto-generate message
/sl-commit "Custom message" # Use custom message
Important: Commits are created but never auto-pushed. You decide when to ship.
Checking Progress
Command: /sl-setup status
See what youβve created and what to do next:
/sl-setup status
Shows:
- Current project state
- Existing epics, stories, and specs
- Suggested next steps
Directory Structure
A complete Storyline project:
my-project/
βββ .storyline/
β βββ README.md
β βββ PRD-jira-123.md
β βββ epics/
β β βββ epic-jira-123-01-auth.md
β β βββ epic-jira-123-02-tasks.md
β βββ stories/
β β βββ .standalone/
β β β βββ story-fix-login.md
β β βββ epic-jira-123-01/
β β β βββ story-01.md
β β β βββ story-02.md
β β βββ epic-jira-123-02/
β β βββ story-01.md
β βββ specs/
β β βββ .standalone/
β β β βββ spec-fix-login.md
β β βββ epic-jira-123-01/
β β βββ spec-01.md
β βββ .planning/
β βββ jira-123-01-spec-01/
β βββ PLAN.md
β βββ SUMMARY.md
βββ src/
Next Steps
- Quick Start β Walk through your first feature
- Commands Reference β Full command documentation
- FAQ β Common questions and troubleshooting