r/Xcode • u/MomentSmart • 24d ago
How to stop Claude creating pointless summaries and MD guides about everything?
I understand the value of documentation and maintaining context across sessions, but I'm finding Claude has a tendency to generate unnecessary .md files and lengthy summaries without being asked.
Often these are documenting relatively trivial changes, or producing detailed explanations of fixes that haven't actually resolved the issue. It feels like unnecessary token usage and just adds clutter to the project.
Is there a reliable way to disable this behaviour by default, while still allowing Claude to create documentation when explicitly requested?
I'd much rather it focus on implementing, testing and verifying changes than documenting everything it thinks it's accomplished.
3
u/ShakeAgile 24d ago
Ask it, and ask it to remember
3
u/OfficialLaunch 24d ago
You can probably just ask it to, but Claude makes these for a reason. With massive projects its own context window will begin to overflow and it’ll start forgetting things. It keeps track of what it needs (even if it seems trivial) so it can remember them later
2
u/_spongefork 24d ago edited 24d ago
You need to have claude write rules to your CLAUDE.md for a given workspace. Over time this file will bloat so it will require periodic audits to reduce clutter. In the early days I would write the rules myself, but those days are long gone. When a behavior needs to be remembered for your own workflow - that is where it should be. This kind of stuff:
- **Comments state what is true now — not how you got there.** Four mechanical tests, because "don't write narrative" is too easy to pass while still writing six sentences of justification:
**Density is itself a cost.** A property list where every line carries two lines of prose is *harder* to scan than one with none. **Rough ceiling: comment lines under a third of code lines**, and stored properties should mostly carry none. The ratio is a **locator, not a target** — a file whose comments are measured values (a cosine-distance table, a latency budget, seek timings) earns them, and those stay. Cut the narrative *around* such data, never the data. When in doubt, cut: removing a comment is never the change that breaks something.
1
u/Past_Perception_2376 23d ago
I'd put an explicit rule in your project's CLAUDE.md: don't create or modify documentation, summaries or Markdown files unless specifically requested. Prioritize implementing the fix, running tests and verifying the result. Also tell it not to claim a fix is complete until it's actually verified. That should help keep the workflow focused without disabling documentation when you need it
1
u/spike1911 19d ago
Demand it to be concise short and on point only answering what’s at hand. That works. I have a Typinator shortcut to end every prompt with it. Over time it forgets