Files
grimoire/.claude/commands/verify.md
Alejandro c223deb4b9 feat: enhance Claude Code setup with slash commands, hooks, and verification (#38)
Add slash commands for common workflows:
- /commit-push-pr: Streamlined PR creation
- /verify: Full verification suite (lint + test + build)
- /test: Run tests with results summary
- /lint-fix: Auto-fix lint and formatting
- /review: Code review for quality and Nostr patterns

Update settings.json:
- Expand permissions for common safe bash commands
- Add PostToolUse hook for auto-formatting with Prettier

Update CLAUDE.md:
- Add Verification Requirements section
- Document available slash commands
- Emphasize running /verify before PRs

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-05 12:45:49 +01:00

479 B

Run full verification suite for the current changes.

Execute these checks in sequence, stopping on first failure:

  1. Lint Check: npm run lint
  2. Test Suite: npm run test:run
  3. Build Check: npm run build

For each step:

  • If it passes, proceed to the next
  • If it fails, report the specific errors and suggest fixes

After all checks pass, summarize:

  • Total tests run and passed
  • Any warnings to be aware of
  • Confirmation that the changes are ready for PR