mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-02-12 17:22:50 +00:00
* fix: extend heartbeat timeout to prevent stalls during sub-agent execution * feat: add /pr command for creating pull requests with conventional commits
1.2 KiB
1.2 KiB
description
| description |
|---|
| Create a PR to main branch using conventional commit style for the title |
Create a pull request from the current branch to the main branch.
First, analyze the current branch to understand what changes have been made:
- Run
git log --oneline -10to see recent commit history and understand commit style - Run
git log main..HEAD --onelineto see all commits on this branch that will be included in the PR - Run
git diff main...HEAD --statto see a summary of file changes
Then generate a PR title that:
- Follows conventional commit format (e.g.,
fix:,feat:,chore:,refactor:) - Is concise and accurately describes the changes
- Matches the style of recent commits in the repository
Generate a PR body with:
- A
## Summarysection with 1-3 bullet points describing the changes
Finally, create the PR using the gh CLI:
gh pr create --base main --title "<generated title>" --body "$(cat <<'EOF'
## Summary
<bullet points>
EOF
)"
IMPORTANT:
- Do NOT include any Claude Code attribution in the PR
- Keep the summary concise (1-3 bullet points maximum)
- Use the conventional commit prefix that best matches the changes (fix, feat, chore, refactor, docs, etc.)