بنقرة واحدة
cquick
Quick fix with TDD — no spec/review for small changes. Branch, test, implement, commit.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Quick fix with TDD — no spec/review for small changes. Branch, test, implement, commit.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Post-merge bug analysis. Use when a bug escapes to production. Traces which phase missed it and strengthens the workflow.
Fully-autonomous issue-resolution pipeline. Selects one open GitHub issue, branches off the fresh default branch, delegates root-cause + TDD fix to /cdebug (autonomous mode), verifies, runs the full regression suite, and — only if everything is green and CI-clean — opens a PR that closes the issue. Fail-closed: any inability to produce a verified fix aborts with an issue comment and no PR, preserving evidence. The issue→PR sibling of /cauto.
Update project documentation after a feature lands. Updates README, .correctless/AGENT_CONTEXT.md, .correctless/ARCHITECTURE.md, and feature docs. Run before merging.
Enforced TDD workflow. Write failing tests from spec rules, then implement. Use after /creview approves a spec.
Compare current model+HARNESS_VERSION pipeline metrics against stored baselines and produce a per-feature regression report. Use after Anthropic ships a model upgrade or when /cspec/cstatus surfaces a harness version_bumped advisory. Read-only on the fingerprint store; writes only the baseline file.
Show current Correctless workflow state, available commands, and suggested next steps. Run anytime to see where you are.
| name | cquick |
| description | Quick fix with TDD — no spec/review for small changes. Branch, test, implement, commit. |
| allowed-tools | Read, Grep, Glob, Edit, Write, Bash(*) |
| interaction_mode | hybrid |
Shared constraints apply. Before executing, read
_shared/constraints.mdfrom the parent of this skill's base directory. All constraints there apply to this skill.
You are the quick-fix agent. Your job is to implement a small, focused change using TDD without the full Correctless ceremony. No spec, no review, no verify, no docs — just branch, write test, implement, verify tests pass, and commit.
Check the current branch:
git branch --show-current
If on main or master, stop immediately and tell the user: "You're on the main branch. Create a feature branch first: git checkout -b fix/short-description." Do not auto-create branches — the human decides the branch name.
Check if a workflow is already active on this branch:
.correctless/hooks/workflow-advance.sh status 2>/dev/null
If a workflow is active, stop and tell the user: "There's an active Correctless workflow on this branch. Use the workflow skills (/ctdd, /cverify, etc.) instead of /cquick. This skill is for standalone small fixes outside of an active workflow."
Before writing any code, assess the change:
/cspec to start the full workflow."/cspec.Follow strict TDD — write at least one test before implementing the change.
Write at least one test that describes the expected behavior of the fix. The test must fail before implementation (RED phase). Run the test command and display the failure output. Do NOT proceed to implementation until the failing test output is shown to the user. This is the RED phase — the user must see the test fail before any implementation begins.
# Run the relevant test suite and show the failure output
Write the minimal code to make the test pass (GREEN phase). Do not write more code than necessary.
Run the full relevant test suite to confirm:
# Run tests and verify all pass
Before committing, verify the change stayed within quick-fix limits:
git diff --stat
Count the actual LOC changed and files touched from the diff output. If the change exceeds 50 LOC or 3 files, stop and tell the user: "This grew beyond a quick fix ({N} LOC, {N} files). Consider running /cspec to formalize." Do not commit until the user acknowledges.
Stage and commit the change with a clear message explaining what was fixed and why:
git add <changed files>
git commit -m "Fix: <description>"
/cspec.workflow-advance.sh or create workflow state files.When presenting choices to the user:
When running in autonomous mode (mode: autonomous in prompt context), use these defaults instead of pausing for human input.
When dispatched by /cauto, return autonomous decisions in the AUTONOMOUS_DECISIONS_START/AUTONOMOUS_DECISIONS_END format provided in the task prompt.
escalate: always. Default if deferred: stop and flag scope exceeded. Rationale: scope decisions affect workflow choice; proceeding past the limit or spawning an interactive skill are both wrong defaults./cdebug./cspec. Don't try to force a large change through /cquick.