The AI Coding Workflow That Finally Stopped Making Me Repeat myself
说明与用途
通过实施四个 Markdown 文件(AGENTS.md、OVERVIEW.md、MEMORY.md、ERRORS.md)和上下文管理技能,让 AI 代理保留项目知识,避免重复工作。
问题
AI coding agents lacked persistent context across sessions, causing repetitive work and confusion about project history, decisions, and errors.
结果
Agents now consistently reference project documentation, reducing repetitive work and ensuring decisions and errors are preserved for future sessions.
工作流
- Read AGENTS.md for agent behavior rules
- Read OVERVIEW.md to understand current system state
- Check MEMORY.md for relevant decisions
- Check ERRORS.md for past painful issues
- Inspect code implementation
- Perform the task
- Update OVERVIEW.md if changes affect current state
- Add to MEMORY.md only if a new decision was made
- Add to ERRORS.md only if a failure is worth remembering
- Leave files unchanged otherwise
证据
I created a project-context skill that teaches the agent how to use these files instead of relying on the agent to guess.
Afterward: Fix OVERVIEW.md if anything in it became untrue.
- 记录日期: 2026-09-06T19:52:51.457Z