-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
agent-devopsCI/CD pipeline agentCI/CD pipeline agentagent-implementerCode implementation agentCode implementation agentagent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentagent-roadmapProduct vision agentProduct vision agentagent-securitySecurity assessment agentSecurity assessment agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsarea-workflowsGitHub Actions workflowsGitHub Actions workflowsautomationAutomated workflows and processesAutomated workflows and processesdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestepicEpic-level work itemEpic-level work itempriority:P1Important: Affects user experience significantly, high business valueImportant: Affects user experience significantly, high business value
Milestone
Description
Summary
Integrate GitHub keywords (Closes, Fixes, Resolves) and PR etiquette best practices into the agent/skill/command structure to enforce standards and reduce reviewer friction.
Background
Research completed in PR #864 documents:
- GitHub's 9 issue linking keywords (Closes, Fixes, Resolves)
- Conventional Commit format standards
- PR template compliance requirements
- Review and CI etiquette best practices
Reference: .agents/analysis/github-keywords-integration-plan.md
Integration Phases
Phase 1: Skill Enhancement (High Value, Low Effort)
Effort: 2-3 hours
Impact: Immediate validation feedback on PR creation
- Create
Test-PRDescription.ps1in github skill- Validate issue linking keywords present
- Check PR template section completion
- Validate Conventional Commit title format
- Update
New-PR.ps1to call validator (warning mode) - Update github
SKILL.mdwith keyword documentation
Phase 2: Agent Prompt Updates (Medium Value, Low Effort)
Effort: 1-2 hours
Impact: Agents apply etiquette patterns automatically
- Update
implementer.mdwith commit message standards- Add Conventional Commit format section
- Add issue linking keywords in commit bodies
- Update
pr-comment-responder.mdwith response etiquette- Response format: Action + location + commit reference
- Thread resolution protocol
- Force push communication
- Update
qa.mdwith PR description validation checklist
Phase 3: Command Enhancements (Low Value, Low Effort)
Effort: 30 minutes
Impact: Better user guidance
- Update
push-pr.mdwith keyword reminder - Create
validate-pr-description.mdcommand
Phase 4: Dedicated Skill (Optional, High Effort)
Effort: 4-6 hours
Impact: Centralized validation, reusable
- Extract validation to
pr-etiquetteskill - Add comprehensive test suite
- Add etiquette report generator
Success Metrics
| Metric | Target | Measurement |
|---|---|---|
| PRs with issue keywords | 90% | GitHub API search |
| Template compliance | 95% | CI validation pass rate |
| Conventional Commit titles | 100% | Pre-commit enforcement |
| Reviewer time saved | 20% reduction | Time from open to merge |
| PR iteration cycles | 1-2 fewer | Average comment rounds |
Recommended Approach
Phase 1 + Phase 2 (combined: 3-5 hours)
Rationale:
- Highest value from validation + agent prompts
- Builds on existing github skill infrastructure
- Incremental approach allows iteration
- Can add Phase 3/4 later if needed
Test Strategy
Pre-Creation Validation
- Run before
gh pr create - Check: Conventional Commit title, issue keywords, template sections
- Action: Warn if missing, block on critical errors
Post-Creation Validation
- Run in CI after PR created
- Check: Same as pre-creation + security review alignment
- Action: Add comment with validation report
Agent Self-Check
- QA agent validates before marking complete
- Implementer includes keywords in commits
- PR comment responder follows etiquette
Related Documentation
- Analysis:
.agents/analysis/github-keywords-pr-etiquette.md - Integration Plan:
.agents/analysis/github-keywords-integration-plan.md - Memory:
.serena/memories/github-keywords-pr-etiquette.md - PR Template:
.github/PULL_REQUEST_TEMPLATE.md
Acceptance Criteria
- Phase 1 complete: Validation script created and integrated
- Phase 2 complete: All 3 agent prompts updated
- Success metrics baseline established
- 5 PRs tested with new validation
- Documentation updated
- Validation integrated into CI pipeline
Dependencies
- None (builds on existing infrastructure)
Risks
- False positives in validation (mitigate: tune thresholds based on feedback)
- Agent prompt changes may require iteration (mitigate: test on 5 PRs first)
๐ Type: Epic
๐ฏ Priority: Medium
โฑ๏ธ Estimated Effort: 3-5 hours (Phase 1+2), 8-12 hours (all phases)
๐ Related PR: #864
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent-devopsCI/CD pipeline agentCI/CD pipeline agentagent-implementerCode implementation agentCode implementation agentagent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentagent-roadmapProduct vision agentProduct vision agentagent-securitySecurity assessment agentSecurity assessment agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsarea-workflowsGitHub Actions workflowsGitHub Actions workflowsautomationAutomated workflows and processesAutomated workflows and processesdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestepicEpic-level work itemEpic-level work itempriority:P1Important: Affects user experience significantly, high business valueImportant: Affects user experience significantly, high business value