Skip to content

feat(skills): use PR template in pr_create and worktree_pr (#147) - #148

Merged
gerchowl merged 1 commit into
devfrom
feature/147-pr-skill-use-template
Feb 21, 2026
Merged

gerchowl merged 1 commit into
devfrom
feature/147-pr-skill-use-template

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

Description

Updates pr_create and worktree_pr skills to read .github/pull_request_template.md and fill each section from available context, instead of composing freeform PR bodies. Ensures autonomous PRs match manual PR structure and include all checklist items (Type of Change, Changelog Entry, Testing, Checklist, Refs).

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .cursor/skills/pr_create/SKILL.md — Step 4: replaced vague "use structure" with explicit read-then-fill procedure
  • .cursor/skills/worktree_pr/SKILL.md — Step 5: same replacement
  • assets/workspace/.cursor/skills/pr_create/SKILL.md — synced with primary
  • assets/workspace/.cursor/skills/worktree_pr/SKILL.md — synced with primary
  • CHANGELOG.md — added entry under Changed

Changelog Entry

Changed

  • Autonomous PR skills use pull request template (#147)
    • pr_create and worktree_pr now read .github/pull_request_template.md and fill each section from available context
    • Explicit read-then-fill procedure with section-by-section mapping (Description, Type of Change, Changelog Entry, Testing, Checklist, Refs)
    • Ensures autonomous PRs match manual PR structure and include all checklist items

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A — documentation/instruction-only change. Verification: next autonomous PR should match template structure.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Design: see issue #147 Design comment. Documentation-only change per design — no testable code, TDD skipped.

Refs: #147

@gerchowl gerchowl self-assigned this Feb 21, 2026
@gerchowl
gerchowl merged commit de1019c into dev Feb 21, 2026
10 checks passed
@gerchowl
gerchowl deleted the feature/147-pr-skill-use-template branch February 21, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant