Skip to content

Commit 2df609c

Browse files
committed
Add reproduce-before-fixing guidance to agent skill (CF-103)
1 parent 8a9ec1a commit 2df609c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

skills/completo/SKILL.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ Tickets are often written by non-technical users, product managers, or as quick
101101
- If the ticket has a checklist, are the items complete and in a sensible order?
102102
- **Are the dependencies in place?** Check whether the APIs, endpoints, data models, or infrastructure the ticket assumes actually exist. If the clean implementation path isn't available and you'd need a workaround, flag it. The user may prefer to fix the root cause first (e.g., add a missing API endpoint) rather than build on a hacky foundation.
103103

104+
**For bug tickets, reproduce first.** Before proposing a fix, try to reproduce the bug using the steps in the ticket. Run the app, trigger the described behavior, and confirm the issue exists. This prevents wasted effort on bugs that were already fixed, are environment-specific, or stem from a misunderstanding. If you cannot reproduce the bug:
105+
- Report what you tried and what you observed instead.
106+
- Ask the user how to proceed — they may have additional context, want to reassign the ticket to the reporter, or close it as not reproducible.
107+
- Do not guess at a fix for a bug you can't see.
108+
104109
**Discuss with the user.** Present your assessment concisely — what you'd do, what concerns you have, and any alternatives worth considering. Let the user weigh in before you start coding. If the ticket is straightforward and you have no concerns, say so briefly and confirm you're ready to proceed.
105110

106111
**Then implement** with the agreed approach. Use plan mode for non-trivial work. Do NOT update the ticket description during implementation — that happens later after the user reviews.

0 commit comments

Comments
 (0)