brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
skill-069PR description templates with format specifications and examples. Use when generating PR descriptions. Provides the complete PR structure and writing guidance.
Independent GitHub snapshot · Automated classification · Original documentation governs
This skill provides everything needed to write high-quality PR descriptions: templates, format specifications, and examples.
| Command | Description |
|---|---|
/pr-description-template | Show available templates and help |
/pr-description-template feature | Example PR for new feature implementations |
/pr-description-template bugfix | Example PR for bug fixes |
/pr-description-template refactor | Example PR for refactoring/architectural changes |
/pr-description-template format | Show complete PR description format |
| Template | Use For | Characteristics |
|---|---|---|
| feature | New functionality, APIs, components | Emphasizes scope, design decisions, future work |
| bugfix | Bug fixes, regressions, hotfixes | Emphasizes root cause, testing, before/after |
| refactor | Architectural changes, code restructuring | Emphasizes compatibility, migration, incremental changes |
Choose feature when:
Choose bugfix when:
Choose refactor when:
Every PR description MUST follow this structure. This is the canonical format for all pull requests.
## Summary
<High-level summary of changes and context for why the changes were made.
Should answer: What does this PR do? Why is it needed?
Keep to 2-4 sentences. Focus on business value and user impact.>
## What's Included
<Compact list organized by category to help reviewer understand scope at a glance>
**Source Code:**
- `path/to/file.py` - Brief description of change
**Tests:**
- `tests/test_file.py` - What's being tested
**Documentation:**
- `docs/file.md` - What was documented (or note if missing)
**Configuration:**
- `pyproject.toml` - Dependencies added/changed
## Key Design Decisions
<Design decisions to document for reviewer context.
Focus on "why this approach" not implementation details.
Number each decision for easy reference in review comments.>
1. **Decision Title**: Rationale for why this approach was chosen over alternatives
2. **Convention Deviation** (if any): Any intentional deviations from development-conventions with justification
## Critical Areas for Review
<Prioritized areas deserving careful review.
Help reviewer focus their attention on what matters most.
Include line numbers when specific ranges need attention.>
1. **`path/to/critical/file.py:L10-L50`** - Description of why this needs careful review (e.g., complex logic, security implications, breaking change)
2. **`path/to/another/file.py`** - Why this is important to review
Include these when applicable:
## Future Phases
<Only include if this PR is a partial implementation of a larger plan>
The following phases from the [implementation plan](<plan-path>) are planned for future PRs:
- **Phase N**: Brief description of what's coming
- **Phase M**: Brief description of what's coming
## Breaking Changes
<Only include if there are breaking changes>
- **Change**: Description of what breaks
- **Migration**: How to update dependent code
- **Deprecation Timeline**: When old behavior will be removed (if applicable)
## Testing Notes
<Only include if testing requires special setup or has important caveats>
- How to test locally
- Required environment setup
- Known edge cases
DO:
DON'T:
Good Example:
Adds batch processing support for the data pipeline, enabling processing of up to 10,000 records in a single operation. This addresses the performance bottleneck reported in issue #123 where large datasets caused timeouts.
Bad Example:
This PR updates processor.py and adds tests. Made some improvements to the code.
DO:
DON'T:
DO:
DON'T:
DO:
DON'T:
PR titles should be concise and descriptive:
Format: <type>: <brief description>
Types:
feat: - New featurefix: - Bug fixrefactor: - Code restructuringdocs: - Documentation onlytest: - Test additions/changeschore: - Maintenance tasksGood Examples:
feat: Add batch processing for data pipelinefix: Resolve timeout on large dataset uploadsrefactor: Extract validation logic into separate moduleBad Examples:
Update files (too vague)Fix bug (what bug?)WIP (not ready for review)Based on the argument provided, perform one of these actions:
/pr-description-template (no args) or /pr-description-template helpShow this overview with available templates and commands.
/pr-description-template featureRead and display: .claude/skills/pr-description-template/example-feature.md
/pr-description-template bugfixRead and display: .claude/skills/pr-description-template/example-bugfix.md
/pr-description-template refactorRead and display: .claude/skills/pr-description-template/example-refactor.md
/pr-description-template formatDisplay the "PR Description Format" section from this skill.
All example templates are in this skill directory:
example-feature.md - Complete example for new feature PRsexample-bugfix.md - Complete example for bug fix PRsexample-refactor.md - Complete example for refactoring PRs