docs: add spec reference guidance to PR template by type#87
Conversation
- Add "Spec Requirement Guidelines" table to PR template showing when specs are required/optional by PR type - Update AI spec validation workflow warning message with PR type requirements - Add "Spec Reference Best Practices" section to CONTRIBUTING.md - Clarify that feature PRs require specs, others are optional - Remove "REQUIRED" from spec section comment to reflect nuanced guidance Co-authored-by: rjmurillo <6811113+rjmurillo@users.noreply.github.com>
AI Quality Gate ReviewTip ✅ Final Verdict: PASS WalkthroughThis PR was reviewed by six AI agents in parallel, analyzing different aspects of the changes:
Review Summary
Analyst Review DetailsAnalyst Review: PR #87 - Spec Reference GuidanceCode Quality Score
Overall: 5/5 Impact Assessment
Findings
Recommendations
Alignment with Issue #86The PR satisfies all acceptance criteria from the issue:
VerdictDevOps Review DetailsDevOps Review: PR Template Spec Reference GuidancePipeline Impact Assessment
CI/CD Quality Checks
Findings
Template Assessment
Automation Opportunities
Recommendations
VerdictRoadmap Review DetailsStrategic Alignment Assessment
Feature Completeness
Impact Analysis
Concerns
Recommendations
VerdictArchitect Review DetailsDesign Quality Assessment
Overall Design Score: 5/5 Architectural Concerns
Breaking Change Assessment
Technical Debt Analysis
ADR Assessment
Recommendations
VerdictSecurity Review DetailsSecurity AnalysisFindings
Analysis SummaryPR Template (
AI Spec Validation Workflow (
CONTRIBUTING.md:
RecommendationsNone. All changes are documentation and guidance updates without security implications. VerdictQA Review DetailsNow I'll generate the QA review. This is a documentation-only PR that:
Spec-to-Implementation Validation ReportTest Coverage Assessment
Quality Concerns
Regression Risk Assessment
Detailed AnalysisPR Template Changes (
Workflow Changes (
CONTRIBUTING.md Changes:
Verification Checklist
Run Details
Powered by AI Quality Gate - View Workflow |
There was a problem hiding this comment.
Pull request overview
This PR adds clear, type-specific guidance for spec references in pull requests, addressing confusion from the AI Spec Validator's warnings. The changes provide contributors with explicit expectations at PR creation time without introducing enforcement changes.
Key Changes:
- Added guidance tables showing when spec references are required (features), optional (bugs/refactors/infrastructure), or not needed (documentation)
- Removed absolute "REQUIRED" label in favor of nuanced, PR-type-specific guidance
- Enhanced workflow warning messages with inline guidance tables
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
CONTRIBUTING.md |
Added "Spec Reference Best Practices" section with bullet-point guidance and promoted spec references to #1 in PR guidelines; documents supported reference formats |
.github/workflows/ai-spec-validation.yml |
Enhanced "no specs found" warning with PR-type requirements table and link to full guidance in PR template |
.github/PULL_REQUEST_TEMPLATE.md |
Added "Spec Requirement Guidelines" table with type-specific guidance; replaced "REQUIRED" comment with contextual guidance; clarified when to create specs |
- Add scope syntax examples (feat(scope):, fix(scope):) to PR template - Add conventional commit prefixes to all PR types in workflow warning - Include ci:, build:, chore: prefixes for Infrastructure row - Ensure consistency with repo's conventional commit usage Co-authored-by: rjmurillo <6811113+rjmurillo@users.noreply.github.com>
…r consistency Addresses Copilot review feedback for documentation consistency across files. Changes: - Add Infrastructure (`ci:`, `build:`, `chore:`) row to workflow table - Add Infrastructure bullet to CONTRIBUTING.md spec guidance - Add conventional commit prefixes to all bullet points in CONTRIBUTING.md This ensures PR template, workflow message, and CONTRIBUTING.md all use consistent terminology and cover all five PR types. Comment-IDs: 2636845208, 2636845210, 2636845212 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Session log documenting: - PR #87 review thread analysis (5 total, 3 unresolved) - Resolved 3 Copilot threads using GraphQL API - Protocol compliance (SESSION-PROTOCOL.md followed) - Skill script bug discovery (same as PR #75) All review threads now resolved. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Addresses Copilot PR review comments on PR #194. Changes: 1. COST-GOVERNANCE.md: Updated draft PR workflow to show two valid approaches - Zero-CI: Push empty branch first, then create draft PR - Minimal-CI: Push with work, create draft immediately after - Fixes issue where PR created after push triggers CI before draft status 2. Session 38 log: Fixed commit hash from 9e26526 to 0d583a1 - Added clarifying note that SESSION-PROTOCOL changes were in PR #87/merged via PR #59 - This session log is historical documentation being consolidated Comment-IDs: 2638130053, 2638130056 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
Implemented Option 1 from issue: "Update PR Template" with spec reference guidance.
Changes:
Files Modified: 3 files
.github/PULL_REQUEST_TEMPLATE.md.github/workflows/ai-spec-validation.ymlCONTRIBUTING.mdDesign Approach:
All acceptance criteria met. Feedback addressed.
Original prompt
💡 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.
Note
Introduces PR type-specific spec reference guidance in the PR template and CONTRIBUTING, and updates the AI spec validation workflow’s no-spec message to include actionable requirements.
.github/PULL_REQUEST_TEMPLATE.md): Add PR type-specific spec requirement table and guidance; clarify supported reference formats; advise creating.agents/planning/specs for features.CONTRIBUTING.md): Add “Spec Reference Best Practices”; prioritize spec references in PR guidelines; document accepted reference formats..github/workflows/ai-spec-validation.yml): Enhance “no specs found” report with PR type requirement table and link to PR template; no enforcement changes.Written by Cursor Bugbot for commit 61feea1. This will update automatically on new commits. Configure here.