Files
grimoire/.claude/commands/test.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

373 B

Run the test suite and report results.

Changed files: ${{ git diff --name-only HEAD 2>/dev/null || echo "(no changes)" }}

Run npm run test:run and provide:

  • Total tests: passed/failed/skipped
  • Any failing tests with error messages
  • Suggestions for fixing failures

If a specific test file is provided as an argument, run only that file: npm run test:run -- <file>