# Defect To Guard

> Turn a defect class into a well-designed guard PROPOSAL, and — once a human promotes it — a well-built guard. Activate when writing a Proposed guards entry after fixing a bug, and when a human has explicitly approved implementing a lint, pre-commit hook, CI check, assertion, or ratchet. Never activate to ship a guard inside a fix PR. Covers naming the defect CLASS rather than the instance, checking whether an existing guard should have fired, preferring a check that iterates the SSOT over a per-case assertion, the inert-feature class that only a behavior-driving smoke test can catch, the benefit-versus-cost arithmetic the proposal must show, guard rent, dogfooding a new lint against the real tree, and the watched-surface question.

## Facts
- Page: https://tashan.sh/capability/skill-alexandermattturner-defect-to-guard
- tashan id: skill:AlexanderMattTurner/defect-to-guard
- Source: https://github.com/AlexanderMattTurner/agent-sanitizer
- Type: skill
- Category: security
- tashan score: not scored (catalogued only — too little public evidence)
- Adoption: 9.0
- Upkeep: 100.0
- Freshness: 99.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: Apache-2.0
- Official: no

## Install

```sh
cp -r defect-to-guard ~/.claude/skills/
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-08-14 by tashan (https://tashan.sh) from public evidence. Scorer s5.
