Development
Command
/create-pr
Generate a PR description from the current branch changes
Install
> /plugin marketplace add tambo-ai/tambo > /plugin install tambo@tambo-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/create-pr
Context preview
What this command does when you run it.
Generate a PR description from the current branch changes
Command definition
create-pr.mddescription: Generate a PR description from the current branch changes
Generate PR Description
Generate a comprehensive pull request description for the current branch.
Steps:
1. **Determine base branch:**
- Use the base branch specified by the user, or default to `main`
- Verify the base branch exists: `git rev-parse --verify <base-branch>`
2. **Get context:**
- Run `git log <base-branch>..HEAD --oneline` to see commits
- Run `git diff <base-branch>...HEAD` to see all changes
- Understand what was accomplished and why
3. **Generate description:**
- Write a clear summary of the changes
- Focus on the "why" not just the "what"
- Note any breaking changes or migration steps
- Include a brief test plan
4. **Output format:**
## Summary [1-3 bullet points of what changed] ## Why [Brief explanation of the motivation] ## Test Plan [How to verify the changes work]
5. **Ask user** if they want to create/update the PR with this description.
Stats
11,160
Stars
562
Forks
Active
Maintenance
TypeScript
Language
MIT
License
15h ago
Last commit
2y ago
Created
Repo: tambo-ai/tambo

