Files
grimoire/.claude/commands/commit-push-pr.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

18 lines
637 B
Markdown

Create a PR for the current changes.
Git status: ${{ git status --short }}
Current branch: ${{ git branch --show-current }}
Diff stats: ${{ git diff --stat HEAD~1 2>/dev/null || git diff --stat }}
Recent commits: ${{ git log --oneline -5 }}
Instructions:
1. Review the changes and stage relevant files
2. Create a commit with a clear, descriptive message following repo conventions
3. Push to the current branch (or create a new branch if on main)
4. Create a PR with:
- Clear title summarizing the change
- Summary section with bullet points
- Test plan section describing how to verify
Do NOT push to main/master directly.