@Ryrenz: Most people using coding AI just say “help me fix this bug,” then spend half an hour wrestling with it. Change the phrasing and it gets it right the first time. 1. Have it look before acting “Don't write code yet. Read the relevant files and tell me how this feature currently works; I'll confirm before you change it.” 2. Stuck bug “Don't guess. Add log…
Summary
A practical tip on how to use coding AI more effectively. It lists 12 concrete prompt examples—such as having the AI read the code before modifying it, changing only the necessary parts, and writing rules into AGENTS.md—to reduce back-and-forth and make the rules stick long-term.
View Cached Full Text
Cached at: 08/05/26, 08:29 PM
Most people, when using programming AI, just say “Help me fix this bug,” and then spend half an hour going back and forth with it. Change your wording, and it’s right on the first try.
-
Make it look before it acts “Don’t write code yet. Read through the relevant files first, tell me how this feature currently works, and I’ll confirm before you change anything.”
-
Stuck bugs “Don’t guess. Add logging to print out the intermediate states, run it once, locate the issue from the real output, then fix it.”
-
Keep it from casually changing a bunch of unrelated stuff “Only change what’s necessary to make this test pass. Don’t touch other files, and leave any formatting alone.”
-
Taking over an unfamiliar project “Assume it’s my first day in this repo. Tell me where the entry point is, how the data flows, and which files are core. Don’t change anything yet.”
-
Let it find work on its own “Run the tests and type checks once, list all failures sorted by severity, and I’ll pick which ones you fix.”
-
Refactoring without derailing “Before refactoring, add tests to lock in the current behavior. Once the tests are green, then change the structure, and rerun after every step.”
-
Curing its chatty responses “From now on, only give conclusions and changes in your responses. Don’t restate my requirements, and don’t summarize what you did.”
-
Get it to admit when it doesn’t know “If you’re not sure about this part, just say you’re not sure—don’t give me a seemingly reasonable answer. I’d rather you ask me.”
-
Writing commit messages “Look at the git diff and the style of the last ten commits, and write this commit message in the same tone and format.”
-
Making technical decisions “Give me two options, spell out the cost of each and in what scenarios you’d regret it, and end with one recommendation and your reasoning. Don’t just list advantages.”
-
Keep long tasks on track “Before you start, write me a plan broken into steps. Pause after each step and wait for my confirmation before moving on.”
-
Make rules stick long-term “Write this agreement we just reached into the project’s AGENTS.md, and follow it from now on.”
The last one is the most valuable: what works well isn’t the prompt itself—it’s turning effective prompts into project rules, so you don’t have to say them again every time.
Qiaomu Ge’s sharing is well worth referencing:
- Put together a set of impressive, high-value content in one domain.
- Keep at it consistently and show up on schedule.
- Manage your posting volume and timing well—mealtimes and weekends are good for long-form content.
- Product posts must be personally tested; share experiences that exceeded your own expectations.
- After reading enough good content, you’ll naturally want to think, test, and comment—just post it directly.
Similar Articles
@ai_super_niko: AI coding tools execute frantically, but you can only watch helplessly as they run in the wrong direction? Made a mistake in the previous query and have to add ten explanations afterward? I summarized my recent heavy usage of Codex into four actions: 1. Interrupt: double-tap Esc to stop on the spot, refusing to wait idly; 2. Edit: directly edit the latest message...
Summarizes four key actions for using the AI coding tool Codex: interrupt, edit, guide and queue, fork — helping users transition from passively waiting for results to actively managing the process.
@Saccc_c: A few tips for beginners to quickly get started with AI: 1. Stop using conversational AI like ChatGPT and start using Agent tools that can autonomously execute tasks, such as Claude Code, Codex, Manus. 2. Write your own Skill, for example, structuring your work habits, preferences, …
Tips for AI beginners: Use Agent tools that can autonomously execute tasks (e.g., Claude Code, Codex, Manus), write a structured personal Skill description, and continuously accumulate context to refine effective prompts.
@yibie: Every programmer should hand-write an agent. It only takes about 50 lines of code, it's fun, and it will surprise you. But to get the most out of it, do these two things: First, write it from scratch. Open a blank text file and type every line yourself. Don't use any AI, not even autocomplete. Second, rely only on the standard library documentation…
This article encourages programmers to manually write a simple AI agent (around 50 lines of code) to deepen their understanding of how agents work, and suggests writing it from scratch while relying only on standard library and API documentation.
@zhanlin990410: Don't tell Claude "do this." Don't tell Claude "write code." Don't tell Claude "fix this bug." Don't treat a Ferrari-level AI like a taxi. 8 prompts you can copy and paste directly:
This article shares 8 advanced prompting techniques for Claude, advising users to avoid vague instructions to fully leverage the AI's potential.
@uudonX: An Anthropic Claude tech lead shared a prompt that's summarized incredibly well — I think it's one of the few prompts that genuinely improves AI output quality and is worth saving directly. It doesn't ask the AI to write more; it forces it to go deeper into the task. What makes this prompt so powerful is that it fixes …
A prompt shared by an engineering lead at Anthropic's Claude has gone viral in Chinese-speaking communities. By following four steps — identifying what's missing, going back to primary sources, specifying methods, and seeking external validation — it helps the AI work deeper into a task rather than simply writing more.