Initial commit: Claude How To project
Added comprehensive examples for Claude Code features including slash commands, subagents, memory, MCP protocol, skills, and plugins with documentation and quick reference guides. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
27
01-slash-commands/pr.md
Normal file
27
01-slash-commands/pr.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: Prepare Pull Request
|
||||
description: Clean up code, stage changes, and prepare a pull request
|
||||
tags: git, workflow
|
||||
---
|
||||
|
||||
# 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:
|
||||
- `fix:` for bug fixes
|
||||
- `feat:` for new features
|
||||
- `docs:` for documentation
|
||||
- `refactor:` for code restructuring
|
||||
- `test:` for test additions
|
||||
- `chore:` for maintenance
|
||||
|
||||
6. Generate PR summary including:
|
||||
- What changed
|
||||
- Why it changed
|
||||
- Testing performed
|
||||
- Potential impacts
|
||||
Reference in New Issue
Block a user