From 3b45176e5e68f475b4c9c1adc505d330d127453d Mon Sep 17 00:00:00 2001 From: Phillip Moore Date: Mon, 11 May 2026 08:13:43 -0400 Subject: [PATCH] refactor(templates): align PR and issue templates with standard-tooling Replace PR template with redirect stub (st-submit-pr is the required path). Redesign issue template as 3-field form with standardized type dropdown. Ref wphillipmoore/standard-tooling#650 Co-Authored-By: Claude Opus 4.6 --- .github/ISSUE_TEMPLATE/issue.yml | 45 ++++---------------------------- .github/pull_request_template.md | 22 ++-------------- 2 files changed, 7 insertions(+), 60 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/issue.yml b/.github/ISSUE_TEMPLATE/issue.yml index 2087979..06590c0 100644 --- a/.github/ISSUE_TEMPLATE/issue.yml +++ b/.github/ISSUE_TEMPLATE/issue.yml @@ -1,67 +1,32 @@ -# Source: wphillipmoore/standard-tooling/.github/ISSUE_TEMPLATE/issue.yml -# Do not modify repo-local copies — update the source and re-sync. -# name: Issue description: Track work with explicit acceptance criteria. -title: "[Issue]: " body: - - type: markdown - attributes: - value: | - Use this form to capture the required issue details. - type: dropdown id: issue_type attributes: label: Issue type - description: Select the type that best describes this issue. options: - feature - bug - documentation - - style - refactor - - test - chore - - ci - - build - research - - rtfm - - observability - validations: - required: true - - type: textarea - id: summary - attributes: - label: Summary - description: Short, single-paragraph summary. - placeholder: What is the change or problem? validations: required: true - type: textarea id: problem attributes: label: Problem / Goal - description: What is broken or what outcome is needed? + description: What is broken, missing, or needed? Include context and motivation. + placeholder: Describe the problem or desired outcome. validations: required: true - - type: checkboxes - id: acceptance_obvious - attributes: - label: Acceptance criteria clarity - options: - - label: Criteria are obvious (docs-only or trivial change) - type: textarea id: acceptance attributes: - label: Acceptance criteria (if not obvious) - description: If criteria are obvious, write "Obvious" with a short note. - placeholder: List explicit criteria or success conditions. - validations: - required: true - - type: textarea - id: validation - attributes: - label: Validation / Evidence - description: How will completion be verified? + label: Acceptance criteria + description: What does "done" look like? One sentence is fine for trivial changes. + placeholder: List the conditions that must be true when this is complete. validations: required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3e86215..fe4644d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,20 +1,2 @@ -# Pull Request - -## Summary - -- - -## Issue Linkage - -- Fixes # (default; use when no acceptance criteria exist) -- Ref # (use when acceptance criteria exist) -- Work is not complete until the issue is closed. -- If no issue exists, open one before any work begins. - -## Testing - -- `st-docker-run -- st-validate` - -## Notes - -- +> **Do not create PRs manually.** +> Use [`st-submit-pr`](https://wphillipmoore.github.io/standard-tooling/reference/dev/submit-pr/).