How to stop AI agents from littering your codebase with Markdown files
solmaz.ioΒ·6dΒ·
Discuss: Hacker News
🌳Git Internals
Preview
Report Post

A simple documentation workflow for AI agents.

For setup instructions, skip to the How to setup SimpleDoc in your repo section.

If you have used AI agents such as Anthropic’s Claude Code, OpenAI’s Codex, etc., you might have noticed their tendency to create markdown files at the repository root:

...
β”œβ”€β”€ API_SPEC.md
β”œβ”€β”€ ARCHITECTURE.md
β”œβ”€β”€ BACKLOG.md
β”œβ”€β”€ CLAUDE.md
β”œβ”€β”€ CODE_REVIEW.md
β”œβ”€β”€ DECISIONS.md
β”œβ”€β”€ ENDPOINTS.md
β”œβ”€β”€ IMPLEMENTATION_PLAN.md
β”œβ”€β”€ NOTES.md
β”œβ”€β”€ QA_CHECKLIST.md
β”œβ”€β”€ SECURITY_PLAN.md
└── src/
└── ...
β”œβ”€β”€ TEST_COVERAGE.md
β”œβ”€β”€ TEST_REPORTS.md
β”œβ”€β”€ TEST_RESULTS.md
...

The default behavior for models as of writing this in December 2025 is to create capitalized Markdown files at the repository root. This is of course very …

Similar Posts

Loading similar posts...