ChatGenerate a CLAUDE.md for Your Repo That Claude Code Actually Follows
For when Claude Code keeps making the same mistakes in your repo even though the rule is right there in…
For the instruction files coding agents read before they touch your repo: a CLAUDE.md that Claude Code actually follows, an AGENTS.md that works across Codex, Cursor and Claude, project rules files, and the build, test and style notes you keep repeating in every chat.
ChatFor when Claude Code keeps making the same mistakes in your repo even though the rule is right there in…
ChatFor when your repo has a CLAUDE.md, a .cursorrules and an AGENTS.md that all say slightly different things, and the…
ChatFor when Cursor keeps ignoring your rules, or you copied a long .cursorrules from somewhere and it doesn't fit your…
ChatFor when your AI coding agent keeps filling gaps with guesses, adds features you never asked for, or rewrites working…
ChatFor when AI writes a README full of emoji, badges and feature lists that looks finished but invents a command…
ChatFor when your Agent Skill works when you call it by name but never fires on its own, or fires…
ChatFor when you ask your AI coding agent for a whole feature and it breaks three other things, loses track…
ChatFor when your AI agent wrote code that works, but you're not sure it's safe to ship. Paste the code…
ChatFor when AI writes "update files" or a three-paragraph essay for a one-line fix. Paste your diff and tell it…
ChatFor when your last release notes said "various bug fixes and performance improvements" and nobody read them. Paste your commit…
ChatFor when you paste a PDF into ChatGPT and get back split words, shuffled tables and page numbers in the…
Coding agents like Claude Code, Codex and Cursor start every session by reading a plain Markdown file in your repo, usually CLAUDE.md or AGENTS.md. When that file is missing or vague, the agent guesses: it runs the wrong test command, reformats files you didn't ask it to touch, and reintroduces patterns your team removed months ago. When the file is bloated, it skims past the rules that matter. The prompts in this category help you write the short, specific version in between. Each prompt starts from your real project: the stack, the commands you actually run, the folders that matter and the mistakes you're tired of correcting. It turns that into a structured Markdown file with clear sections for commands, architecture, conventions and hard rules, written as direct instructions an agent can act on rather than a wiki page for humans. Nothing is invented, and anything the prompt had to assume is listed so you can check it before you commit the file. The output is a .md file, so you can paste it into the Markdown Preview tool to see how it renders, then drop it into the root of your repo. Treat it as a first draft: run a few agent sessions, note where it still goes wrong, and add one line at a time.
FAQ
CLAUDE.md is the file Claude Code reads automatically at the start of a session. AGENTS.md is a shared convention read by several tools, including OpenAI Codex and Cursor. The content is mostly the same: commands, structure and rules for your repo. Many teams keep one as the main file and point the other at it.
Shorter than you think. Agents follow a tight file of specific rules better than a long one full of general advice. Aim for the commands you run, the structure that isn't obvious from the code, and the handful of mistakes you keep correcting, then grow it only when an agent gets something wrong.
No. Each prompt works only from the details you paste in, such as your package scripts, folder layout and team conventions, and it flags anything it couldn't confirm instead of making it up. Check every command in the output before you commit the file.
No. Every prompt is plain text you copy into whatever assistant you already use, free tier included. You don't need an MDCrafter account either.
Keep going
Prompt
For when your repo has a CLAUDE.md, a .cursorrules and an AGENTS.md that all say slightly different things, and the agents follow whichever one is out of date. Paste your commands and existing rule files. It merges them into one short AGENTS.md with exact commands first, a clear definition of done and a reason for every rule, adds a CLAUDE.md that imports it, and lists the duplicates it removed and the paths to watch for drift.
Prompt
For when your last release notes said "various bug fixes and performance improvements" and nobody read them. Paste your commit history since the last tag and say who the notes are for. It returns a CHANGELOG.md entry in Keep a Changelog sections for developers, plus separate plain-language release notes for users, with breaking changes up top and a short list of anything to check before you publish.
Collection
Most productivity advice assumes the hard part is knowing what to do. With ADHD, the hard part is starting: the task sits there, fully understood, while task initiation stalls, time blindness eats the afternoon, and a five-step errand feels like a wall because your brain will not serve up step one. These ChatGPT prompts for ADHD productivity target those exact friction points instead of handing you another planner system you will abandon by Thursday.