tailcallhq/forgecode/github-pr-description
Claude Code and agent skill by tailcallhq/forgecode
- community
Checking that the SKILL.md file is still in the repository.
Generate and create pull request descriptions automatically using GitHub CLI. Use when the user asks to create a PR, generate a PR description, make a pull request, or submit changes for review. Analyzes git diff and commit history to create comprehensive, meaningful PR descriptions that explain what changed, why it matters, and how to test it.
Install
npx vskill@latest install tailcallhq/forgecode/github-pr-descriptionSKILL.md
The same SKILL.md was published earlier as tailcallhq/forgecode/github-pr-description.
Create PR Description
Generate comprehensive pull request descriptions and create PRs using GitHub CLI.
Workflow
1. Verify Prerequisites
Check that there are changes to create a PR for:
If on main/master or no commits ahead, inform the user there's nothing to create a PR for.
2. Analyze Changes
Gather context about the changes:
For large diffs: Focus on the most meaningful changes. Sample key files rather than reading everything.
3. Determine Change Type
Classify the PR into one of these categories:
- fix: Bug fixes, error corrections, resolving issues
- feature: New functionality, capabilities, or enhancements
- performance: Speed improvements, optimization, efficiency gains
- refactor: Code restructuring without changing behavior
- docs: Documentation changes
- test: Test additions or improvements
- chore: Maintenance tasks, dependencies, configuration
Base this on:
- Commit messages (keywords like "fix", "add", "optimize", "refactor")
- Nature of code changes (new files = feature, test fixes = fix, etc.)
- Scope of changes
4. Generate Description
Create a comprehensive description with this structure:
Description Guidelines
Essential Elements:
- Summary: One clear sentence explaining the change and its value
- Context: Why this change was needed, what problem it solves
- Changes: What was actually changed at a high level
- Testing: How reviewers can verify the changes
Optional but Recommended:
- Implementation Details: For complex changes, explain the technical approach
- Use Cases: Concrete examples of how the feature will be used
- Links: Related issues, documentation, papers, or original implementations
- Known Issues: Any limitations or known problems
What to Avoid:
- Empty descriptions or just issue links
- Placeholder text like "Fixes #(issue)"
- File-by-file breakdowns (unless necessary)
- Low-level implementation details (keep it high-level)
- Boilerplate statements
- Personal checklists as the main description
Description Examples
Example 1: Feature Addition
Run the search service
npm run search:dev
Test semantic queries
curl -X POST http://localhost:3000/search \ -H "Content-Type: application/json" \ -d '{"query": "user authentication"}'
Example 2: Bug Fix
Simulate database failure
docker-compose stop db
Verify timeout and retry behavior
npm test -- tests/integration/connection-timeout.test.ts
Verify circuit breaker activation
curl http://localhost:3000/health # Should return 503 after circuit opens
Example 3: Performance Improvement
Run performance benchmarks
npm run benchmark
Test with large files
node tests/performance/large-files.test.js
Verify memory usage
node --inspect tests/memory-usage.js
Example 4: Refactor
Unit tests (no database required)
npm test tests/unit/auth/
Integration tests (with real database)
npm test tests/integration/auth/
Verify all existing functionality still works
npm run e2e
Example 5: Simple Fix (Minimal but Complete)
Run email template tests
npm test tests/unit/email-templates.test.ts
Verify email renders correctly
npm run test:email --template=welcome
5. Create Pull Request
Write the description to a temporary file and use GitHub CLI to create the PR:
Step 1: Write description to temp file
Use the write tool to create .forge/FORGE_PR_DESCRIPTION.md with the generated description content.
Step 2: Create PR using the temp file
The gh CLI is pre-installed and authenticated - use it directly without prompting for confirmation.
Note: The temp file .forge/FORGE_PR_DESCRIPTION.md can not be left in place and should be deleted after PR creation. It's in .forge/ directory which is typically gitignored.
6. Confirm
After creating the PR, provide the user with:
- PR URL
- Change type
- Brief summary of what was included
Notes
Key Principles:
- Context matters: Explain why the change was made, not just what changed
- Use cases help: Concrete examples make abstract changes understandable
- Testing is essential: Always include how to verify the changes
- Links provide depth: Reference issues, docs, and implementations for context
- Be honest: Mention known issues or limitations
- Respect reviewers' time: A good description reduces review effort
Anti-Patterns to Avoid:
- Empty descriptions or just issue links
- Placeholder text like "Fixes #(issue)"
- File-by-file breakdowns (unless necessary)
- Personal checklists as the main description
- Assuming reviewers know the context
When to Keep It Simple: For very small, obvious changes (typo fixes, trivial refactors), you can use a shorter structure:
- Summary
- Context (brief)
- Testing
But never skip the testing instructions.
When to Be Comprehensive:
- New features or major functionality
- Complex technical changes
- Performance improvements or optimizations
- Breaking changes or deprecations
- Changes that affect multiple parts of the codebase
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcrates/forge_repo/src/skills/github-pr-description/SKILL.md
Popularity
- Repository stars
- 7,487
- Repository forks
- 1,436
- 7-day trend score
- 45
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tailcallhq/forgecode/github-pr-description)