Rules Check — Security skill for Claude Code
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
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 RepositoryRelated Skills
Kai Review Project
Audit a project's AI system against brigade conventions and project-structure rules. Reports PASS/FAIL per che
Review Implementation
Independent implementation audit of uncommitted code by Codex CLI against a plan doc, then apply agreed fixes
Agent Context Doctor
Audit agent context files like AGENTS.md, CLAUDE.md, .cursor/rules/.mdc, .github/copilot-instructions.md, and
Cleanup Docs
Audit and clean up a repo's Claude documentation — measure the always-on tier first (CLAUDE.md + nested + .cla
Agentic AI Security Starter Kit
Working code examples to defend against Agentic AI threats: prompt injection detection, Claude Code hooks, OPA
Ctxinit
Claude Code skill that scaffolds a single-source context/ knowledge hub — engineering rules, security law, com
Related Agents
Wp Theme Reviewer
Audits a generated or existing WordPress block theme for FSE correctness, theme.json validity, accessibility,
Perf Orchestrator
Coordinate /perf investigations across all phases, enforcing non-negotiable perf rules.
Perl Release Check
Prepare a SINGLE Perl distribution for release. Works in the current working directory. Checks Changes, docs,