/selamy-skills:agentic-coding-loopfrom selamy-skills
Use when implementing code from a spec through a bounded build-test-fix loop with explicit acceptance criteria, automated checks, live verification when needed, and clear stop conditions.
Ships in selamy-skills. 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.
Use this when a coding task should move through a closed loop: understand the spec, create or identify checks, implement the smallest slice, run evidence, fix the root cause, and repeat until the acceptance criteria are met or the loop hits a real blocker.
This is not a general instruction to "keep trying." The loop must be bounded, observable, and grounded in checks that would catch the behavior users or systems depend on.
Before changing code, name:
Derive acceptance criteria from the current governing spec, user request, and observed behavior; use code and existing tests as evidence, not as the authority for what the product should do. If criteria are missing, infer only a small, unambiguous set. Ask for a high-impact missing decision while continuing independent authorized work. A regression check should fail for the reported bug and retain a valid positive control, rather than mirror the proposed fix.
Use the cheapest layer that can actually prove the claim:
| Claim | Minimum useful evidence |
|---|---|
| Pure code behavior | Unit or behavior test that names the behavior |
| Type or interface contract | Type check, schema check, or contract test |
| Cross-module flow | Integration test or fixture that spans the boundary |
| UI behavior | Browser check, screenshot, or interaction trace |
| API behavior | Request/response check against the target environment |
| Runtime or deployment state | Real artifact check, rollout state, or service probe |
Passing a lower layer does not prove a higher-layer claim. A green unit test does not prove a browser flow works; a successful build does not prove the deployed artifact changed. Use [[verify-real-artifact]] and [[process-aware-done]] for final claims.
In a multi-worker backlog, hand the tested PR, exact head, acceptance evidence, and gaps to the existing PR shepherd. That role owns review, CI, conflicts, qualified merges, and post-merge verification; the worker may take the next disjoint authorized slice within the WIP limit. One PR's CI wait does not stall unrelated workers. Preserve holds and repository-required checks, and use [[verify-delegated-work]] for policy-permitted exact-artifact evidence reuse. PR handoff alone does not complete acceptance that requires merge or runtime proof.
When a script restarts a worker until its unit of work is done, keep the judgment in the model and the control flow in deterministic code:
Stop and report success only when:
Stop and escalate as blocked when:
Call a partial result "partial" or "blocked." Do not upgrade it to done because time ran out or the latest command looked promising.
Use this compact closeout:
Change: <what changed>
Evidence: <checks or live paths run>
Result: <succeeded, partial, or blocked>
Gaps: <none or explicit remaining uncertainty>
Next: <only if a separate follow-up is warranted>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selamy-labs/agent-skills --plugin selamy-skills111 skills in this plugin
/adaptive-estimationUse when tracking a slowly-varying latent quantity from noisy measurements with quantifiable uncertainty — a drifting metric, capacity, latency trend, or confidence. Prefer a Kalman-style adaptive estimator over fixed moving averages or static thresholds./adaptive-loop-budgetingUse when an autonomous loop needs explicit limits on attempts, time, cost, tool calls, verification depth, or risk, and a clear stop, continue, yield, or escalate decision./adopt-and-deleteUse when adopting a shared module, library, chart, or service, or doing any consolidation, migration, or refactor that supersedes existing code. The change that adds the replacement must REMOVE what it replaced, in the same atomic change.Other plugins' skills for the same job