No slash command · from gt-workflow
Run 1-3 parallel quick-audit passes (code quality, security, error handling) over a diff and gate on findings. Use when smart-submit or gt-amend need to audit uncommitted changes before committing.
Ships in gt-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Runs a systematic quality audit over a captured diff using up to three
specialized prompts — code quality, security, and error handling — then
synthesizes the findings into a gate decision (clean / minor issues /
critical issues). Shared by the smart-submit and gt-amend skills so the
audit prompt text and gating logic live in one place instead of being
duplicated per caller.
smart-submit or gt-amend during their Phase 2 (Audit) step,
never directly by a user.--no-verify,
audit.skip_on_draft), and acting on the gate decision this skill returns.The caller passes in:
$DIFF_OUTPUT — the captured diff to audit (see the caller's own "Capture
the Diff Once" step)$GW_AUDIT_AGENTS — the number of agents to spawn, 1-3 (already clamped by
the caller's Phase 0 convention-file parsing)Determine which prompts to run: if the count is 1, run only quick-code-review. If 2, run quick-code-review and quick-security-scan. If 3, run all three.
This skill is used identically by both hosts through Phase 1 below; Phase 2 (dispatch mechanism) differs by host.
quick-code-review:
Analyze the following uncommitted diff for:
- Mock/stub code in production paths
- Placeholder or TODO implementations that shouldn't be committed
- Commented-out code blocks
- Obvious logic errors
Diff:
$DIFF_OUTPUTReport findings as a list with file:line references. If nothing found, say "CLEAN".
quick-security-scan:
Scan the following uncommitted diff for:
- Hardcoded credentials, API keys, tokens, or secrets
- Private keys or certificates
- PII exposure (emails, passwords in plaintext)
- .env files or sensitive config being committed
Diff:
$DIFF_OUTPUTBe extremely strict. Report findings with file:line references. If nothing found, say "CLEAN".
quick-error-check:
Analyze the following uncommitted diff for:
- Empty catch/except blocks
- Swallowed errors (caught but not logged or re-thrown)
- Fallback values without logging
- Missing error boundaries or error handling
Diff:
$DIFF_OUTPUTReport findings with file:line references. If nothing found, say "CLEAN".
Use the Agent tool to launch the selected prompts in parallel in a
single message, one general-purpose sub-agent per prompt, passing
$DIFF_OUTPUT as context.
Unverified — confirm before relying on this in production (delegation syntax not yet confirmed against a live Codex session; see
docs/solutions/integration-issues/codex-plugin-manifest-and-hook-contract.md). Delegate each selected prompt to a separateworkeragent invocation, running concurrently if the host supports it, otherwise sequentially.
First, verify all spawned/dispatched prompts completed successfully. If any
failed or timed out, report to the caller which audit is missing so it can
ask the user (via AskUserQuestion on Claude Code, or a numbered-option
reply on Codex) whether to proceed with partial results or abort.
Synthesize findings from all completed prompts into one of:
$GW_AUDIT_AGENTS) ran against
$DIFF_OUTPUTWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kinginyellows/yellow-plugins --plugin gt-workflow11 skills in this plugin
/gt-amendFold working-tree changes into the current branch commit, audit them, and re-submit via Graphite. Use when user says "amend this", "add this to the current PR", "fold this fix in", or has follow-up edits for an already-submitted branch. Not for starting new work — use the smart-submit skill instead./gt-cleanupScan local branches for staleness and divergence, then delete or reconcile them with safeguards. Use when user says "clean up my branches" or "which branches are stale". For deleting branches whose PRs merged — and for pulling trunk or restacking — use the gt-sync skill./gt-mergeMerge the current stack's pull requests, from trunk up to the current branch, via Graphite. Use when the user says "merge my stack" or "land these PRs" and the stack is fully reviewed and ready.