Agent skill
close-the-loop
Force at least one feedback signal after code changes (static checks, logs, tests, UI); prefer local over CI.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/close-the-loop
SKILL.md
Close the Loop
Intent
Require at least one real feedback signal after any code change before declaring success.
Quick start
- Pick the tightest available loop: static analysis → runtime logs → unit tests → UI automation.
- Run (or obtain) at least one signal. If none exist, propose the smallest new one (log, focused test, minimal automation).
- Report what ran, what happened, and what’s next.
Workflow
- Define “working” for this change (feature path, bug reproduction, contract).
- Choose the tightest loop and smallest scope; prefer local execution.
- Run it (or ask for the exact command/environment if unknown).
- If confidence is weak, add the next-tightest loop.
Guardrails
- No “done” claims without a signal.
- Local-first, CI-second (use CI when local is unavailable, flaky, or non-representative).
- If you cannot run the loop, state the gap and give the user exact commands.
References
references/feedback-loops.md
Activation cues
- "feedback loop"
- "verify changes"
- "validation"
- "add tests/logs/checks"
- "tight loop"
- "working code is done"
- "completed the task"
Didn't find tool you were looking for?