/selamy-skills:pull-request-writingfrom selamy-skills
Use when opening or updating a pull request title and description so a reviewer who has not read the agent conversation can understand and verify the change.
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.
Write the PR for a reviewer who has not read the agent conversation. The title and body must carry the whole story: what behavior changes, why, and what evidence backs it.
gh --body-file); never interpolate free text into a shell string.Title: fix(auth): reject expired session tokens at the API boundary
Body:
Expired sessions returned a generic 500 from deep in the request handler.
They now fail fast with 401 at the API boundary, so clients refresh the
session instead of retrying a doomed request.
Changed `session.py` to validate expiry before dispatch; expiry checks live
in one place so future handlers inherit the behavior.
## Validation
- `pytest tests/test_session.py -q`: 24 passed.
- `ruff check src/`: clean.
- Limit: covers API sessions only; web-cookie expiry is unchanged and tracked
in #412.
Title: feat(sync): retry failed uploads with backoff and keep local order
Body:
Uploads failed permanently on the first transient network error, and retries
— when added by hand — reordered the local queue, so users saw items arrive
out of order after a flaky connection.
Uploads now retry up to 5 times with exponential backoff, and the queue keeps
its original order across retries. A retry that exhausts its budget surfaces
as a failed item with its error attached instead of blocking the queue.
The retry loop lives in the upload worker; ordering is preserved by holding
each item's slot until it resolves. Backoff caps the extra load; the
failed-item state keeps one bad upload from stalling the rest.
## Validation
- `pytest tests/test_upload_retry.py tests/test_queue_order.py -q`: 61 passed.
- Load check `scripts/replay_flaky.py --seed 7`: order held across 200 injected faults.
- Limit: worst-case delivery delay grows under sustained faults; follow-up in #418.
- Spec: #402.
radical-brevity: make a final meaning-preserving cut after the required context and evidence are in place.gate-before-push: run the repository's own gates locally first so the described validation is already green.github-pr-shepherding: classify the PR from GitHub state and drive it to merged or explicitly blocked.stacked-diff-discipline: keep each layer small, document its parent and native stack, and distinguish incremental review from cumulative validation.evidence-claim-boundaries: decide what a given piece of evidence actually supports before you claim it in the validation section.A reviewer who never saw the agent conversation can state the behavior change, the rationale, and the validation from the title and body alone; the title satisfies the repository's title check; and the validation section names the checks run, their outcome, and material limits — without pasted operational output or claims beyond what was verified.
Sources: repository title/commit gating practice; conventional-commit release gating; shift-left test evidence.
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