Add comprehensive Feature-to-PR workflow template for GitHub Copilot agents#7
Merged
Krosebrook merged 2 commits intomainfrom Dec 30, 2025
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: Krosebrook <214532761+Krosebrook@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add user authentication feature to improve login experience
Add comprehensive Feature-to-PR workflow template for GitHub Copilot agents
Dec 30, 2025
Krosebrook
approved these changes
Dec 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a structured workflow template that guides GitHub Copilot agents and developers through feature development with scope-adaptive quality gates and context-first execution.
Changes
Added
.github/FEATURE_TO_PR_TEMPLATE.md(581 lines)Modified
.github/prompts/README.md- Added template reference and usage instructionsREADME.md- Updated Contributing section with template linkTemplate Structure
Integration
Template aligns with existing documentation and enforces consistency with:
.github/copilot-instructions.md(coding standards)CODEBASE_AUDIT.md(known issues)PRD.md(requirements)FEATURE_ROADMAP.md(feature context)Quality gates scale with scope: Small features require tests + docs + build. Medium adds edge cases + security review + integration tests. Large adds ADRs + observability + performance testing + rollback plans.
Original prompt
🤖 GitHub Copilot Agent — Feature-to-PR Template
🎯 Mission Statement
Feature:
[REQUIRED: Specific feature name]Outcome:
[REQUIRED: 1-2 sentences describing user-visible impact]Scope Level:
[SELECT ONE: 🔵 Small | 🟢 Medium | 🔴 Large]🧭 Core Principles
1. Context-First Execution
.github/copilot-instructions.mdand related docs2. Clarify Before Coding
3. Reviewable Changes
4. Quality Gates Match Scope
📋 Scope-Adaptive Requirements
🔵 Small Changes (Bug fixes, config updates, minor improvements)
npm run build,npm run lint,npm testall pass🟢 Medium Features (New components, API endpoints, UI flows)
All 🔵 requirements plus:
🔴 Large Features (Architecture changes, new services, major refactors)
All 🟢 requirements plus:
🔄 Required Workflow
Step 0: Context Scan (Must do first)
Run these checks and document findings:
0. 1 — Repository Configuration
0.2 — Existing Patterns
For each of these, find 1-2 example files to use as templates:
0.3 — Find Reference Implementation
0.4 — CI/CD Constraints
📝 OUTPUT: Post a summary of findings before proceeding to Step 1
Step 1: Plan (Post before major edits)
Create a brief plan with:
1.1 — Files to Change
1.2 — Implementation Strategy
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Summary by cubic
Add a Feature-to-PR template to standardize feature development and PR quality. Update .github/prompts/README.md and README.md to reference the template and provide quick-start guidance.
Written for commit 09c8e6a. Summary will update on new commits.