validate

A command that finds unused code, abandoned components, unreachable routes, and outdated database artifacts in a project.

In plain words
What is it for?
Use it to review possible cleanup in frontend, backend, and database areas, then approve what should be removed.
Why use it?
It helps reveal clutter and maintenance risks while keeping deletion under your control.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/zircote-plugins/sdlc-quality/validate
Clone the repo
git clone --depth 1 https://github.com/zircote-plugins/sdlc-quality
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.01366
Opus 5 $0.00018 $0.00683
Sonnet 5 $0.00007 $0.00273
Haiku 4.5 $0.00004 $0.00137

Measured 2d ago against content hash 4b3e3639c584, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

validate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/validate.md · 221 lines

How it starts

The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SDLC Compliance Check

Perform a comprehensive compliance check of the current project against SDLC requirements.

Process

1. Detect Project Type

First, identify the project's language and framework:

# Check for language indicators
ls Cargo.toml package.json pyproject.toml pom.xml build.gradle go.mod 2>/dev/null

2. Run Domain Checks

Check each SDLC domain for compliance. Use the specialized agents if available, or perform checks directly.

Build System Check
  • Makefile exists with standard targets
  • Build configuration present
  • make build works
  • make test works
  • make lint works
  • make format works
# Verify Makefile targets
make -n build test lint format clean 2>/dev/null && echo "✓ Makefile targets OK" || echo "✗ Makefile missing targets"
Code Quality Check
  • Formatter configured
  • Linter configured
  • Format check passes
  • Lint check passes
# Run format check
make format-check 2>/dev/null || echo "Format check failed or not configured"

# Run lint
make lint 2>/dev/null || echo "Lint failed or not configured"
Testing Check
  • Tests exist
  • Tests pass
  • Coverage configured
# Run tests
make test 2>/dev/null || echo "Tests failed or not configured"
CI/CD Check
  • Workflow file exists
  • Required jobs present
  • Actions pinned
  • Caching configured
# Check CI workflow
ls .github/workflows/ci.yml .github/workflows/ci.yaml 2>/dev/null || echo "✗ No CI workflow found"

# Check for pinned actions
grep -E "uses:.*@v[0-9]" .github/workflows/*.yml 2>/dev/null | head -5
Security Check
  • Vulnerability scanning configured
  • License compliance defined
  • SECURITY.md exists
# Check security config
ls SECURITY.md 2>/dev/null || echo "✗ SECURITY.md missing"
ls cargo-deny.toml .cargo/audit.toml 2>/dev/null  # Rust
ls .npmrc package.json 2>/dev/null | xargs grep -l "audit" 2>/dev/null  # Node

Read the full file on GitHub · 221 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 221 lines · 36 tokens per session scan A 4b3e3639c584

Subscribe to this mod's changes

validate is a command published in the GitHub repository zircote-plugins/sdlc-quality (10 stars, last pushed 29d ago), licensed MIT. It adds 36 tokens to every session and 1,366 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.