
Saas Pipeline
- 8 installs
- 3 repo stars
- Updated February 11, 2026
- thomaspraun/saas-pipeline
Helps with ai & agent building tasks.
About
saas-pipeline is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.
- saas-pipeline
- AI & Agent Building
- AI-coding skill
Saas Pipeline by the numbers
- 8 all-time installs (skills.sh)
- Ranked #12,322 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Jul 27, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thomaspraun/saas-pipeline --skill saas-pipelineAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 8 |
|---|---|
| repo stars | ★ 3 |
| Last updated | February 11, 2026 |
| Repository | thomaspraun/saas-pipeline ↗ |
What it does
Helps with ai & agent building tasks.
Files
SaaS Pipeline Coordinator
Coordinate, never execute. Read project state, route to the correct skill, track progress, delegate all work.
- Explicit invocation only - activate only when invoked
- Stack-agnostic - read tech stack from project's
CLAUDE.md(## Tech Stack). If absent, ask before phase 4 - Progressive disclosure - load
references/phase-N-*.mdonly when entering a phase - No duplication - delegate to skills, never reimplement their work
- Desync safety - verify actual file existence, not just status.json claims
- Skill-aware delegation - MANDATORY: every subagent prompt must include a
=== READ FIRST ===block with relevant skills (see Skill Injection Rule)
---
State Management
Initialize
When .claude/saas-project/ does not exist, create it with status.json:
{
"project_name": "<ask user>",
"created_at": "<ISO-8601>",
"updated_at": "<ISO-8601>",
"current_phase": 1,
"stack": { "frontend": "<from CLAUDE.md or null>", "backend": "<from CLAUDE.md or null>" },
"phases": {
"1-idea": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] },
"2-business": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] },
"3-product": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] },
"4-architecture": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] },
"5-design": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] },
"6-implementation": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] },
"7-deployment": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] },
"8-marketing": { "status": "pending", "started_at": null, "completed_at": null, "outputs": [] }
}
}Update
After each significant action, update updated_at, phase status/timestamps, outputs array, and current_phase.
---
Router
Execute on every invocation:
Step 1: Load State
Read .claude/saas-project/status.json. If missing, initialize first.
Step 2: Classify Intent
| Intent | Action |
|---|---|
| "what's next" / no clear intent | Auto-route (Step 3) |
| "status" / "dashboard" | Show dashboard |
| "go to phase N" / "start phase N" | Validate prerequisites, execute |
| Specific skill name | Verify phase, delegate |
| "team" / "parallel" | Evaluate parallelism (see Agent Teams) |
| "skip to N" | Check required outputs exist, allow if yes |
Step 3: Auto-Route
phase = phases[current_phase]
IF pending → read references/phase-N-*.md, invoke first skill
IF in_progress → find next pending skill in phase, invoke it
IF completed → advance current_phase, start nextSkill Injection Rule
MANDATORY for every subagent dispatch. Always run the scan — never skip it.
Before dispatching any agent (Task tool or Agent Team):
1. Scan ~/.claude/skills/ — match skill names/descriptions to the agent's task technology and type 2. Select up to 4-5 relevant skills 3. For each selected skill, read its SKILL.md and check for a Reference Guide table or references/ directory. Include references whose topics match the agent's task 4. Prepend a === READ FIRST === block listing each skill's SKILL.md AND its matching references. If no skills match, dispatch without the block — not every task needs skills
=== READ FIRST ===
Read: ~/.claude/skills/{skill-a}/SKILL.md
Read: ~/.claude/skills/{skill-a}/references/{matching-ref}.md
Read: ~/.claude/skills/{skill-b}/SKILL.md
=== END READ ===Example — Flutter frontend implementer (skill with references):
The flutter-expert SKILL.md has a Reference Guide table. Task involves Riverpod state and navigation → include those references:
Task("Implement Task 2: User dashboard screen
=== READ FIRST ===
Read: ~/.claude/skills/flutter-expert/SKILL.md
Read: ~/.claude/skills/flutter-expert/references/riverpod-state.md
Read: ~/.claude/skills/flutter-expert/references/gorouter-navigation.md
Read: ~/.claude/skills/flutter-expert/references/widget-patterns.md
Read: ~/.claude/skills/test-driven-development/SKILL.md
=== END READ ===
=== TASK ===
You are implementing Task 2: User dashboard screen
[... full task text, context, requirements ...]
=== END TASK ===
")Example — backend implementer (skill without references):
nodejs-backend-patterns has no reference files, so only SKILL.md is needed:
Task("Implement Task 3: Auth module
=== READ FIRST ===
Read: ~/.claude/skills/nodejs-backend-patterns/SKILL.md
Read: ~/.claude/skills/test-driven-development/SKILL.md
=== END READ ===
=== TASK ===
You are implementing Task 3: Auth module
[... full task text, context, requirements ...]
=== END TASK ===
")When using `subagent-driven-development`: its implementer-prompt.md does NOT include skill injection. You MUST prepend the === READ FIRST === block before the template content — the block goes at the very top, before "You are implementing Task N."
For the full scanning algorithm, see references/skill-injection-protocol.md.
Dashboard
Display on status requests:
╔══════════════════════════════════════════════╗
║ PROJECT: {project_name} ║
║ Stack: {frontend} + {backend} ║
╠══════════════════════════════════════════════╣
║ Phase 1 - Idea ████████████ 100% ║
║ Phase 2 - Business ████████░░░░ 67% ║
║ Phase 3 - Product ░░░░░░░░░░░░ 0% ║
║ Phase 4 - Architecture ░░░░░░░░░░░░ 0% ║
║ Phase 5 - Design ░░░░░░░░░░░░ 0% ║
║ Phase 6 - Implementation░░░░░░░░░░░░ 0% ║
║ Phase 7 - Deployment ░░░░░░░░░░░░ 0% ║
║ Phase 8 - Marketing ░░░░░░░░░░░░ 0% ║
║ ║
║ Current: Phase 2 → Next: startup-biz-models ║
╚══════════════════════════════════════════════╝Calculate percentage: skills completed / total skills in phase.
---
The 8 Phases
When entering a phase, read its reference file for detailed workflow.
| # | Phase | Skills | Key Output | Exit Gate | Reference |
|---|---|---|---|---|---|
| 1 | Idea | brainstorming | Design doc | Committed to repo | references/phase-1-idea.md |
| 2 | Business | business-model-canvas → startup-business-models | Canvas + pricing | Score >= 60, pricing defined | references/phase-2-business.md |
| 3 | Product | product-manager-toolkit → product-marketing-context | PRD + context | PRD with acceptance criteria | references/phase-3-product.md |
| 4 | Architecture | ux-flow-designer → backend-architect, ui-ux-pro-max + stack discovery | Arch docs + API contracts | Contracts defined | references/phase-4-architecture.md |
| 5 | Design | ui-ux-pro-max | Design system | Colors, typography, components | references/phase-5-design.md |
| 6 | Implementation | writing-plans → git-worktrees → {executing-plans OR subagent-dev} + TDD + debug + review + verify → finish-branch | Working code | Tests pass, review approved | references/phase-6-implementation.md |
| 7 | Deployment | docker-expert | Dockerfile + compose | Containers healthy | references/phase-7-deployment.md |
| 8 | Marketing | landing-page-copywriter, email-sequence, marketing-ideas, CRO-expert, remotion | Marketing assets | Landing + emails live | references/phase-8-marketing.md |
Gateway Skills
Always invoke these before their dependent work:
| Skill | Gate For |
|---|---|
| brainstorming | Any creative/feature work |
| product-marketing-context | All marketing skills (phase 8) |
| test-driven-development | Implementation code (phase 6) |
| verification-before-completion | Any completion claim |
Utility Skills (always available)
find-skills (discover/install), skill-creator (create custom), dispatching-parallel-agents (orchestrate teams)
---
Agent Teams
Three parallelism opportunities via dispatching-parallel-agents. Always offer sequential as alternative.
Before dispatching agents, apply the Skill Injection Rule. Each agent gets skills matching its domain (frontend tech skills for frontend agent, backend tech skills for backend agent, plus methodology skills like TDD).
1. Phases 4+5: Architecture + Design
When project has separate frontend/backend stack:
Agent A: backend-architect → API design, data models
Agent B: ui-ux-pro-max → UI architecture + design system
Sync: align API contracts with UI data needs2. Phase 6: Frontend + Backend
When API contracts are defined:
Agent A: Frontend → implement UI against contracts (mock responses)
Agent B: Backend → implement API endpoints matching contracts
Sync: integration testing3. Phase 8: All Marketing
All 5 skills are fully independent:
Agent A: landing-page-copywriter
Agent B: email-sequence
Agent C: marketing-ideas
Agent D: conversion-optimization-expert
Agent E: remotion-best-practicesOn team acceptance: read relevant references/, use dispatching-parallel-agents to set up, give each agent project context + phase requirements.
---
Auto-Install Missing Skills
On every invocation, verify skills for current and next phase are installed.
FOR each skill in current_phase:
CHECK ~/.claude/skills/{skill-name}/ exists
IF missing → read references/install-commands.md, inform user, offer install command, block phase if declined---
Stack-Specific Skill Discovery
Discover stack-matching skills dynamically. Never hardcode stack-to-skill mappings.
Trigger at: 1. Project initialization (after reading stack from CLAUDE.md) 2. Phase 4 start (before architecture work)
READ stack from CLAUDE.md
FOR each technology in stack:
CHECK ~/.claude/skills/ for matching skill
IF not found → RUN: npx skills find {technology}
PRESENT results, OFFER install with -g -y---
Non-Linear Navigation
- Skip ahead: allowed if target phase's required inputs exist (phase 4 needs design doc, phase 6 needs architecture + contracts, phase 8 needs
.claude/product-marketing-context.md) - Go back: always allowed, never deletes previous outputs
- Partial phases: track individual skill completion; resume from last incomplete skill, not phase start
FOR each skill in phase.skills:
IF output in phase.outputs → skip
ELSE → next skill to executeMIT License
Copyright (c) 2026 Thomas Praun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
saas-pipeline
A Claude Code skill that orchestrates 28 skills across 8 phases to take a SaaS project from idea to launch.
What it does
saas-pipeline is a coordinator — it never executes work itself. Instead, it:
- Tracks your project's current phase in
.claude/saas-project/status.json - Routes you to the right skill based on where you are
- Manages transitions between phases with exit criteria
- Offers parallel execution with agent teams when possible
The 8 Phases
| # | Phase | Skills | Key Output |
|---|---|---|---|
| 1 | Idea | brainstorming | Design document |
| 2 | Business | business-model-canvas, startup-business-models | Canvas + pricing |
| 3 | Product | product-manager-toolkit, product-marketing-context | PRD + marketing context |
| 4 | Architecture | ux-flow-designer, backend-architect, ui-ux-pro-max | Architecture + API contracts |
| 5 | Design | ui-ux-pro-max | Design system |
| 6 | Implementation | writing-plans, git-worktrees, TDD, code-review, verification + 6 more | Working, tested code |
| 7 | Deployment | docker-expert | Dockerfile + docker-compose |
| 8 | Marketing | landing-page-copywriter, email-sequence, marketing-ideas, CRO, remotion | Marketing assets |
Install
npx skills add <repo-url>@saas-pipeline -g -yUsage
Invoke in any project:
/saas-pipelineThe coordinator will: 1. Initialize a new project (if none exists) 2. Show the dashboard with current progress 3. Suggest the next skill to run 4. Auto-install missing skills as needed
Common commands
| Command | What happens |
|---|---|
/saas-pipeline | Auto-route to next action |
/saas-pipeline status | Show visual dashboard |
/saas-pipeline go to phase 4 | Jump to a specific phase |
/saas-pipeline team | Evaluate parallel execution options |
Stack-agnostic
The skill reads your tech stack from your project's CLAUDE.md (## Tech Stack section). If no stack is defined, it asks before Phase 4 (Architecture).
It dynamically discovers stack-specific skills using find-skills — no hardcoded stack assumptions.
Agent Teams
Three opportunities for parallel execution:
1. Phases 4+5 — Architecture + Design in parallel (separate frontend/backend) 2. Phase 6 — Frontend + Backend implementation in parallel (when API contracts exist) 3. Phase 8 — All 5 marketing skills simultaneously (fully independent)
Structure
saas-pipeline/
├── SKILL.md # Coordinator logic (router, state, phases)
└── references/
├── install-commands.md # Skill install commands (loaded on demand)
├── phase-1-idea.md # Ideation workflow
├── phase-2-business.md # Business model workflow
├── phase-3-product.md # Product definition workflow
├── phase-4-architecture.md # Architecture workflow
├── phase-5-design.md # Design system workflow
├── phase-6-implementation.md # Implementation workflow
├── phase-7-deployment.md # Deployment workflow
└── phase-8-marketing.md # Marketing workflowLicense
MIT
Install Commands
Load this file when a required skill is missing and needs installation.
| Skill | Phase | Install Command |
|---|---|---|
| brainstorming | 1 | npx skills find brainstorming |
| business-model-canvas | 2 | npx skills add scientiacapital/skills@business-model-canvas -g -y |
| startup-business-models | 2 | npx skills add vasilyu1983/ai-agents-public@startup-business-models -g -y |
| product-manager-toolkit | 3 | npx skills find product-manager-toolkit |
| product-marketing-context | 3 | npx skills find product-marketing-context |
| ux-flow-designer | 4 | npx skills add ThomasPraun/ux-flow-designer@ux-flow-designer -g -y |
| backend-architect | 4 | npx skills add sickn33/antigravity-awesome-skills@backend-architect -g -y |
| ui-ux-pro-max | 4,5 | npx skills find ui-ux-pro-max |
| writing-plans | 6 | npx skills find writing-plans |
| using-git-worktrees | 6 | npx skills find using-git-worktrees |
| executing-plans | 6 | npx skills find executing-plans |
| subagent-driven-development | 6 | npx skills find subagent-driven-development |
| test-driven-development | 6 | npx skills find test-driven-development |
| systematic-debugging | 6 | npx skills find systematic-debugging |
| requesting-code-review | 6 | npx skills find requesting-code-review |
| receiving-code-review | 6 | npx skills find receiving-code-review |
| verification-before-completion | 6 | npx skills find verification-before-completion |
| finishing-a-development-branch | 6 | npx skills find finishing-a-development-branch |
| docker-expert | 7 | npx skills find docker-expert |
| landing-page-copywriter | 8 | npx skills add onewave-ai/claude-skills@landing-page-copywriter -g -y |
| email-sequence | 8 | npx skills add coreyhaines31/marketingskills@email-sequence -g -y |
| marketing-ideas | 8 | npx skills add davila7/claude-code-templates@marketing-ideas -g -y |
| conversion-optimization-expert | 8 | npx skills add sitechfromgeorgia/georgian-distribution-system@conversion-optimization-expert -g -y |
| remotion-best-practices | 8 | npx skills find remotion-best-practices |
| dispatching-parallel-agents | util | npx skills find dispatching-parallel-agents |
| find-skills | util | npx skills add https://github.com/vercel-labs/skills --skill find-skills |
| skill-creator | util | npx skills find skill-creator |
Phase 1: Ideation
Objective
Transform a raw idea into a structured, validated design document ready for business analysis.
Skills
| Order | Skill | Purpose |
|---|---|---|
| 1 | brainstorming | Explore the idea space, validate assumptions, define scope |
Workflow
Step 1: Invoke Brainstorming
Delegate to brainstorming with the user's initial idea. The skill handles intent exploration, problem mapping, alternative generation, convergence, and documentation.
Step 2: Save Design Document
Ensure the output is saved to:
docs/plans/{project-name}-design.mdStep 3: Commit
git add docs/plans/
git commit -m "docs: add design document for {project-name}"Exit Criteria
- [ ] Design document exists in
docs/plans/ - [ ] Document covers problem, audience, solution, MVP features
- [ ] Document committed to the repository
- [ ] User has reviewed and approved the direction
Phase 2: Business Model
Objective
Define a sustainable business model with clear revenue streams, pricing strategy, and unit economics.
Skills
| Order | Skill | Purpose |
|---|---|---|
| 1 | business-model-canvas | Map all 9 building blocks of the business |
| 2 | startup-business-models | Define pricing model, tiers, and unit economics |
Workflow
Step 1: Business Model Canvas
Delegate to business-model-canvas with the Phase 1 design document (docs/plans/{project-name}-design.md).
Target: canvas score >= 60. If below, iterate on weak blocks before proceeding.
Step 2: Pricing and Unit Economics
Delegate to startup-business-models with the canvas output.
Step 3: Save Documents
docs/business/
business-model-canvas.md
pricing-strategy.mdExit Criteria
- [ ] Business Model Canvas completed with score >= 60
- [ ] Revenue model type selected and justified
- [ ] Pricing tiers defined (at least free + paid, or trial + paid)
- [ ] Unit economics estimated (LTV, CAC, gross margin)
- [ ] Documents saved to
docs/business/
Notes
- Usage-based pricing needs metering infrastructure — capture as input for Phase 4
Phase 3: Product Definition
Objective
Create a PRD with acceptance criteria and establish the product marketing context for Phase 8.
Skills
| Order | Skill | Purpose |
|---|---|---|
| 1 | product-manager-toolkit | Create PRD, define features, prioritize backlog |
| 2 | product-marketing-context | Create the shared marketing context document |
Workflow
Step 1: Product Requirements Document
Delegate to product-manager-toolkit with:
- Phase 1: Design document (
docs/plans/{project-name}-design.md) - Phase 2: Business model (
docs/business/)
Save to docs/product/prd.md.
Step 2: Product Marketing Context
Delegate to product-marketing-context.
Creates .claude/product-marketing-context.md — gateway requirement for Phase 8. Without this file, marketing skills lack essential context.
Step 3: Verify Outputs
docs/product/
prd.md
.claude/
product-marketing-context.mdExit Criteria
- [ ] PRD exists with feature specs and acceptance criteria
- [ ] Features prioritized (RICE or similar)
- [ ] User stories defined for MVP features
- [ ]
.claude/product-marketing-context.mdcreated and populated - [ ] User has reviewed and approved the PRD
Phase 4: Technical Architecture
Contents
Objective
Define technical architecture, API contracts, and data models. Ensure stack-specific skills are available.
Skills
| Order | Skill | Purpose |
|---|---|---|
| 1 | ux-flow-designer | User flow diagrams, screen maps, HTML wireframes |
| 2 | find-skills | Discover stack-specific skills |
| 3 | backend-architect | API design, data models, infrastructure |
| 4 | ui-ux-pro-max | UI architecture, component hierarchy |
Prerequisites
Stack must be defined before starting. Read ## Tech Stack from project's CLAUDE.md. If absent, ask the user. Update status.json with chosen stack.
Workflow
Step 1: UX Flows
Delegate to ux-flow-designer with PRD from phase 3. Produces user flow diagrams, screen maps, and HTML wireframes.
Save to docs/architecture/ux-flows/.
Step 2: Stack-Specific Skill Discovery
FOR each technology in stack:
RUN: npx skills find {technology}
PRESENT results, OFFER installStep 3: Backend Architecture
Delegate to backend-architect with context from phases 1-3, UX flows from Step 1, and backend stack.
Save to docs/architecture/backend-architecture.md.
Step 4: UI Architecture
Delegate to ui-ux-pro-max with PRD, UX flows from Step 1, API contracts from Step 3, and frontend stack.
Save to docs/architecture/ui-architecture.md.
Step 5: API Contract Alignment
Verify backend contracts align with UI data needs. Resolve mismatches.
Save final contracts to docs/architecture/api-contracts.md.
Team Opportunity
Phases 4+5 can run in parallel if separate frontend/backend stack:
Agent A: backend-architect → backend architecture
Agent B: ui-ux-pro-max → UI architecture + design system (phase 5)
Sync: API contract alignment after both completeExit Criteria
- [ ] User flow diagrams and screen maps created
- [ ] Backend architecture documented
- [ ] UI architecture documented
- [ ] API contracts defined and aligned
- [ ] Stack-specific skills discovered and installed
- [ ] All documents in
docs/architecture/
Notes
- API contracts are the critical handoff for Phase 6 parallel implementation
- Consider billing/metering requirements from Phase 2
Phase 5: Design System
Objective
Define the product's visual language: colors, typography, spacing, components, and interaction patterns.
Skills
| Order | Skill | Purpose |
|---|---|---|
| 1 | ui-ux-pro-max | Design system creation, component design, visual language |
Workflow
Step 1: Create Design System
Delegate to ui-ux-pro-max with:
- Phase 3: PRD (user personas, product positioning)
- Phase 4: UI architecture (component hierarchy, navigation)
- Stack: frontend technology from CLAUDE.md
The skill handles all design system decisions (palette, typography, spacing, components, interactions).
Step 2: Save
docs/design/
design-system.mdIf using a component framework (shadcn/ui, Material, etc.), document which pre-built components to use vs custom.
Team Opportunity
Can run in parallel with Phase 4 as part of the architecture-design team. See Phase 4 reference for details.
Exit Criteria
- [ ] Color palette defined (primary, secondary, semantic, neutrals)
- [ ] Typography scale defined
- [ ] Core component designs specified
- [ ] Design system saved to
docs/design/ - [ ] User has approved the visual direction
Phase 6: Implementation
Contents
Objective
Build the product following TDD, code review, and verification practices.
Skills
| Order | Skill | Purpose |
|---|---|---|
| 1 | writing-plans | Break architecture into implementation plan |
| 2 | using-git-worktrees | Create isolated workspace |
| 3a | executing-plans | Execute with review checkpoints |
| 3b | subagent-driven-development | Alternative: parallel execution |
| 4 | test-driven-development | Tests before code |
| 5 | systematic-debugging | Structured debugging |
| 6 | requesting-code-review | Package changes for review |
| 7 | receiving-code-review | Process feedback with rigor |
| 8 | verification-before-completion | Verify before claiming done |
| 9 | finishing-a-development-branch | Merge, PR, or cleanup |
Workflow
Step 1: Write Implementation Plan
Delegate to writing-plans with architecture docs, design system, and PRD.
Step 2: Set Up Workspace
Delegate to using-git-worktrees for isolated feature branch.
Step 3: Execute
Choose one:
- `executing-plans` — step by step with review checkpoints (solo work)
- `subagent-driven-development` — parallel execution (independent tasks)
MANDATORY pre-dispatch checklist (every agent, regardless of execution skill):
- [ ] Scanned
~/.claude/skills/for skills matching the agent's task - [ ] Identified relevant skills (stack-specific + methodology like TDD)
- [ ] Prepended
=== READ FIRST ===block to the agent's prompt, BEFORE task content
When using subagent-driven-development: its template has NO skill injection — you MUST prepend the block at the top. Include matching reference files from each skill (check their SKILL.md Reference Guide table):
=== READ FIRST ===
Read: ~/.claude/skills/{stack-skill}/SKILL.md
Read: ~/.claude/skills/{stack-skill}/references/{matching-ref}.md
Read: ~/.claude/skills/test-driven-development/SKILL.md
=== END READ ===
You are implementing Task N: [task name]
[... template continues ...]During execution, apply continuously:
test-driven-development— before writing any implementation codesystematic-debugging— when tests fail or unexpected behavior occurs
Step 4: Code Review
1. requesting-code-review — package changes, document what and why 2. receiving-code-review — verify suggestions before applying
If issues found: fix → re-test → re-review.
Step 5: Verify
Delegate to verification-before-completion. Do not proceed until it passes.
Step 6: Finish Branch
Delegate to finishing-a-development-branch.
Team Opportunity
Frontend + Backend in parallel when API contracts exist.
Apply the Skill Injection Rule (see SKILL.md) before dispatching each agent:
- Frontend agent: frontend stack skill (SKILL.md + matching references) + TDD + methodology skills
- Backend agent: backend stack skill (SKILL.md + matching references) + TDD + methodology skills
Each agent's prompt MUST start with === READ FIRST === listing its domain-specific skills and their relevant reference files.
Agent A: Frontend → implement UI against contracts (mock responses)
Agent B: Backend → implement API endpoints matching contracts
Sync: integration testing after both completeEach agent follows the same inner loop:
writing-plans → git-worktrees → executing-plans
+ TDD + debugging (during)
→ code-review → verification → finish-branch (after)Exit Criteria
- [ ] All planned features implemented
- [ ] All tests pass (unit, integration)
- [ ] Code review completed and approved
- [ ] Verification confirms all acceptance criteria
- [ ] Branch merged or PR created
Notes
- Never skip TDD — catches design issues early
- If implementation reveals architecture issues, go back to Phase 4
Phase 7: Deployment
Contents
- Objective
- Skills
- Workflow (Steps 1-3)
- Exit Criteria
Objective
Containerize the application and prepare for production deployment.
Skills
| Order | Skill | Purpose |
|---|---|---|
| 1 | docker-expert | Dockerfile, docker-compose, optimization, security |
Workflow
Step 1: Gather Context
Before delegating, collect:
- Stack from CLAUDE.md (determines base images, build steps)
- Architecture from Phase 4 (
docs/architecture/) - Environment variables and external service dependencies
Step 2: Containerize
Delegate to docker-expert with full application context. The skill handles Dockerfiles, docker-compose, and health checks.
Step 3: Verify
docker compose build
docker compose up -d
docker compose ps # all containers healthy
docker compose logs # no startup errorsRun test suite against containerized environment.
Save deployment docs to docs/deployment/docker-setup.md.
Exit Criteria
- [ ] Dockerfile(s) with multi-stage builds
- [ ] docker-compose.yml with all services
- [ ] Health checks configured
- [ ]
docker compose buildsucceeds - [ ]
docker compose upstarts all services healthy - [ ] Application works correctly in containers
- [ ] Deployment docs created
Notes
- For mobile apps (Flutter mobile, React Native), adapt to CI/CD + app store deployment instead of Docker
Phase 8: Marketing
Contents
Objective
Create all marketing assets: landing page, email sequences, strategy, CRO, and promotional video.
Skills
All 5 are independent — run in any order or in parallel.
| Skill | Purpose |
|---|---|
| landing-page-copywriter | Landing page copy (PAS/AIDA) |
| email-sequence | Drip campaigns, onboarding, nurture |
| marketing-ideas | 140+ proven strategies and tactics |
| conversion-optimization-expert | CRO analysis, A/B test ideas |
| remotion-best-practices | Promotional video (React/Remotion) |
Prerequisites
Required: .claude/product-marketing-context.md (created in Phase 3).
All marketing skills reference this file. If missing, go back to Phase 3 and run product-marketing-context.
Workflow
Delegate to each skill with .claude/product-marketing-context.md as context. Each produces independent output.
Save all to:
docs/marketing/
landing-page-copy.md
email-sequences.md
marketing-strategy.md
cro-recommendations.md
video/Optional second pass: conversion-optimization-expert reviews landing-page-copywriter output.
Team Opportunity
Best phase for parallel execution — all 5 skills are fully independent:
Agent A: landing-page-copywriter
Agent B: email-sequence
Agent C: marketing-ideas
Agent D: conversion-optimization-expert
Agent E: remotion-best-practicesNo synchronization needed.
Exit Criteria
- [ ] Landing page copy with headlines, value props, CTAs
- [ ] At least one email sequence (welcome/onboarding)
- [ ] Marketing strategy with prioritized tactics
- [ ] CRO recommendations documented
- [ ] Promotional video project created (optional)
- [ ] All outputs in
docs/marketing/
Notes
- Remotion requires React/TypeScript. If not using React, run as standalone project or skip
Skill Injection Protocol
Quick version: See the Skill Injection Rule in SKILL.md for the inline rule and example. This file provides the full algorithm for complex cases.
When delegating tasks to any agent (Task tool subagent or Agent Team teammate), identify relevant skills and instruct the agent to read them.
IMPORTANT: Always instruct agents to read the full SKILL.md file plus any matching reference files. Never summarize or paraphrase skill contents — this prevents information loss and interpretation bias.
Protocol
Before dispatching any agent:
Step 1: Define the task profile
Determine for the agent's task:
- Technologies involved (languages, frameworks, platforms)
- Task type (implementation, architecture, design, testing, marketing, deployment, etc.)
- Project stack from
.claude/saas-project/status.json(stack.frontend,stack.backend)
Step 2: Scan installed skills
FOR each directory in ~/.claude/skills/:
READ SKILL.md frontmatter (name, description fields)
EVALUATE: does this skill's purpose align with the agent's task?
Match criteria (any of):
- Skill name or description mentions a technology the task uses
- Skill description matches the task type (e.g., testing skill for implementation tasks)
- Skill is listed in the current phase's skill table AND is relevant to this specific subtask
IF match → add to candidate listStep 3: Select and prioritize
From candidates, select the most relevant (max 4-5 per agent):
- Prioritize skills that directly match the task's primary technology or purpose
- Include methodology skills applicable during execution (e.g., a testing skill for an implementation task)
- Exclude skills the agent will not realistically use for its specific subtask
- If a skill is the SAME one the agent is executing, always include it
Step 4: Identify relevant skill files (MANDATORY)
Skills often contain reference files with detailed patterns, syntax, and implementation guidance that SKILL.md alone does not cover. Skipping references makes skills like flutter-expert, mql-developer, and others effectively useless — the real value is in their reference files.
For each selected skill:
READ the skill's SKILL.md
CHECK for a Reference Guide table or references/ directory
IF references exist:
MATCH reference topics against the agent's task
ADD every matching reference file path to the reading listRules:
- Always include the skill's SKILL.md (entry point)
- Always check for and include matching references — do not skip this step
- Include a reference when its topic overlaps with the agent's task (e.g., task involves Riverpod state → include riverpod-state.md)
- Do not include references with no connection to the task (e.g., skip performance.md for a navigation-only task)
Step 5: Instruct the agent to read the skills
For ALL agent types (subagents and teammates alike), include reading directives in the agent's prompt. The agent must read the actual files — never pass summaries.
=== READ FIRST ===
Read: ~/.claude/skills/{skill-a}/SKILL.md
Read: ~/.claude/skills/{skill-a}/references/{relevant-file}.md
Read: ~/.claude/skills/{skill-b}/SKILL.md
=== END READ ===
=== TASK ===
[task details, context, requirements]
=== END TASK ===Notes
- If no relevant skills are found, dispatch without the READ FIRST block — not every task needs skills
- Run this protocol at delegation time, not at phase start (skills may be installed mid-phase)
- For parallel agents (frontend + backend), each agent gets different skills matching their domain
- Never summarize or paraphrase skill contents to agents — always instruct them to read the source files
- Always check skills for reference files and include those matching the task — but don't dump entire skill directories