/code-habits:evidence-over-speculationfrom code-habits
Use when about to assert a fact about code behavior, data state, configuration, or system behavior you have not directly verified — requires either reading the source/running the query/checking the log first, or labelling the claim explicitly as a hypothesis. Also covers secondary sources (deepwiki, subagent reports, web search, memory entries): keep the source tag visible and verify cited facts before relaying them as primary-source assertions.
Ships in code-habits. 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.
When stating something about code behavior, data, or system state — either verify it (read the source, run the query, check the log), or clearly label the claim as a hypothesis.
Confident-sounding statements that turn out to be wrong erode trust faster than uncertain-but-honest ones. A user acting on "the function returns X" makes plans differently than acting on "I think the function returns X — let me check".
Before stating a fact:
file_path:line or query result).In particular:
When evidence and memory disagree, trust the evidence and update or remove the stale memory.
DeepWiki answers, subagent reports, web search snippets, and memory entries are secondary sources — somebody else's claim about reality, not reality itself. Specific failure mode: passing those claims through to the user in primary-source language (dropping the source qualifier when summarizing).
The risk pattern looks like this:
Each step compounds the cost. The whole chain is avoidable.
How to apply:
gh api, ls, or grep before relaying. Costs <60s, prevents confident relay of confabulated specifics.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub amitkot/claude-code-tools --plugin code-habits7 skills in this plugin
/comment-non-obvious-stepsUse when writing or editing code that contains repeated-looking calls on different structures, bitmask/bit-fiddling, ordering-sensitive sequences, or multi-step state mutations across data structures — adds a short inline comment per step explaining WHY each step is distinct, so a reader doesn't stop and ask "wait, why are there three of these?". Does not apply to trivial code with self-explanatory identifiers./deliverable-on-diskUse when about to mark a task as complete, done, finished, or shipped — verifies the deliverable actually exists as a file on disk, in a commit, or as a posted artefact. Blocks claiming completion based on chat output alone./