Skip to content
Back to skills

Verify Against Code

ASecurity

Use when about to assert any factual claim about what code or a product does - in an answer, a doc, a commit message, or anything a user will see.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add Fergius-Engineering/instincts --skill verify-against-code --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Against Code?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verify Against Code
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fergius-engineering-verify-against-code/badge)](https://www.skillsdirectory.com/skills/fergius-engineering-verify-against-code)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verify-against-code
description: Use when about to assert any factual claim about what code or a product does - in an answer, a doc, a commit message, or anything a user will see.
---

## The rule

Before you state a fact about what the code or product does, go read the thing that proves it. Your memory, the user's framing, a plan that says "done", a table in the docs — all of these go stale, and stating one as fact when it's wrong costs more than the thirty seconds it takes to check.

## Fires when

Answering "does it do X?", writing a doc or README line, writing a commit or PR body, shipping anything outward-facing (store copy, a caption, a before/after), agreeing with a claim the user just made about the code.

## How to apply

For each claim, find the concrete artifact that proves it — the symbol, the field, the default value, the line — and read it. Cite what you read as the evidence, briefly.

"It doesn't actually do that" and "only partially" are valid, valuable answers. Say so plainly and surface the conflict instead of going along with the assumption.

Hold this bar even when nobody asked you to check. Especially when nobody asked.

## Worked example

A user asks: "Our API trims whitespace from usernames before saving, right?" You remember writing something like that. The cheap move is "yes." The right move: open the save path and read it. You find `username.toLowerCase()` but no `.trim()`. The honest answer is "It lowercases, but it does not trim — leading spaces are saved as-is." That gap is exactly the bug the user was about to assume away. The thirty-second read changed a confident wrong answer into a real finding.

## Red flags

| Thought | Reality |
|---|---|
| "I'm pretty sure it does that" | Sure isn't read. Open the file. |
| "The plan says it's done" | Plans go stale. The code is the truth. |
| "The user said it works that way" | The user can be wrong about their own system. Check. |
| "It's just a doc line, not code" | A wrong doc line is a wrong claim shipped to every reader. |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.