From correctless
Displays Correctless workflow state: current phase, next steps, time in phase, intensity-based warnings, and setup checks. Invoke via /cstatus anytime.
npx claudepluginhub joshft/correctless --plugin correctlessThis skill is limited to using the following tools:
You are the status agent. Show the human where they are in the workflow and what to do next. Be concise and actionable.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
You are the status agent. Show the human where they are in the workflow and what to do next. Be concise and actionable.
| Standard | High | Critical | |
|---|---|---|---|
| Display | Phase + next step + time in phase | add stale workflow warning | add token budget warning |
Determine the effective intensity before starting the review. The effective intensity is max(project_intensity, feature_intensity) using the ordering standard < high < critical.
workflow.intensity from .correctless/config/workflow-config.json. If the field is absent, default to standard..correctless/hooks/workflow-advance.sh status and look for the Intensity: line. If the Intensity line is absent in the status output (feature_intensity is absent), use the project intensity alone.Fallback chain: feature_intensity -> workflow.intensity -> standard. If both feature_intensity and workflow.intensity are absent, the effective intensity defaults to standard. If there is no active workflow state (no state file), effective intensity falls back to workflow.intensity from config, then to standard. The review still runs — it does not require active workflow state.
First, verify Correctless is set up in this project:
.correctless/config/workflow-config.json exist?.correctless/hooks/workflow-gate.sh exist?.correctless/ARCHITECTURE.md exist and not contain {PROJECT_NAME} or {PLACEHOLDER} template markers? (Note: a minimal .correctless/ARCHITECTURE.md with "This project is in early development" is valid — it means /csetup ran on a greenfield project and intentionally deferred architecture docs.)If not set up: "Correctless isn't configured in this project yet. Run /csetup to get started."
Run:
.correctless/hooks/workflow-advance.sh status 2>/dev/null
If no active workflow, also run:
.correctless/hooks/workflow-advance.sh status-all 2>/dev/null
If no active workflow on current branch:
"No active workflow on {branch}. You can:
git checkout -b feature/my-feature then /cspecWhen displaying the current phase, calculate and show the time spent in this phase. Read phase_entered_at from the state file, compute the duration as now - phase_entered_at, and display in human-readable format:
Format: 'Phase: {phase} ({duration})'
Proactive warnings at thresholds:
workflow-advance.sh override if needed.'If workflow is active, show a pipeline diagram with the current phase marked. Use ▶ to indicate the active phase. At standard intensity:
spec → review → [ tdd ] → verify → docs → merge
│
┌─────┴─────┐
RED → GREEN → QA
│ │
test audit │
└─ fix ◄┘
At high+ intensity, include the extra steps:
spec → model → review → [ tdd ] → verify → arch → docs → audit → merge
│
┌─────┴─────┐
RED → GREEN → QA
│ │
test audit │
└─ fix ◄┘
Mark the current phase with ▶ and show it in the diagram. For TDD sub-phases (tdd-tests, tdd-impl, tdd-qa), mark the specific position inside the TDD box.
Then show phase-specific guidance:
| Phase | Show |
|---|---|
spec | "Writing the spec. When done, the human approves and you run /creview (at standard intensity) or /creview-spec (at high+ intensity)." |
review / review-spec | "Run /creview (at standard intensity) or /creview-spec (at high+ intensity) to review the spec. After review and approval, run /ctdd to start writing tests." |
model | "Formal modeling phase. Run /cmodel to generate the Alloy model." |
tdd-tests | "RED phase — writing tests. Source files are blocked (except stubs with STUB:TDD). When tests exist and fail, advance with workflow-advance.sh impl." |
tdd-impl | "GREEN phase — implementing. Make the tests pass. When done, advance with workflow-advance.sh qa." |
tdd-qa | "QA review — edits blocked. If issues found: workflow-advance.sh fix. If a bug is hard to understand, try /cdebug. If clean: workflow-advance.sh done (at standard intensity) or workflow-advance.sh verify-phase (at high+ intensity)." |
tdd-verify | "Final verification — edits blocked. If checks pass: workflow-advance.sh done." |
done | "TDD complete. MANDATORY: run /cverify next (it advances the state automatically)." |
verified | "Verification complete. MANDATORY: run /cdocs next (it advances the state automatically)." |
documented | "All steps complete. Options: create PR (gh pr create), merge locally, keep branch, or discard. After merging: /cpostmortem if bugs escape, /cmetrics for health, /caudit for sweep (at high+ intensity)." |
audit | "Audit in progress. Run /caudit to continue the convergence loop." |
Based on the current state:
Available commands:
/cspec Start a new feature spec
/creview Skeptical spec review
/ctdd Enforced TDD workflow
/cverify Post-implementation verification
/cdocs Update documentation
/cstatus This command — show status and next steps
/csummary Feature summary — what the workflow caught
/cmetrics Project-wide metrics dashboard
/crefactor Structured refactoring with behavioral equivalence
/cpr-review Multi-lens PR review
/ccontribute Contribute to an open source project
/cmaintain Maintainer review for incoming contributions
/cdebug Structured bug investigation
/csetup Re-run setup / validate configuration
/chelp Quick help — workflow pipeline and commands
/cwtf Workflow accountability — did agents do their job?
/cquick Lightweight TDD — quick-start without full spec
/crelease Versioning and changelog management
/cexplain Guided codebase exploration
State management:
.correctless/hooks/workflow-advance.sh status Current phase
.correctless/hooks/workflow-advance.sh status-all All active workflows
.correctless/hooks/workflow-advance.sh diagnose "file" Why a file is blocked
.correctless/hooks/workflow-advance.sh override "reason" Temporarily bypass gate
Read .correctless/config/workflow-config.json. If workflow.intensity is set to high+ or above, also highlight intensity-gated commands: /cmodel, /creview-spec, /caudit, /cupdate-arch, /cpostmortem, /cdevadv, /credteam
After showing phase and commands, proactively check for issues:
Stale workflow: If >24 hours in a phase, this is already handled by the time-in-phase display in section 3 above — do not repeat the warning here. Only check for stale workflows if section 3 did not already display a >24h warning (e.g., if phase_entered_at was missing or unparsable).
Empty docs: Check if .correctless/ARCHITECTURE.md contains {PROJECT_NAME} or {PLACEHOLDER} markers, or if .correctless/AGENT_CONTEXT.md contains {PROJECT_NAME} or {PLACEHOLDERS}. If either is still the template: ".correctless/ARCHITECTURE.md / .correctless/AGENT_CONTEXT.md is still the default template. Run /csetup to populate it from your codebase — this significantly improves spec and review quality."
Override usage: Read override_count from the state file. If ≥2: "You've used {N} overrides on this workflow. If the gate keeps blocking legitimate edits, the workflow config or file patterns may need adjustment. Run workflow-advance.sh diagnose 'yourfile.ts' to understand why."
No active workflow: "No active workflow on this branch. You can edit freely — the gate only blocks during active workflows. To start a structured workflow: git checkout -b feature/my-feature then /cspec."
If the human asks "is everything set up correctly?" or similar, validate:
.claude/settings.json.correctless/hooks/Report any issues with fix instructions.
/cstatus is read-only — it reads workflow state and project files but modifies nothing. Re-run anytime safely..correctless/config/workflow-config.json exists and the hook scripts are installed at .correctless/hooks/.