kensaurus

Codemod Safety — Security skill for Claude Code

Security community

Audit a codemod or bulk mechanical transform for behavior-preservation — report only.

How to install Codemod Safety

Installs to ~/.claude/skills/kensaurus-cursor-kenji-codemod-safety/SKILL.md

Terminal
mkdir -p ~/.claude/skills/kensaurus-cursor-kenji-codemod-safety && curl -fsSL https://raw.githubusercontent.com/kensaurus/cursor-kenji/HEAD/commands/codemod-safety.md -o ~/.claude/skills/kensaurus-cursor-kenji-codemod-safety/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Codemod Safety does


description: "Audit a codemod or bulk mechanical transform for behavior-preservation — report only" argument-hint: "[diff, PR, or transform description]"

Codemod-Safety Audit

Run the **`audit-codemod-safety`** skill: characterize the transform, then check whether it preserved behavior, caught every case, and left the repo on one convention.

**Read-only — do not re-run the transform or edit the diffs.** "Compiles and lints" is not "behaves the same." General PR quality stays on `audi

Alternatives in Security

Full documentation available on GitHub

View Source Repository