/building:biasesfrom building
Counter reasoning biases when investigating, debugging, or searching a codebase or history. Follow this skill when looking for every instance of a pattern, diagnosing an incident, judging a past decision, or answering "has this happened before" — anywhere a partial sample could pass for the whole population.
Ships in building. 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.
Three steps, before any conclusion:
The failure this prevents: reaching for git log -20 or "the last few days"
when the question was whether something has ever happened, then answering
with total confidence from a sample chosen by recency.
Checking whether a repo tracked a global git-ignore file, an earlier session ran:
grep -rn "claude/worktrees" --include='ignore' . | grep -v worktrees/
The second grep -v filtered out the only matching line, because that line
contained the search term itself. Empty result, read as an answer — "no
git-ignore config is tracked." Wrong: .config/git/ignore was tracked all
along. An empty or surprisingly small result is evidence about the query
first, and about the codebase only second.
| Bias | How it shows up | Rule |
|---|---|---|
| Recency | git log -20 when the question is "has this ever happened" | Search the full range, then narrow |
| Selection | Reading the first 3 of 40 grep hits | Count first, then sample deliberately |
| Confirmation | Only searching for what confirms the hypothesis | Search for disconfirming evidence explicitly |
| Availability | First plausible cause becomes the answer | Enumerate at least two candidates before choosing |
| Outcome | Judging a past decision by how it turned out | Judge on what was knowable at the time |
| Survivorship | "Nothing in the logs" read as "it didn't happen" | Ask what would not have been logged |
| Anchoring | The first file read frames the whole investigation | State the frame, then deliberately look outside it |
| Thought | Reality |
|---|---|
| "The recent ones are representative" | That is the assumption under test, not a finding. Search the full range. |
| "The first few hits tell the story" | You do not know that until you know how many there are. Count first. |
| "This is obviously the cause" | Name a second candidate and say why it loses. If you cannot, you have not diagnosed it. |
| "Nothing in the logs, so it did not happen" | Ask what would not have been logged. |
| "They should have seen it coming" | Judge on what was knowable then, not on how it turned out. |
| "I already know where this lives" | That is an anchor. Confirm it, cheaply, before building on it. |
| "A full search is too slow" | A wrong answer is slower. Narrow the population, do not sample it silently. |
Saying so explicitly — "I searched the last 200 commits, not all 4,000" — is the required output. Silent narrowing is not.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/ci-watchWatch a pull request's CI checks and repair failures until they pass. Follow this skill after opening a PR, or when asked to watch, babysit, or fix CI on a PR. Bounded at three fix rounds; never weakens a test to reach green./commitCreate atomic conventional commits. Follow this skill whenever committing code — commit without asking, never push, and sub-agents commit as they go and surface a summary in their return value./concise-commentsUse when writing or editing comments in source code, when a comment is running past two sentences, when explaining non-obvious design context, tradeoffs, constraints or workarounds in code, or when reviewing code that carries long explanatory comment blocks or changelog-style notes. Trigger on 'document this decision', 'explain why this is here', 'make sure the next person understands', 'comment this properly'./draft-prCreate a draft pull request with a standardized body (a blank Intent for the author, then What/Why/How) and conventional-commit title, or hand the user the exact `gh pr create --draft` command to run. Follow this skill whenever opening a pull request, or when the user asks for the command to open one — the draft PR is the human review checkpoint, so the body format is fixed, the title is conventional-commit, and the PR is always marked draft. Main agents only; sub-agents return their work to the main agent to PR./learning-styleSet how Claude presents information to you, and takes it in from you, for this session. Styles are reading, seeing (or visual), doing and listening; give one or more./pre-pr-checkRun the repo's documented lint and tests, sweep the diff for secrets, over-long comments and code it could do without, grade this change against the compliance checklist, and weigh its impact and risk. Follow this skill before pushing anything to a shared remote or opening a pull request, and whenever the user asks to review changes or for a pre-push review. Pass --full to add the project-level categories that are near-static between PRs.npx claudepluginhub joelstoddard/guardrails --plugin building