itsthecsguy

Ratchet — Development skill for Claude Code

Development community

Typecheck your skills.

How to install Ratchet

This entry records only its repository, not the path inside it, so there is no exact command to give. Open itsthecsguy/ratchet and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ratchet does

Typecheck your skills. Turn CLAUDE.md, AGENTS.md, and SKILL.md guardrails into deterministic rules across coding-agent harnesses.

Alternatives in Development

  • Nopus — Deterministic prose checks for clearer coding-agent responses 239 ★
  • Agentic Sop To Work — Turn human SOPs into deterministic, gated agentic workflows — a Claude Code plugin 205 ★
  • Pi Warden — Zero-key runtime guardrails for Pi, Claude Code, and Codex — blocks destructive commands and secret exfiltrati 199 ★

README

Ratchet — Typecheck your skills.

CI Version License: MIT ~5 MB Rust binary

Ratchet

**Typecheck your skills.** Turn `CLAUDE.md`, `AGENTS.md`, and `SKILL.md` guardrails into deterministic rules that lint in milliseconds and enforce at tool-call time (~1.8 ms) — across every coding agent you use.

  • Typecheck skills (ratchet lint) — catches unchecked claims (W102), stale paths/scripts (W103), broken links (W105), and cross-file or lockfile contradictions (E005, W106) in ~36 ms on a 35k-file repo.
  • Enforce deterministically (~1.8 ms) — blocks forbidden commands, protected writes, diff patterns, and skipped test runs before they happen, returning a concrete fix: command to the agent.
  • Zero lock-in, zero API keys — single ~5 MB Rust binary, offline by default, works with ordinary markdown files and 9 coding-agent harnesses + Git pre-commit + CI.
## pnpm-only
Always use pnpm. Never use npm, npx or yarn.

```rule
when: run
level: enforce
deny: npm *, npx *, yarn *
use:  npx => pnpm dlx {{args}}
say:  This repo uses pnpm; {{program}} would write a second lockfile.
ok:   pnpm install
bad:  npm