Workflows
Catalyst’s development workflow chains together: research, plan, implement, validate, and ship. Each phase produces a persistent artifact that feeds the next, with clean context handoffs in between.
Development Workflow
Section titled “Development Workflow”sequenceDiagram
participant Dev as Developer
participant CC as Claude Code
participant T as Thoughts System
Dev->>CC: /research-codebase
CC->>CC: Spawn agents (locator, analyzer, pattern-finder)
CC->>T: Save research document
Note over Dev,CC: Clear context
Dev->>CC: /create-plan
CC->>T: Read recent research
CC->>Dev: Interactive planning
CC->>T: Save implementation plan
Note over Dev,CC: Clear context
Dev->>CC: /implement-plan
CC->>T: Read plan
CC->>CC: Implement phase by phase
Note over Dev,CC: Clear context
Dev->>CC: /validate-plan
CC->>CC: Run tests, verify criteria
Dev->>CC: /create-pr
CC->>T: Save PR description
1. Research
Section titled “1. Research”/research-codebaseDescribe what you want to understand. Catalyst spawns parallel research agents (locator, analyzer, pattern-finder), documents what exists in the codebase, and saves findings to thoughts/shared/research/.
Clear context after research completes. The research document persists — the next skill finds it automatically.
2. Plan
Section titled “2. Plan”/create-planCatalyst auto-discovers your most recent research, reads it, and interactively builds a plan with you — including automated AND manual success criteria. Saved to thoughts/shared/plans/.
If revisions are needed: /iterate-plan.
Clear context after the plan is approved.
3. Implement
Section titled “3. Implement”/implement-planCatalyst auto-finds your most recent plan, reads it fully, and implements each phase sequentially with automated verification after each phase. Checkboxes update as work completes.
4. Validate
Section titled “4. Validate”/validate-planVerifies all success criteria, runs automated test suites, documents deviations, and provides a manual testing checklist.
5. Ship
Section titled “5. Ship”/create-prCreates a pull request with a description generated from your research and plan, linked to the relevant ticket.
Workflow Patterns
Section titled “Workflow Patterns”Quick Feature
Section titled “Quick Feature”The standard flow for a well-scoped ticket:
/research-codebase # Research# Clear context/create-plan # Plan# Clear context/implement-plan # Implement# Clear context/commit && /create-pr # ShipMulti-Day Feature
Section titled “Multi-Day Feature”For larger work that spans sessions:
# Day 1/research-codebase/create-handoff# Day 2/resume-handoff/create-plan/create-handoff# Day 3/resume-handoff/implement-plan # Phases 1-2/create-handoff# Day 4/resume-handoff/implement-plan # Phases 3-4/validate-plan/commit && /create-prOne-Shot
Section titled “One-Shot”For straightforward tasks, chain the entire workflow:
/oneshot PROJ-123Runs research, planning, and implementation in a single invocation with context isolation between phases.
Handoffs
Section titled “Handoffs”Each phase ends with “clear context” — that’s intentional. Long sessions are where AI loses the thread.
If you need to pause mid-workflow (end of day, context getting long, waiting on something), create a handoff:
/create-handoffThis compresses the current session into a persistent document: what was done, what’s left, decisions made, and file references. Resume later with:
/resume-handoffHandoffs are cheap (under a minute) and you should use them liberally.
Auto-Discovery
Section titled “Auto-Discovery”You don’t need to specify file paths between skills. Catalyst tracks your workflow automatically:
research-codebasesaves research →create-planauto-references itcreate-plansaves plan →implement-planauto-finds itcreate-handoffsaves handoff →resume-handoffauto-finds it
Parallel Development with Worktrees
Section titled “Parallel Development with Worktrees”Git worktrees let you work on multiple features simultaneously, each in its own directory with shared context through the thoughts system.
When to Use Worktrees
Section titled “When to Use Worktrees”Use worktrees for: large features, parallel work on multiple tickets, keeping the main branch clean, isolated testing environments.
Skip worktrees for: small fixes, single features, short-lived branches.
Creating a Worktree
Section titled “Creating a Worktree”/create-worktree PROJ-123 feature-nameThis creates a git worktree at ~/wt/{project}/{PROJ-123-feature-name}/ with a new branch, .claude/ copied over, dependencies installed, and thoughts/ shared via symlink.
Parallel Sessions
Section titled “Parallel Sessions”Run separate Claude Code sessions in different worktrees:
# Terminal 1 — Feature Acd ~/wt/api/PROJ-123-feature-a && claude/implement-plan
# Terminal 2 — Feature Bcd ~/wt/api/PROJ-456-feature-b && claude/implement-plan
# Terminal 3 — Research (main repo)cd ~/projects/api && claude/research-codebaseAll worktrees share the same thoughts directory via symlink. Plans created in one worktree are visible in all others.
Managing Worktrees
Section titled “Managing Worktrees”git worktree list # List allgit worktree remove ~/wt/my-project/PROJ-123-feature # Remove after mergegit worktree prune # Clean stale referencesThe worktree location defaults to ~/wt/{repo} but can be customized with GITHUB_SOURCE_ROOT.
Best Practices
Section titled “Best Practices”Context Management
Section titled “Context Management”Context is the most important resource. Keep utilization between 40-60% of the window (check with /context).
Clear context between workflow phases, when context reaches 60%, or when the AI starts repeating errors or forgetting earlier decisions.
Why subagents matter: Each agent gets its own context window, works its specific task, and returns only a summary. Three agents in parallel use far less main context than doing the same work inline.
Planning
Section titled “Planning”Always include in plans:
- Overview — What and why
- Current state — What exists now
- Desired end state — Clear success definition
- What we’re NOT doing — Explicit scope control
- Phases — Logical, incremental steps
- Success criteria — Separated into automated and manual
Resolve all decisions during planning — no open questions in final plans.
Implementation
Section titled “Implementation”Follow the plan’s intent, not its letter. When reality differs — a file moved, a better pattern found — adapt and document the deviation. If the core approach is invalid, stop and ask before proceeding.
Verify incrementally: implement → test → fix → mark complete for each phase.
Anti-Patterns
Section titled “Anti-Patterns”| Anti-Pattern | Better Approach |
|---|---|
| Loading entire codebase upfront | Progressive discovery with agents |
| Monolithic research requests | Parallel focused agents |
| Vague success criteria | Separated automated/manual checks |
| Implementing without planning | Research → plan → implement |
| Losing context between sessions | Persist to thoughts, use handoffs |
| Scope creep in plans | Explicit “what we’re NOT doing” |