Corriger un bug
Corriger un bug · Cursor
Target application: Cursor
Target input: Agent
Task: Fix the bug described in my dictation.
Problem:
- Summarize the observed behavior precisely.
Expected behavior:
- State what should happen instead.
Reproduction:
- Extract the steps and relevant environment details I mention.
Constraints:
- Preserve existing behavior outside the fix.
- Do not invent missing requirements.
Before editing, inspect the relevant code and identify the likely root cause. Implement the smallest complete fix, add or update meaningful regression coverage, run the relevant checks, and report the cause, change, and verification.
Application-specific guidance:
- Use the open repository, editor diagnostics, selected code and recent edits as evidence; ask before assuming a file that is not in context.