Skip to main content

65 AI Coding Tip: Tell AI Both the Phenomenon and Reproducible Steps

Paid1999-12-31

65 AI Coding Tip: Tell AI Both the Phenomenon and Reproducible Steps The purpose is not to let AI reproduce the problem, but to give it important basis for deduction Look at the case directly, when solving bugs, this is how I talk to AI For example: Large image set to small canvas size, cropping effect doesn't match expectations, my operation is open large image, set canvas size to 200x200, then select top-left corner in nine-grid, expected to crop to 200x200 image top-left corner, image fills canvas area, actual result is image didn't fill canvas area, seems like it kept the image's original aspect ratio, filled by width, height bottom left white space\nHelp me investigate the root cause of this issue, after thoroughly understanding the cause, output brief conclusion RESEARCH For example: http://localhost:3000/api/reader...

65 AI Coding Tip: Tell AI Both the Phenomenon and Reproducible Steps

The purpose is not to let AI reproduce the problem, but to give it important basis for deduction

Look at the case directly, when solving bugs, this is how I talk to AI

For example:

Large image set to small canvas size, cropping effect doesn't match expectations, my operation is open large image, set canvas size to 200x200, then select top-left corner in nine-grid, expected to crop to 200x200 image top-left corner, image fills canvas area, actual result is image didn't fill canvas area, seems like it kept the image's original aspect ratio, filled by width, height bottom left white space Help me investigate the root cause of this issue, after thoroughly understanding the cause, output brief conclusion RESEARCH

Purchase required to continue
This is a paid article. After signing in, your purchase will be unlocked automatically.
Buy now

Comments

No comments yet. Be the first to share your thoughts.

Leave a comment