/ratchet:consolidatefrom ratchet
Run a behavior-preserving consolidation pass over a branch or working-tree diff to strip agent-generated semantic sediment (prompt echoing, transition narration, redundant comments, transitional wrappers, and prompt-shaped test names) so the codebase reads as if the final architecture had been known from the beginning. Use when invoked as /consolidate or $consolidate, before opening an ad-hoc PR, or at the end of swe-loop Phase 4 before Phase 5 review.
Ships in ratchet. 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.
Strip trajectory noise from the active diff so the repository reads as if the final design had been known from the beginning.
swe-loop: at the end of Phase 4 (after implementation and tests
pass) and before Phase 5 review.gh pr create.Diagnose in a fresh-context subagent given only git diff <base>...HEAD and
the touched files (no conversation transcript) when possible, then apply and
re-test.
"Previously...",
"Now...", "Changed from X to Y", "Fixed issue where...", or "Added per review". State the current contract directly.test_q01_tuple_fix)
into domain terminology (test_logging_probe_correlates_route_id_and_status).What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/diagram-loopCreate or revise premium, animated, publication-quality architecture, flow, feedback, sequence, and concurrency diagrams. Use only when the user explicitly asks for that level of visual output. Do not use for ordinary ADR, architecture-document, or PR diagrams; those stay on the swe-loop Mermaid path.
/frontend-qualityBuild and review usable, visually consistent frontends with executable browser and data-loading checks. Use for visible UI changes, frontend data loading, interaction work, responsive fixes, and frontend review, including frontend portions of a larger feature. Preserves the application's brand and framework.
/grillingGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.Other plugins' skills for the same job
npx claudepluginhub dej-h/ratchet --plugin ratchet