stephennmiller

Validate Spec — Testing skill for Claude Code

Testing community

Check an implementation against the project's specs and conventions.

How to install Validate Spec

Installs to ~/.claude/commands/stephennmiller-claude-code-guardrails-validate-spec.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/stephennmiller/claude-code-guardrails/HEAD/.claude/commands/validate-spec.md -o ~/.claude/commands/stephennmiller-claude-code-guardrails-validate-spec.md

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

What Validate Spec does


description: Check an implementation against the project's specs and conventions argument-hint: "[file-or-feature]" allowed-tools: "Bash(git:*), Bash(npm:*), Read, Grep, Glob"

Validate: $ARGUMENTS

Audit an implementation against what the project says it should be. Read-only — report findings, do not fix them.

1. Spec compliance

If a written spec exists:

  • Every acceptance criterion is met — quote the code that meets each
  • The specified pattern was followed, not a paral

Alternatives in Testing

Full documentation available on GitHub

View Source Repository