Transform a PRD into Linear issues with automatic layer-based dependencies
Transforms PRD documents into Linear issues with automatic layer-based dependency linking.
/plugin marketplace add theinfinityguides/software-assembly-line/plugin install software-assembly-line@software-assembly-line<prd-path> [--project-id <ID>] [--dry-run]Transform a PRD into Linear issues with automatic layer-based dependencies.
/sal:plan <prd-path> [--project-id <LINEAR_PROJECT_ID>] [--dry-run]
# Process PRD and create Linear issues
/sal:plan plans/feat-subscriptions.md --project-id PROJ-123
# Validate PRD and generate stories without creating issues
/sal:plan plans/feat-subscriptions.md --dry-run
# Process PRD in current directory
/sal:plan ./PRD.md
| Argument | Required | Description |
|---|---|---|
prd-path | Yes | Path to the PRD markdown file |
--project-id | No | Linear project ID for issue creation |
--dry-run | No | Generate stories but don't create Linear issues |
This command orchestrates the PRD-to-Linear pipeline by running planning agents in sequence:
Runs prd-structure-validator to ensure the PRD has required sections:
If validation fails, returns actionable feedback on what's missing.
Runs in parallel:
entity-extractor - Extracts database entities, fields, relationshipsflow-extractor - Extracts user flows, API endpoints, UI componentsBoth agents assign layer tags to extracted items.
Runs story-generator to create Linear-ready stories from extracted data:
[db:schema], [api], [web])Runs dependency-linker to set up blocks/blocked-by relationships:
If --project-id is provided:
Stories are ordered by layer (lower blocks higher):
| Priority | Tag | Description |
|---|---|---|
| 1 | db:lookup | Enum tables, seed data |
| 2 | db:schema | Database migrations |
| 3 | db:model | Drizzle schemas, queries |
| 4 | api:integration | External service integrations |
| 5 | api | RPC endpoints |
| 6 | web | Web components |
| 7 | app | Mobile app components |
| 8 | cluster | Background workers |
## Planning Report
### PRD Validation: PASS
### Entities Extracted: 3
- Subscription (new)
- Plan (new)
- User (modified)
### Flows Extracted: 4
- Subscribe to Plan
- Cancel Subscription
- View Subscription Status
- Upgrade/Downgrade Plan
### Stories Generated: 15
- db:schema: 2
- db:model: 2
- api:integration: 1
- api: 4
- web: 5
- app: 1
### Dependency Graph
[ASCII diagram]
### Critical Path: 7 stories (12 points)
### Ready for Linear Creation
Run without --dry-run to create issues.
## Planning Complete
### Linear Issues Created: 15
- PROJ-101: [db:schema] Create plans table migration
- PROJ-102: [db:schema] Create subscriptions table migration
...
### Dependencies Linked: 23 relationships
### Next Steps
1. Review issues in Linear
2. Assign issues to team members
3. Start work on unblocked issues
prd-structure-validator