Pull Request Description Template
PR description: summary with closing keyword, type of change, breaking changes and migration, test plan, security, AI assistance disclosure
Cómo usar: Use it as .github/pull_request_template.md in team and open-source repositories. Fill the summary, breaking changes and test plan first, since reviewers read those. The main pitfall is ticking every checkbox by habit instead of leaving an honest unticked box with a reason.
Vista previa
Pull Request: [short imperative title]
Pull request description for team and open-source repositories. Save it as
.github/pull_request_template.md(the repository root anddocs/also work) and GitHub fills new pull request bodies with it once it is on the default branch. Replace every[bracketed]value, delete the rows marked Example, and remove sections that do not apply rather than leaving them blank.
Summary
[What this pull request does and the problem it solves.] Closes #[NNN].
Example: Adds rate limiting to the public search endpoint so a single client can no longer exhaust the database connection pool. Closes #482.
Type of change
- Bug fix (no change to public behaviour beyond the fix)
- New feature
- Breaking change (see the next section)
- Refactor, documentation, build or test only
Breaking changes and migration
[None, or: what breaks, who is affected, how to migrate.]
Example: The limit query parameter now caps at 100 (was unlimited). Clients sending a larger
value receive HTTP 400. Migration: page through results with cursor.
Changes
- [Change one, with the main file or module]
- [Change two]
Test plan
- [Type check, lint and build clean, Example:
pnpm typecheck && pnpm lint && pnpm build] - Unit tests added or updated for the changed behaviour
- Integration or end-to-end tests pass
- Manually verified: [steps, environment, result]
Screenshots or recordings
[For user interface changes, before and after images or a short clip. Otherwise delete.]
Security and privacy
- No secrets, tokens or personal data in code, tests, logs or screenshots
- New or changed input is validated and output is encoded
- New dependencies follow the dependency policy (licence, maintenance, pinned version)
- Security-relevant change reviewed by [@security-reviewer], or not applicable
AI assistance disclosure
- No AI assistance used
- AI tools used for: [code / tests / documentation], tool: [name]. I have reviewed, understood and tested every generated line and I can explain it.
Checklist
- Documentation updated where behaviour changed
- Changelog entry added for user-facing changes
- Commits signed off, if the project requires the Developer Certificate of Origin 1.1
Notes for reviewers
[Trade-offs made, areas where you want specific feedback, follow-up work already ticketed.]
Related templates: Contributing guide (dev/contributing), Changelog (dev/changelog), Security
policy (dev/security-policy), Dependency management policy (dev/dependency-management-policy).
Standard and licence note
Based on the GitHub documentation for pull request templates (file names and locations as published in October 2026), Conventional Commits 1.0.0, Semantic Versioning 2.0.0 and the Developer Certificate of Origin 1.1. Check the current GitHub documentation, because file locations and features can change. Original text written for this collection. Template licence: MIT.
Plantillas relacionadas
Feature Request Template
Feature request written problem first: workaround cost, proposed solution, alternatives, acceptance criteria, value and frequency, maintainer triage
Software e ingenieríaArchitecture Decision Record (ADR) Template
Lightweight Nygard-style ADR: status, context, decision, consequences, alternatives, related decisions, lifecycle and log
Software e ingenieríaAGENTS.md Template for AI Coding Agents
Repository instructions for AI coding agents: setup, build and test commands, conventions, architecture map, PR and security rules