/craftsman:loopfrom craftsman
Bounded goal-driven loop over the craftsman verify gate. Use for ratchet campaigns, red-to-green test runs, violation burn-down: any task shaped as act, verify, repeat until a Done-when condition holds.
Ships in craftsman. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The loop doctrine behind Claude Code is gather context, act, verify, repeat,
and its first rule is: reach for a workflow before an agent. This skill is
the "repeat" layer on top of the /craftsman:workflow pipeline, never a
replacement for it. The judge is the plugin's existing gate (tests, ratchet,
rules engine), so the loop inherits exactly the verdict the hooks and CI
already enforce. What the loop adds is cadence and a stop condition; it adds
no new authority.
Built first, shown to the user before any iteration runs.
| Field | Meaning | Default |
|---|---|---|
| goal | one sentence, outcome form | required |
| verify | one command whose exit code is the verdict | required |
| max_iterations | hard cap on passes | 5 |
| stop_on | green, no_progress (2 identical failures), budget | all three |
| escalate | the question a human answers when the loop stops red | required |
Rules the card cannot override:
iteration N: <verdict> - <what changed> - <delta vs previous>.For work that must recur across turns or wait on external state (a CI run, a
long build, a deploy), this skill only defines the card; the cadence belongs
to the native loop runner. Hands off to: the user types /loop with the
loop card pasted as the prompt, choosing the interval or letting it
self-pace. In-session iteration above is the default; the native runner is
for cadence a single session turn cannot hold open.
The loop ends with a verdict every time: green, no_progress, or budget spent. A loop that ends silently teaches the user to distrust the command, so never let the last action be a tool call; the ledger and the verdict are the report.
Acceleration: skipping verify between acts to "save iterations" makes the final verdict belong to nobody. One act, one verify, no exceptions.
Scope creep: the loop optimizes exactly one verdict. Everything else it
notices is ledger material for the next /craftsman:plan.
Comprehension debt: a green loop the user never read still shipped changes. The ledger names every diff so the human can read what the loop did, and the escalate field exists because stopping red is a human decision, not a failure of the loop.
What SKILL.md sets; muted values are Claude Code's defaults
opushighnpx claudepluginhub buldee/ai-craftsman-superpowers --plugin craftsman23 skills in this plugin
/agent-designDesign AI agents using the 3P pattern (Perceive/Plan/Perform). Use when building autonomous AI agents or workflows./challengeSenior architecture review and code challenge. Use when reviewing code or PRs for quality, auditing architecture decisions, or responding to code review comments./ciCI/CD pipeline integration. Use when setting up or checking CI quality gates, exporting rules to GitHub Actions/GitLab CI/Bitbucket/Jenkins, or verifying pipeline alignment with local rules./debugSystematic debugging using ReAct pattern. Use when encountering bugs, errors, unexpected behavior, test failures, or performance issues. Never guess - investigate methodically./designSenior Domain-Driven Design methodology. Use for creating entities, value objects, aggregates, or designing domain models. Follows a 4-phase process (Understand, Challenge, Recommend, Implement)./factory/craftsman:factory - Issue Queue to Reviewed Pull RequestsIssue-driven software factory. Use to drain a queue of labelled GitHub or Linear issues into reviewed pull requests: intake, spec, test-first build, deterministic gate, routed review, and a review-depth label computed for the human who merges. Never merges.Other plugins' skills for the same job