Development Workflows

From ticket to tested PR.

Three structured workflows that discover, analyze, implement, test, and deliver — with every decision traced and every phase verified. Pick one directly, or let the Smart Classifier choose for you.

claude
$ /sdet "Login button returns 500" --pr

No active workflows. Classifying...
Classification: bug-fix (confidence: high)
Reason: "returns 500" + "error" signals

Executing /bug-fix "Login button returns 500" --pr
  INTAKE ............ done
  REPRODUCE ......... done
  RECALL ............ done
  CODE_TRACE ........ done
  DIAGNOSIS ......... done
  FIX ............... running

The difference in numbers

A typical 3-story-point bug: investigate, fix, test, PR. Here's what changes.

Fix cycle

3–5 days~1 hour

dev + test + PR

Phases executed

0–116

enforced, never skipped

Test creation

ManualAuto-generated

unit + E2E written by agent

PR with summary

ManualAutomated

commit, push, PR via --pr

ActivityWithout frameworkWith framework
Root cause analysisAd-hoc grep + guesswork, ~4–8 hrs6 structured discovery phases, ~10 min
Test creationDev writes tests manually, ~2–4 hrs, often skippedTEST_GEN auto-writes unit + E2E tests (Category A), 0 manual effort
Regression testing"I ran the tests locally" — maybeBASELINE → VERIFY → BLAST_RADIUS — always, both layers
Impact assessmentReviewer catches surprises in PR, after the factBLAST_RADIUS_MAP runs before any code changes
TraceabilityJira comment: "fixed", 0 evidence trail16 linked documents from intake to close
Knowledge retentionStays in dev's head, lost on context switchLEARN phase writes to KNOWLEDGE_BASE.md
PR creationWrite commit msg + PR description, ~30 minCLOSE phase auto-commits + raises PR, 0 min

Three workflows. One command each.

Each workflow is a complete state machine — from ticket to tested PR. Pick the one that matches your task, or let the Smart Classifier choose for you.

Comparison

AspectBug-FixEnhanceFeature
When to useSomething is brokenChange working behaviorBuild something new
Starting stateKnown broken behaviorKnown working behaviorNothing exists
Discovery goalFind what’s wrongMap what exists to changeMap surroundings + deps
Ticket gate6 required checks6 required checks8 required + 5 recommended + linked story maturity
Figma phaseNoYesYes
API surveyNoNoYes
Dependency gateNoNoYes
Per-slice loopingNoNoYes
Integration phaseNoNoYes
Analysis phaseDIAGNOSISDESIGNARCHITECTURE
Plan phaseFIX_PLANENHANCE_PLANSLICE_PLAN
Implement phaseFIXIMPLEMENTIMPLEMENT (per-slice)
Phase count~16~17~20+
--pr auto-PRYesYesYes
Terminal signalBUG_FIXEDENHANCEMENT_SHIPPEDFEATURE_SHIPPED

Pipeline Overview

From zero to PR in four steps

1

Copy the framework

Drop the .claude folder into your repo root. It contains the generator command and all workflow templates.

bash
cp -r .claude /path/to/your-repo/.claude
2

Generate workflows

The generator scans your repo — language, test runner, build tools, Jira, feature flags — and produces tailored workflow files.

bash
/generate-development-workflows
3

Run a workflow

Describe your task with /sdet and it auto-classifies. Or pick /bug-fix, /feature-enhance, or /feature-build directly.

bash
/sdet "Login button returns 500"
4

Ship a PR

The CLOSE phase posts results to Jira, creates a QE Review sub-task, and with --pr auto-commits and raises a pull request.

bash
/bug-fix PROJ-123 "Fix login error" --pr

Command Reference

All development workflows support these flags. Combine them with any invocation format.

FlagPurposePrerequisite
--prAuto-commit and raise a pull request at CLOSE phaseNone — can be added at any time
--jira-checkRun INTAKE + TICKET_GATE only — print readiness report, then stopJira ticket ID required
--qe-reviewRun TEST_INVENTORY only — audit test coverage without starting full workflowExisting state through REQUIREMENTS (discovery done)
--dev-verifyExecute the full QE verification gauntlet: BASELINE → TEST_GEN → VERIFY → BLAST_RADIUS_RUN → CLOSE → LEARNExisting state through FIX/IMPLEMENT (code changes exist)
--pr-onlyCreate commit + PR from a completed workflow (runs only the CLOSE auto-PR step)CLOSE_REPORT.md must exist (workflow reached CLOSE)

Usage Examples

bash
# Audit test coverage after discovery is complete
/bug-fix --qe-review
/feature-enhance --qe-review

# Re-run the full QE verification after implementation
/bug-fix --dev-verify
/feature-build --dev-verify

# Combine with --pr to auto-ship after verification passes
/feature-enhance --dev-verify --pr

# Create a PR from a completed workflow (no --pr needed upfront)
/bug-fix --pr-only
/feature-build --pr-only

# Via the smart classifier
/sdet PROJ-123 --qe-review
/sdet PROJ-123 --dev-verify
/sdet PROJ-123 --pr-only

Deep Dives