Skip to content
cjberPublic

About

Claude Code skills: /pr ships one green PR across two models, /deadcode proves code dead before deleting it

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

skills

Agent skills I use daily, one per directory, each a self-contained SKILL.md plus any tooling.

Skill Use it to
grilling Resolve a plan's open decisions one question at a time before building
wayfinder Plan an effort too big for one session as a map of decision tickets
issue Turn an issue into a file-level plan, or a whole backlog into one PR
diagnose Build a loop that goes red on a bug, then fix it at the producer
pr Ship an approved change as a reviewed, green PR, monorepo or personal
simplify Shrink a finished diff without changing behaviour
review Review a diff for defects that execute, on a fixed budget
deadcode Prove code dead before deleting it
autopsy Account for every second and defect of one agent run
retro Turn a session's friction into a change to checks, steering files or skills
handoff Compact a conversation into a document a fresh agent can continue from
skill-writing Write and prune skills and steering files; holds the shared glossary
prototype Explore design questions with disposable UI or logic prototypes
web-design-guidelines Audit rendered websites and UI code for accessibility, navigation and responsive behavior
copywriting Write or edit copy for any audience and channel, with concrete claims and a consistent voice
docs-writing Use the copywriting workflow for software documentation
wow-forever-addon Hold every WoW: Forever addon to one look, icon family, docs shape and CI baseline
wow-addon-publish Publish a WoW addon to CurseForge and Wago, and cut releases
wow-mock-screenshots Render WoW addon screenshots from the game's own art, without the client
wow-visual-audit Gate a rendered addon layout: inside the frame, no overlaps, no bleed
flowchart LR
    I[issue] --> P[pr]
    W[wayfinder] --> I
    G[grilling] -.-> W & I
    I & P -. bug .-> DG[diagnose]
    P --> S[simplify] & R[review] & D[deadcode]
    RT[retro] -. writes with .-> SW[skill-writing]
    X[(sift)] -. gate + dead-code sweep .-> P
Loading

Each stands alone. They pair with a project-gate tool such as sift: sift setup records a project's lint/type/test gate, which /pr runs; sift audit diff is /pr's dead-code sweep.

Install

npx skills add cjber/skills   # pick skills when prompted

Or copy the directories into ~/.claude/skills/. Invoke by name (/pr) or describe the task.

Needs: Claude Code · Codex CLI (for /pr) · gh · jq (watch scripts only) · signed commits.

Adapt first: the Codex model pin (gpt-6-astra), the cb/<slug> branch prefix and gh stack are personal habits. Without sift, name your own gate in /pr.


issue

  • /issue 123 456, plan only: reads the issue and the code, writes a file-level plan.
  • /issue, triages the whole backlog, plans in parallel, builds serially onto one branch (one signed commit per issue), and opens one PR that closes them all.
  • A red gate drops that issue back to plan-only; commits stage explicit paths, never git add -A.

pr

Plan → isolate → implement → simplify + review → publish → drive green → merge (only when told).

  • Routes by owner: a repo with a configured gate runs the full two-model path; a personal repo runs a single pass and treats its own checks as the gate.
  • Every judgment phase runs on two models, a Claude arm and a Codex arm at high effort, which critique each other once. A second model does not share the first one's blind spots.
  • Two arms only: no fan-out, no nested agents.
  • Fix verified findings in the PR; filing an issue is not a resolution.
  • Every review comment, bots included, gets a reply. Every push reopens that window.
  • Never gh pr update-branch, it strips signatures.
  • scripts/watch_human.sh tails the Codex arm for you; scripts/watch_digest.sh gives the agent a bounded digest with token usage.

simplify

Makes a finished diff smaller, in order: delete → unify onto existing seams → use the library already in the lockfile → collapse one-caller abstractions → trim tests and narrating comments.

  • Hard floor: never weakens auth, tenancy, billing, persistence, concurrency or migrations to shrink a diff.
  • Rejects "simpler" candidates that are longer or less typed.
  • Long form: references/review-rubric.md.

review

One pass, a stated budget, defects that execute.

  • Current model at medium effort; no parallel reviewers.
  • One scoped second pass, only for security, billing, data loss, concurrency or migrations.
  • Each finding: file:line, defect, failure scenario, smallest fix. "Nothing found" is a valid answer.

deadcode

Scanners (vulture, knip, ts-prune, …) give candidates; this skill proves them.

  • No reference ≠ dead: rule out dynamic dispatch, public API, ops/docs, string lookup and other services.
  • Name-based scanners also miss dead islands that reference each other.
  • Code referenced only by its test is dead; delete both.
  • Analyse → prove → plan → approval → apply → verify. The approval gate is unconditional.
  • Module reachability uses grimp (Python); elsewhere use the nearest equivalent (knip for TS/JS). A project-gate tool such as sift wires scanners per language.

autopsy

/autopsy <run id | screenshot | text> rebuilds one agent run's timeline from traces, events and logs. Bare /autopsy samples the worst production runs and ranks defects by users affected.

  • The time budget must add up; unaccounted time is a finding.
  • No "flaky": every anomaly names its cause and the missing defence.
  • scripts/autopsy.py runs mechanical detectors (retries after "stop", repeated calls, long gaps, cache misses, …) over a canonical JSONL your adapter emits. Trace locations go in .claude/autopsy.md, never the skill.
  • Failure classes: references/taxonomy.md.

grilling

One question at a time, each with a recommended answer, until no open branch would change what gets built.

  • Facts are the agent's job to look up; only decisions go to the user.
  • Hard-to-reverse decisions become ADRs; sharpened terms go into the repo's glossary.

wayfinder

/wayfinder <idea> charts a map issue and its decision tickets; /wayfinder <map> resolves one ticket per session.

  • Tickets are questions (grilling, research, prototype, task), wired with native blocking so the frontier shows in the tracker.
  • What cannot yet be asked sharply stays as fog on the map.
  • It plans; a clear map is handed to /issue.

diagnose

No theory until one command goes red on the bug.

  • Loop → minimise → 3-5 falsifiable hypotheses → one-variable probes → fix at the producer.
  • The loop becomes a permanent test only when it earns its upkeep.
  • For one production agent run, use autopsy.

retro

Reads a session for friction and routes each piece to the cheapest home that would have prevented it: a deterministic check first, a sentence in a steering file last.

  • Every run also prunes steering files and the memory index: no-ops, sediment, duplication.

handoff

Goal, state, open items and pointers to existing artifacts, written outside the workspace.

skill-writing

Reference for anything an agent reads: pointers, the two loads, completion criteria, leading words, pruning, and when a skill should be model- or user-invoked.

  • GLOSSARY.md is the one vocabulary every skill here uses.
  • Merge before adding: a new behaviour is first a branch in the skill that owns the concept.

grilling, wayfinder, diagnose, retro, handoff and skill-writing are adapted from mattpocock/skills, (c) 2026 Matt Pocock, MIT. Each carries the upstream notice in its own THIRD_PARTY_NOTICES.md.

wow-forever-addon

A standards pack: numbered requirements (WFA-1…) every WoW: Forever addon shares, retail-UI look, one icon family, README and store-page budgets, CI and release baseline, repo settings and the main ruleset. Each addon declares it under ## Standards in its AGENTS.md, and sift audit reviews against it.

  • icon-template.svg is the family frame; swap the emblem.
  • render_icon.py renders media/icon-400.png and the 64 px media/Icon.tga from media/icon.svg.

wow-addon-publish

Create the CurseForge and Wago projects through each site's own form in a logged-in browser, wire their IDs into the TOC, and release with a signed tag that the BigWigs packager uploads everywhere. Secrets and gallery deletions stay with the user.

wow-mock-screenshots

wowmock.py fetches the pinned client build's atlases, textures, fonts and DB2 data from wago.tools (cached, so reruns are byte-identical) and draws retail-UI widgets from Blizzard's own XML numbers. Each addon keeps a small tools/screenshots.py for its scenes.

  • Accuracy over polish: every scene is checked against a real capture before it ships.
  • NOTES.md records what those checks found.
  • Needs Python 3 and Pillow 12+.

Licence

MIT. See LICENSE. Adapted third-party work is listed in THIRD_PARTY_NOTICES.md.

About

Claude Code skills: /pr ships one green PR across two models, /deadcode proves code dead before deleting it

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages