openclaw - 💡(How to fix) Fix GitHub: Create two PR templates (small fixes vs substantial changes) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59737Fetched 2026-04-08 02:41:10
View on GitHub
Comments
1
Participants
2
Timeline
13
Reactions
0
Author
Participants
Timeline (top)
referenced ×8cross-referenced ×4commented ×1

Briefly describe the fix (1-2 sentences).

Fixes: #issue_number (if applicable)

Root Cause

  • Summary (4 bullet points required)
  • Change Type (5 checkboxes)
  • Scope (8 checkboxes)
  • Root Cause / Regression History
  • Regression Test Plan
  • User-visible Changes
  • Diagram
  • Security Impact (6 questions)
  • Repro + Verification
  • Evidence
  • Human Verification
  • Review Conversations
  • Compatibility / Migration
  • Risks and Mitigations

Fix Action

Fix / Workaround

  • Summary (4 bullet points required)
  • Change Type (5 checkboxes)
  • Scope (8 checkboxes)
  • Root Cause / Regression History
  • Regression Test Plan
  • User-visible Changes
  • Diagram
  • Security Impact (6 questions)
  • Repro + Verification
  • Evidence
  • Human Verification
  • Review Conversations
  • Compatibility / Migration
  • Risks and Mitigations

Code Example

.github/
├── PULL_REQUEST_TEMPLATE/
│   ├── quick_fix.md      # For small, simple changes
│   └── full_change.md    # For substantial changes (current template)
└── pull_request_template.md  # Fallback/default

---

## Summary

Briefly describe the fix (1-2 sentences).

Fixes: #issue_number (if applicable)

## Type of Change

- [ ] Bug fix
- [ ] Documentation fix
- [ ] Typo/grammar fix

## Verification

- [ ] I tested this locally
- [ ] I verified the fix resolves the issue

## Description

What changed and why (be specific but concise):

---

┌─────────────────────────────────────────────┐
Choose a template for your pull request     │
├─────────────────────────────────────────────┤
│ ⚡ Quick Fix (bug fixes, typos, docs)│ 📋 Full Change (features, refactors, etc.)└─────────────────────────────────────────────┘
RAW_BUFFERClick to expand / collapse

Problem

The current PR template (pull_request_template.md) is comprehensive but overwhelming for small fixes. It has 30+ sections including:

  • Summary (4 bullet points required)
  • Change Type (5 checkboxes)
  • Scope (8 checkboxes)
  • Root Cause / Regression History
  • Regression Test Plan
  • User-visible Changes
  • Diagram
  • Security Impact (6 questions)
  • Repro + Verification
  • Evidence
  • Human Verification
  • Review Conversations
  • Compatibility / Migration
  • Risks and Mitigations

Impact

  • Small fixes (typos, one-line bug fixes) require answering many irrelevant questions
  • First-time contributors may abandon PRs due to template length
  • Maintainers must scroll through boilerplate to find actual content

Current Template Stats

From .github/pull_request_template.md:

  • ~150 lines
  • 30+ sections
  • ~50 checkboxes/fields

Proposed Solution

Create two templates using GitHub's new PR template directory structure:

.github/
├── PULL_REQUEST_TEMPLATE/
│   ├── quick_fix.md      # For small, simple changes
│   └── full_change.md    # For substantial changes (current template)
└── pull_request_template.md  # Fallback/default

Template 1: Quick Fix (quick_fix.md)

## Summary

Briefly describe the fix (1-2 sentences).

Fixes: #issue_number (if applicable)

## Type of Change

- [ ] Bug fix
- [ ] Documentation fix
- [ ] Typo/grammar fix

## Verification

- [ ] I tested this locally
- [ ] I verified the fix resolves the issue

## Description

What changed and why (be specific but concise):

Template 2: Full Change (full_change.md) — Current Template

Keep the existing comprehensive template for:

  • New features
  • Refactors affecting multiple areas
  • Security-related changes
  • Breaking changes

Selection UI

GitHub will show a template chooser:

┌─────────────────────────────────────────────┐
│ Choose a template for your pull request     │
├─────────────────────────────────────────────┤
│ ⚡ Quick Fix (bug fixes, typos, docs)      │
│ 📋 Full Change (features, refactors, etc.) │
└─────────────────────────────────────────────┘

Migration Plan

  1. Create .github/PULL_REQUEST_TEMPLATE/ directory
  2. Move current template to full_change.md with minor cleanup
  3. Create quick_fix.md (20-30 lines vs 150)
  4. Update CONTRIBUTING.md to explain template selection
  5. Optionally: Add PR template validation bot

Template Comparison

AspectQuick FixFull Change
Lines~30~150
Sections530+
Time to complete2-5 min15-30 min
Security questionsNoYes
Test plan requiredOptionalRequired
Diagram requiredNoIf applicable

Acceptance Criteria

  • .github/PULL_REQUEST_TEMPLATE/ directory created
  • quick_fix.md template (≤30 lines)
  • full_change.md template (current content)
  • Template selection UI works on PR creation
  • CONTRIBUTING.md updated with template guidance

References


Priority: Low Effort: Low (2 hours) Labels: dx, good first issue

extent analysis

TL;DR

Create a separate quick_fix.md template for small changes to simplify the pull request process.

Guidance

  • Create a .github/PULL_REQUEST_TEMPLATE/ directory to store multiple templates.
  • Move the current comprehensive template to full_change.md and create a new quick_fix.md template with a reduced number of sections (e.g., 5 sections).
  • Update CONTRIBUTING.md to explain the template selection process.
  • Verify that the template selection UI works correctly on pull request creation.

Example

## Summary

Briefly describe the fix (1-2 sentences).

Fixes: #issue_number (if applicable)

## Type of Change

- [ ] Bug fix
- [ ] Documentation fix
- [ ] Typo/grammar fix

## Verification

- [ ] I tested this locally
- [ ] I verified the fix resolves the issue

## Description

What changed and why (be specific but concise):

Notes

This solution assumes that the repository is hosted on GitHub and that the new PR template directory structure is supported.

Recommendation

Apply the workaround by creating separate templates for quick fixes and full changes, as this will simplify the pull request process for small changes and reduce the burden on maintainers and first-time contributors.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix GitHub: Create two PR templates (small fixes vs substantial changes) [1 comments, 2 participants]