[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ATTENTION ask user whether to skip.Quick Summary
Goal: Create a pull request with standardized format (summary, test plan, changes list).
Workflow:
- Analyze -- Review all commits and changes on the branch
- Draft -- Create PR title (<70 chars) and body with summary + test plan
- Create -- Push branch and create PR via
gh pr create
Key Rules:
- PR title under 70 characters; use body for details
- Include summary bullets and test plan checklist
- Push to remote with
-uflag before creating PR
Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
Create Pull Request: $ARGUMENTS
Create a pull request with the standard project format.
Steps
- Check current branch status:
- Run git status to see all changes - Run git diff to review modifications - Ensure all changes are committed
- Analyze commits:
- Run git log --oneline -10 to see recent commits - Identify all commits to include in the PR
- Create PR with standard format:
gh pr create --title "[Type] Brief description" --body "$(cat <<'EOF' ## Summary - Bullet points describing changes ## Changes - List of specific changes made ## Test Plan - [] Unit tests added/updated - [] Manual testing completed - [] No regressions introduced ## Related Issues - Closes #issue_number (if applicable) Generated with Claude Code EOF)" - PR Title Format:
- [Feature] - New functionality - [Fix] - Bug fix - [Refactor] - Code improvement - [Docs] - Documentation only - [Test] - Test changes only
Notes
- Ensure branch is pushed before creating PR
- Target branch is usually
developormaster - Add reviewers if specified in $ARGUMENTS
Closing Reminders
- IMPORTANT MUST ATTENTION break work into small todo tasks using
TaskCreateBEFORE starting - IMPORTANT MUST ATTENTION search codebase for 3+ similar patterns before creating new code
- IMPORTANT MUST ATTENTION cite
file:lineevidence for every claim (confidence >80% to act) - IMPORTANT MUST ATTENTION add a final review todo task to verify work quality