From workflow
Manage development environment lifecycle for ticket-based work. Use when user says /workflow start, /workflow status, or /workflow finish.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow:skills/workflowThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage the development environment lifecycle for ticket-based work. This skill handles setup (branch, worktree, context) and delegates implementation to `/bugfix` or `/task` based on ticket type.
Manage the development environment lifecycle for ticket-based work. This skill handles setup (branch, worktree, context) and delegates implementation to /bugfix or /task based on ticket type.
/bugfix (fix tickets) or /task (feat, chore, refactor, docs)Config path depends on how the plugin was installed:
| Plugin Scope | Config File | Git |
|---|---|---|
| project | .claude/skills/workflow.yaml | Committed (shared) |
| local | .claude/skills/workflow.local.yaml | Ignored (personal) |
| user | .claude/skills/workflow.local.yaml | Ignored (personal) |
Precedence when reading (first found wins):
.claude/skills/workflow.local.yaml.claude/skills/workflow.yaml| Command | Description |
|---|---|
/workflow start <source> | Setup branch/worktree, then delegate to bugfix or task |
/workflow configure | Configure workflow preferences (worktree path, IDE) |
/workflow continue | Resume pending workflow in new session |
/workflow status | Show current workflow context and progress |
/workflow finish | Cleanup branch after PR is merged |
Related: Use /pr-merge to merge PRs, /deploy to deploy after merge.
Configure workflow preferences during framework setup:
/workflow configure
Discovers:
Outputs: .claude/workflow-config.json (via workflow-setup)
This is typically run once during framework setup wizard.
Only start a new workflow when on main branch.
| Current Branch | User Request | Action |
|---|---|---|
main | "fix this bug" | → /workflow start |
main | "let's work on PROJ-123" | → /workflow start PROJ-123 |
main | "start a workflow for..." | → /workflow start |
| working branch | "fix this bug" | → Fix in current branch (no new workflow) |
| working branch | "let's work on this" | → Work in current branch (no new workflow) |
| working branch | "start a new workflow for..." | → /workflow start (explicit request) |
Key Rules:
main is the only non-working branchmain is a working branchmain: "start a workflow", "let's work on...", "fix this issue...", or any code change taskAfter /workflow start opens the IDE with the new worktree, run this in the new Claude session:
/workflow continue
What it does:
.claude/workflow/<branch>/pending-action.jsonfix → Invoke /bugfix skill (B1: Reproduce)feat/other → Invoke /task skill (T1: Scope)When to use:
/workflow start opens a new IDE window/workflow start PROJ-123 # From Linear ticket
/workflow start "Add user notifications" # From plain text
Pre-condition: Must be on main branch (or user explicitly requested new workflow)
Procedure:
XXX-### vs plain text)feat, fix, refactor, docs, chore, test<type>/<ticket-id-lowercase>-<kebab-description><type>/<kebab-description>workflow-setup:
.env* files to worktree.claude/workflow/<branch>/ directory.claude/plan.md existspending-action.json for session handoff/workflow continue in the new session/workflow continue to resume the workflowfix → Invoke /bugfix skill (5-phase debugging methodology)feat/other → Invoke /task skill (4-phase implementation methodology)Based on the ticket type detected in start:
| Type | Delegate To | Methodology |
|---|---|---|
fix | /bugfix | B1: Reproduce → B2: Plan → B3: Failing Test → B4: Fix → B5: Verify |
feat | /task | T1: Scope → T2: Plan → T3: Implement → T4: Verify |
chore | /task | Same as feat |
refactor | /task | Same as feat |
docs | /task | Same as feat |
Both /bugfix and /task have a Plan phase (B2/T2) that:
/developer for code patternsAfter completing the implementation (feature or bug fix), capture learnings before committing:
Procedure:
tdd/MEMORY.mddomain-expert/MEMORY.mdarch/MEMORY.mddeveloper/MEMORY.mdLearning Quality Rules:
After retrospective, use the dedicated skills:
/commit/pr-createThese skills handle conventional commit messages, PR formatting, and CI validation.
/workflow status
Shows:
/workflow finish
/workflow finish feat/proj-123-feature-name # Explicit branch
Pre-condition: PR must be merged before finishing.
Procedure:
gh pr list --head <branch> --state mergedgit worktree remove <path>git branch -D <branch>rm -rf .claude/workflow/<branch>/See workflow-finish skill for detailed procedure and sharp edges.
Stored in .claude/workflow-context.json (gitignored):
{
"source": "linear",
"ticketId": "PROJ-123",
"title": "Add user notifications",
"branch": "feat/proj-123-add-user-notifications",
"type": "feat",
"createdAt": "2026-01-21T...",
"prUrl": null
}
Format: <type>/<ticket-id-lowercase>-<kebab-description> or <type>/<kebab-description>
Branch naming convention:
feat/, fix/, chore/, docs/, refactor/, test/)Examples:
feat/proj-123-add-user-notificationsfix/proj-456-fix-date-parsing-errorchore/eng-789-add-skill-for-claude-code-to-set-up-dev-environmentfeat/add-metrics-dashboard (plain text, no ticket)See skill.yaml for the full procedure and patterns.
See sharp-edges.yaml for common failure modes.
npx claudepluginhub dohernandez/claude-skills --plugin workflowFetches next ready_to_develop ticket via Board API or Supabase, creates feature/fix/chore branch, implements autonomously through build, code review, QA, docs checks, and ships without stopping.
Guides developers through the full development pipeline: discover, brainstorm, plan, execute, review, and ship. Invoke when starting work on a bug, feature, improvement, or task.
Drives a ticket from analysis through investigation, planning, TDD implementation, committing, and PR creation. Adapts to your stack via an interactive supplement on first run.