Skip to content
Back to skills

Code Grounding

ASecurity

Codebase reality check. Verify active entrypoints, real callers/consumers, and existing tests before modifying code to prevent editing dead copies or duplicating functionality.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agents

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add yjfkpyu/AgentLock-Harness --skill code-grounding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Grounding?

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

Security grade badge for Code Grounding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yjfkpyu-code-grounding/badge)](https://www.skillsdirectory.com/skills/yjfkpyu-code-grounding)

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: code-grounding
description: Codebase reality check. Verify active entrypoints, real callers/consumers, and existing tests before modifying code to prevent editing dead copies or duplicating functionality.
---

# Code Grounding — Active Entrypoint & Consumer Verification

## Steps (Hands off to `atomic-tdd`)

1. **Inspect Working Tree**: Check branch and uncommitted changes; protect others' work. `SESSION.md` never overrides live workspace facts.
2. **Trace Active Call Paths**: Confirm target files are wired into active routes, exports, or registries—exclude dead duplicate files.
3. **Reuse Before Creating**: Missed search does not prove absence; check aliases, ignore patterns, and generated files first.
4. **Separate Three Fact Types**: Accepted requirements ("should be") != live code ("currently is") != verification evidence ("tested under X").

## Anti-Rationalization Table

| Common Rationalization | Mandatory Counter-Action |
| :--- | :--- |
| "The filename matches, I'll edit it directly" | Trace at least 1 active caller or public export confirming the file is on the live execution path |
| "Old code and tests do X, so I'll edit the spec" | Investigate defect origin first; **never rewrite a valid spec to match buggy code** |

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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