Claude Code How-To Guide

description: Clean up code, stage changes, and prepare a pull request allowed-tools: Bash(git add:), Bash(git status:), Bash(git diff:), Bash(npm test:), Bash(npm run lint:*)


Pull Request Preparation Checklist

Before creating a PR, execute these steps:

  1. Run linting: prettier --write .
  2. Run tests: npm test
  3. Review git diff: git diff HEAD
  4. Stage changes: git add .
  5. Create commit message following conventional commits:
  6. fix: for bug fixes
  7. feat: for new features
  8. docs: for documentation
  9. refactor: for code restructuring
  10. test: for test additions
  11. chore: for maintenance

  12. Generate PR summary including:

  13. What changed
  14. Why it changed
  15. Testing performed
  16. Potential impacts

Last Updated: April 9, 2026