/selamy-skills:continuous-issue-resolutionfrom selamy-skills
Use when an agent should continuously resolve an authorized backlog through bounded implementation, tested PRs, independent review, and evidence-backed closure. GitHub Issues may hold the queue; an existing authoritative backlog works too.
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.
Drain the user's current authorized backlog. Use GitHub Issues when they are the repository's source of truth; otherwise use its existing task list, spec, or work queue. Do not require issue creation or a second ledger to start work. Refresh priorities, existing PRs, active owners, and blockers before selecting the next item. A historical report is context, not current queue state.
Take a bounded item with a clear outcome, current acceptance criteria, an authorized target branch, and a meaningful validation path. Honor the queue's existing readiness and ownership signals. If its scope is ambiguous or outside the user's authority, record the missing decision and continue other independent authorized work. Keep completion criteria, dependencies, and evidence in the existing item or PR; avoid a second planning layer.
For routine, reversible choices within standing user authorization, use an existing valid route and proceed. An unavailable preferred route does not itself require parent approval for another authorized route. Preserve explicit holds, required human gates, and decisions that actually need new authority.
Before claiming work, inspect existing branches and PRs. An open PR for the same outcome belongs in review or repair, not in a second implementation lane. Adopt the exact existing PR when authorized and its source is sound: inspect its current head, diff, authorship, acceptance evidence, and remaining work. Preserve honest attribution. Branch-name preferences alone do not justify closing and recreating it. Use [[verify-delegated-work]] before accepting it.
For parallel work, keep one writer per concern in isolated workspaces. Assign one shepherd to own PR review coordination, CI failures, conflicts, qualified merges, and post-merge follow-through. Existing user authorization and explicit holds govern that role; assigning it grants no extra merge or deploy authority.
Workers repeat this loop while authorized backlog remains:
Allocation is not execution. Once the claim and workspace are ready, deliver the bound item, workspace/branch, acceptance criteria, and validation path to the assigned worker once through the existing channel. Confirm task-specific work has started; an allocation receipt or queued message alone does not prove startup. If the worker remains idle, inspect delivery and its actual state, then resume that worker without creating an overlapping replacement. Use [[yield-on-wait]] when startup remains pending after bounded observation.
An implementation handoff is not merged, deployed, or accepted completion. The shepherd retains delivery ownership while workers continue useful work. CI or review waiting on one PR must not become a controller-wide wait for unrelated workers. Dependent work may be stacked when repository policy permits; preserve one writer per concern and refresh affected evidence after changes.
Set work-in-progress limits from actual implementation capacity, review and CI service rates, conflict frequency, and main health. Count waiting PRs as WIP. When the queue backs up, finish or unblock existing work before admitting more; do not choose a large PR count as a throughput target. Reserve capacity to repair main when unhealthy, and obey any repository-wide stop-the-line policy.
Check the default branch's required checks on every coordination pass. When its tip is red:
Count worker processes and their build servers against real host capacity. When memory or load crosses a set threshold, pause the lowest-priority workers with a marker that every restart path honors, and stop their leftover build servers by exact process ID. Resume at a lower threshold, so workers do not flap.
Implement now when one clear outcome fits one reviewable PR. Split only when there are separable outcomes, excessive risk, or a validation boundary too broad for one change. Give each slice acceptance criteria, dependencies, ownership, and a validation expectation in the existing backlog. Create child issues only when that is the queue's convention. Avoid tiny PRs that merely move incomplete behavior across files or increase integration work.
Anchor acceptance tests to the current governing spec, user requirement, or observed bug. A test that restates the new implementation can preserve the wrong behavior. Exercise the real boundary the claim depends on, including positive controls and failure recovery when relevant.
Read exact-artifact qualification from the system of record. Reuse valid evidence only when repository policy permits and source, tools, configuration, inputs, and environment still match; rerun affected or time-sensitive checks when they do not. Keep required CI intact. Do not skip, weaken, or relabel failing checks to improve apparent throughput. A green PR alone does not prove the combined tree, main health, deployed behavior, or the user's full journey.
Record the exact blocker, observed evidence, legitimate next action, and owner on the existing item or PR. Distinguish ordinary CI/review waiting from a real permission, credential, or external decision blocker. Do not repeat an unchanged failing action; repair its cause or move to independent ready work. Release or hand off the claim using the existing convention.
Use [[ephemeral-workspace-lifecycle]] to remove a clean disposable workspace or record its retained path, owner, reason, dirty state, and review deadline.
Close a backlog item only after its acceptance criteria are verified. Record:
Use repository-required post-merge qualification. Auto-merge requests, queued merges, and checkpoints are intermediate states. Keep delivery ownership until the required outcome is verified, while independent authorized work continues.
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