/dsg-verify:verify-route [route path, e.g. app/api/health/route.ts]from dsg-verify
Runs targeted verification on a changed API route — typechecks, runs relevant unit/integration tests, checks request body safety, and audits dependencies.
Ships in dsg-verify. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
api-route, verification, testing, typecheck, dependency-audit
Verify a change to an API route ($ARGUMENTS) using the API route / security
tier of the verification ladder (CLAUDE.md section 6).
Run the narrowest checks that prove the change:
Typecheck:
npm run typecheck
Targeted tests — pick the suite that covers the route:
npm run test:unit
npm run test:integration
If a specific test file exists for the route, prefer running just that file:
npm run test -- <path/to/route.test.ts>
Request body safety (for POST/PUT/PATCH routes):
bash scripts/check-request-body-safety.sh
Dependency audit when the change touches dependencies:
npm audit --audit-level=high
Reporting rules:
curl when the environment is
configured and authorized; otherwise say Not run.dynamic = 'force-dynamic' where
needed, async params shape for dynamic routes, readJsonBody(...) with an
explicit max size on critical POST/PUT/PATCH routes, and auth implemented in
the route rather than assumed from middleware.next build passes — run /pre-pr-check
before opening a PR.7-day visitors to each command page
3 commands in this plugin
[](https://www.claudepluginhub.com/plugins/tdealer01-crypto-dsg-verify-plugins-dsg-verify?ref=badge)Other plugins' commands for the same job