All authors

Claude Skills by mikestangdevs
github.com/mikestangdevs20 skills2 installs81 views
- BoyscoutUse when editing an existing file, to leave it slightly cleaner without derailing into a refactor. Picks small, safe, in-scope improvements next to the change — a better name, a deleted dead line, a clarified condition — and keeps them separate from the behavior change so review stays clean.Votes: 0GitHub stars: 4
- Delete ThisUse when a codebase feels heavy, when you suspect dead code, or before adding a feature to a cluttered area. Finds dead branches, unused exports, commented-out blocks, pinned feature flags, and single-use abstractions, proves each is unused before removing it, and stages deletions so each is independently revertible.Votes: 0GitHub stars: 4
- Explain BackUse before trusting, merging, or building on code that was just written or is about to change. The agent explains it back in plain language — what it does, why it exists, what breaks if it's wrong — and doesn't proceed until the mental model is confirmed. Use on AI-generated diffs that look fine but nobody can explain, and before changing an unfamiliar file.Votes: 0GitHub stars: 4
- Fit InUse before writing new code into an existing codebase. Reads the surrounding code first and matches its idioms — error style, test layout, naming, imports, existing helpers — instead of importing a generic house style. Use when AI-generated code is correct but doesn't look like the rest of the repo, or when starting in an unfamiliar repo.Votes: 0GitHub stars: 4
- Loud ErrorsUse when an error is swallowed, vague, or loses its cause — an empty catch, `except: pass`, log-and-continue, `throw new Error(\"something went wrong\")`. Makes each failure say what operation failed, with which inputs, and what the caller should do. Use when reviewing AI-generated code or debugging a failure that left no trace.Votes: 0GitHub stars: 4
- Name ThingsUse when naming or renaming functions, variables, types, files, or modules, or when a review keeps stumbling over confusing names. Kills generic names (data, handle, process, manager, util), makes each name reveal intent and role, and aligns vocabulary with the domain. Use when two things have nearly the same name or reading code feels harder than it should.Votes: 0GitHub stars: 4
- SeamsUse when logic can't be unit-tested without a database, network, clock, or a pile of mocks, or when one function fetches, computes, branches on policy, and writes. Splits the pure decision from the I/O action so the logic is testable with plain values. The proof is a unit test that needs zero mocks.Votes: 0GitHub stars: 4
- Why CommentsUse when comments narrate what the code already says (`// increment the counter`) or when surprising, load-bearing code has no explanation. Deletes the narration, keeps and sharpens comments that record a non-obvious why — the workaround, the spec quirk, the ordering constraint — and adds a why where one is missing.Votes: 0GitHub stars: 4
- Bank The SuiteUse after each unit of work in a repo with a real test suite — before the next task, a compaction, or declaring done. Runs the full suite (backgrounded and parallelized when slow) and banks a verified green: honest counts against a baseline, every failure accounted for by name. Use when only nearby tests were run or failures are called 'probably unrelated'.Votes: 0GitHub stars: 4
- Checkpoint HandoffUse before a context boundary on multi-session work — a compaction, the end of a long session, a handoff to another agent. Writes the resume state to a durable file: what's done, what's in flight, the ordered remaining tasks, the standing constraints verbatim, and the files to re-read first, so a cold session can continue without asking.Votes: 0GitHub stars: 4
- Everywhere ElseUse right after fixing a bug or pattern in one place, before reporting done. Enumerates the sibling sites that share the pattern (templates, endpoints, components, fixtures, configs) by search, audits each for the same defect, fixes the affected ones, and reports which were checked and clean. Use when 'fixed' touched one file among many look-alikes.Votes: 0GitHub stars: 4
- Fix It NowUse the moment a real bug is found during an audit, review, test wave, or unrelated work, and the temptation is to document it and move on. Confirmed bugs get fixed in the current pass; a deferral must be explicit and accepted by the user, never a buried TODO. Also covers half-finished features: finish them or remove them.Votes: 0GitHub stars: 4
- Prove Every NumberUse when code or docs contain a numeric constant, threshold, default, rate, or tolerance — especially one just introduced. Every number is derived from real data or cited to a source; an assumption is labeled as one. Use when a value was picked to look reasonable, a test went green by adjusting a constant, or a doc quotes a figure nobody re-measured.Votes: 0GitHub stars: 4
- Readiness GateUse at every 'are we ready?' moment — before declaring done, shipping, demoing, or answering 'so everything works?'. Replaces 'should work now' with an evidence-backed go/no-go: what was verified and how, what was not, the spec walked line by line, and the residual risk. Certainty is calibrated to what was actually tested.Votes: 0GitHub stars: 4
- Smell The NumbersUse when code produces output someone will read — a report, metric, chart, or calculation — and a result is surprising, suspiciously clean, or just changed a lot. Implausible values (all zeros, a value past its physical limit, a metric that moved 40x) are root-caused at the source, never clamped, hidden, or smoothed in the display.Votes: 0GitHub stars: 4
- Test Like You Mean ItUse after building a feature, model, or fix that has to be trusted, before calling it done. Replaces smoke tests and tests written to pass with an adversarial wave — invariants, edge regimes, independent cross-checks, hostile inputs — where findings are expected and get fixed. Use when tests were written alongside the code they test, or a green suite still doesn't earn confidence.Votes: 0GitHub stars: 4
- Setup Craft SkillsRun once per repository after installing craft-skills, or when the project's vocabulary or conventions have drifted. Scaffolds an optional CONTEXT.md — domain glossary, stack, conventions, untouchables — that the craft skills read to match the codebase. The skills work without it.Votes: 0GitHub stars: 4
- Shared TreeUse when working in a repository whose working tree may hold someone else's uncommitted changes — another agent session, a teammate, the user's own in-progress edits. Records what was already modified, stages by explicit path (never `git add -A`), avoids tree-wide resets and stashes, and copies a file aside before rewriting it.Votes: 0GitHub stars: 4
- Subtract FirstUse when work was just rejected as too much, too busy, confusing, or 'still not right' — a UI, a doc, an API, an over-built PR — and the instinct is to add something to fix it. Removes one thing and re-shows before adding anything, makes one change per look, and keeps a clean way back to the last accepted state.Votes: 0GitHub stars: 4
- Held OutUse when reporting how well anything fitted or tuned performs — a model, forecast, classifier, heuristic, prompt, or threshold. The score counts only on data the thing never saw, against a bar set before scoring, a naive baseline, and a placebo. Use when a score came from the data used to build it, or when something was iterated until the eval passed.Votes: 0GitHub stars: 4