feat(agents): add agile-coach agent#562
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #562 +/- ##
==========================================
- Coverage 85.36% 85.34% -0.03%
==========================================
Files 23 23
Lines 4475 4475
==========================================
- Hits 3820 3819 -1
- Misses 655 656 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Adds a new custom Copilot agent intended to coach users through creating or refining goal-oriented, outcome-driven user stories with testable acceptance criteria.
Changes:
- Introduces a new
.agent.mdfile defining the “User Story Coach” conversational flow (create vs refine modes) - Defines a copy-paste output template for title/description/acceptance criteria, plus optional DoD notes and open questions
🧹 - Generated by Copilot
🔧 - Generated by Copilot
✏️ - Generated by Copilot
- shorten description to 132 characters - convert Conversation Flow to Required Phases structure - remove excessive bold formatting and command style - compress principles and consolidate instructions ✨ - Generated by Copilot
b9cf3c5 to
526b30e
Compare
🔄 - Generated by Copilot
🔧 - Generated by Copilot
| * Proceed to Phase 4 when the story feels complete. | ||
|
|
||
| ### Phase 3: Refine Existing Story | ||
|
|
||
| Improve an already-written story. | ||
|
|
||
| * Review the provided title, description, and acceptance criteria. | ||
| * Identify vague, missing, or ambiguous elements (share observations gently). | ||
| * Ask targeted questions to fill gaps and make outcomes measurable. | ||
| * Proceed to Phase 4 when the refined version feels solid. |
There was a problem hiding this comment.
Phase completion criteria use informal language ("when the story feels complete" and "when the refined version feels solid") which introduces subjective interpretation. Consider using more concrete completion criteria, such as "when all acceptance criteria are defined and measurable" or "when gaps are filled and outcomes are measurable". This aligns better with the agent's goal of creating verifiable, testable acceptance criteria and provides clearer guidance on when to progress.
|
Hey @erikschlegel, thanks for contributing the agile-coach agent! The Socratic coaching approach for user story creation/refinement is a great addition to the toolkit. A few items from our contributing guidelines still need attention before we can merge: AI Artifact Review Missing Agent Sections
Plugin Files Are Generated Automated Checks There's also one unresolved Copilot review comment about phase completion criteria wording worth addressing. Update the PR description checkboxes when these are done and we'll get this reviewed. Thanks again for putting this together! |
Pull Request
Description
Adds a socratic conversational agent that helps create or refine goal-oriented user stories.
What it does
Outputs copy-paste ready stories with action-oriented titles, concise descriptions, and testable acceptance criteria.
Related Issue(s)
Closes #561
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
Create Mode:
Starting from a vague idea:
"I need a story for adding dark mode to our app"Technical feature:
"We need to migrate our database from Postgres to CockroachDB"Bug-related improvement:
"Users keep complaining that search is slow"New capability:
"I want to add Slack notifications when builds fail"Refine Mode:
Output Artifacts:
Success Indicators:
Testing
My team has used this agent for the last 3x sprints of an existing engagement to help engineers create more objective and clearer acceptance criteria
Checklist
Required Checks
AI Artifact Contributions
/prompt-analyzeto review contributionprompt-builderreviewRequired Automated Checks
The following validation commands must pass before merging:
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run lint:md-linksnpm run lint:psSecurity Considerations
Additional Notes