gpt-6POST
改老代码前先让 agent 画代码地图的提示词
一条通用提示词:动手前先让 Astra、Opus 5.5 等 agent 完整梳理代码依赖与副作用,人工确认后再改。
0xMarioNawfal
@RoundtableSpace18 天前收录原推发布于 2026.10.13
0xMarioNawfal @RoundtableSpace原推发布于 2026.10.13
If you’re vibe coding on an old repo, paste this before your agent touches a single line. Opus 5.5, GPT-6 Astra, Grok Bot, doesn’t matter. Make it map the codebase first. “Before we change anything, map this entire codebase. Trace every piece of code this task and session will touch, what depends on it, and what breaks if it changes. Flag any dead code, hidden side effects, and literally anything you're guessing about that's not proven by code reads and specific lines. No code edits until I approve the map manually.” Most agent mistakes in legacy code start with skimming. Save this prompt.
x.com/roundtablespace/status/2109973675739152452采集于 2026.10.14 11:13