除錯
01修正錯誤
修正錯誤 · Replit Agent
說出 “start debug brief”
Target application: Replit Agent
Target input: Agent chat
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:
- Describe the visible bug, reproduction path and expected result, then require inspection before the agent changes the project.