Evidence-gated debugging discipline for coding agents: no edits before a captured reproduction, red test before fix, bisect over guesswork, root cause over symptom patch
—
—
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Personal Tessl agent skills for James Stainer — general programming discipline, useful in any codebase or language.
reproduce-first-debuggingAn evidence-gated debugging pipeline for coding agents. The failure mode it prevents: an agent reads the stack trace, edits the "obvious" file, and declares victory over a bug it never actually saw happen. With the skill loaded, every step leaves an auditable artifact in the transcript:
git bisect run with correct exit-code semantics (125 = skip, ≥128 aborts, wrapper included), plus input and code-path bisection for non-git trees.MITIGATION label instead of "fixed".Status / Repro / Root cause / Fix / Regression / Suite / Siblings) that degrades honestly to UNVERIFIED when the bug can't be reproduced.tessl install github:james-stainer/tessl-skills --skill reproduce-first-debuggingNote: Tessl's install policy requires the explicit --skill flag for GitHub sources.
tessl skill lint .This repo is meant to grow. Natural next steps:
references/repro-recipes.md — per-ecosystem reproduction harness templates (pytest -x -k, jest -t, go test -run, docker-pinned environments).references/flaky-tests.md — a deeper flake-triage sub-procedure: seed/time/ordering/isolation matrix, stress loops, quarantine policy.references/minimization.md — shrinking failing inputs: delta debugging, hypothesis shrinking, creduce.references/no-local-repro.md — the production/log-only variant when the failure can't be reproduced locally.PreToolUse hook that blocks file edits until a reproduction note exists, turning the discipline into an enforced gate rather than an instruction.measure-before-optimizing (baseline → profile → one change → re-measure → keep or revert), pin-before-change (characterization tests before refactoring legacy code), git-surgery (safe history recovery), codebase-recon (fast orientation in an unfamiliar repo).Add a new skill by creating skills/<name>/SKILL.md; tessl skill lint validates the structure.