code-guardian

Installation
SKILL.md

Code Guardian

Protocols to prevent common AI coding failures. This skill operates in two modes:

  1. Background Mode: Always-on mindset during coding (simplicity-first, surface assumptions, push back when needed)
  2. Checkpoint Mode: Explicit checklists via cg commands

BACKGROUND MODE (Always Active)

These rules apply during coding, not just before or after. Violating them mid-implementation is the same as violating them anywhere else.

1. Assumption Surfacing (Before You Type)

Before implementing anything non-trivial, state your assumptions out loud:

"I'm assuming [X]. If that's wrong, this approach won't work."

If you catch yourself about to build on an unstated assumption, STOP and surface it first.

2. Confusion Signaling

Installs
11
First Seen
Feb 4, 2026