andrecpramos

Rules Check — Security skill for Claude Code

Security community

Audit the working tree against the numbered non-negotiable rules (docs/RULES.md).

How to install Rules Check

Installs to ~/.claude/commands/andrecpramos-nextgen-interface-rules-check.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/andrecpramos/NextGen-Interface/HEAD/.claude/commands/rules-check.md -o ~/.claude/commands/andrecpramos-nextgen-interface-rules-check.md

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

What Rules Check does


description: Audit the working tree against the numbered non-negotiable rules (docs/RULES.md) allowed-tools: Bash, Read, Grep, Glob

Audit the current diff against the numbered rules. Read-only — report, never fix.

1 · Get the rules and the diff

git diff --stat
git status --porcelain

Read the rule register at the path in `docs.rules` from `.claude/sdlc.config.json` (in this repo: `docs/RULES.md`). If it does not exist, say so and stop — there is nothing to audit against

Alternatives in Security

  • Code Audit — Adversarial code review tree 123 ★
  • Audit Docs — Scan documentation for staleness — broken links, outdated counts, stale version references, and inconsistencie 95 ★
  • Audit Changes — Review all changes in the current working tree (staged and unstaged) 90 ★

Full documentation available on GitHub

View Source Repository