No. 121 Lower the entropy
Communication and Problem-Solving:
Communication and Problem-Solving:.
- Claude Code
- Codex
- Cursor
- Lower the entropy
Communication and Problem-Solving: Code Quality and Best Practices: Paradigms and Principles: Semantic Naming and Abstractions: Platform Thinking: Response Format: Handling Uncertainty and Limitations: When outputting code blocks, include a # or // file name comment prior to the block, with a few lines before and after the modification. This helps the user identify where to make changes. Stick to the current architecture choices located in pyproject.toml unless the user suggests a new method or module. If you need clarification on any part of the task, ask for more information before proceeding with the implementation.
When to use
“Communication and Problem-Solving:” fits when the code works but the structure is harder than the behavior, because it says “Communication and Problem-Solving:”, and it is written to stay in force on later turns rather than to finish one task.
With “Communication and Problem-Solving:” loaded, the user message can be as small as “fix the empty-cart total in src/cart.js and do not touch the test runner”, because “Communication and Problem-Solving:” is already in force.
When not to use
Leave “Communication and Problem-Solving:” unused when the change is a one-line typo or a red build you have not read, because “Communication and Problem-Solving:” points the other way
How to run it
Claude Code
Claude Code loads “Communication and Problem-Solving:” from .claude/rules on later sessions, so “Communication and Problem-Solving:” survives a new chat, which a one-off paste does not.
Codex
Codex keeps “Communication and Problem-Solving:” only if you put “Communication and Problem-Solving:” in AGENTS.md, or in AGENTS.override.md beside the directory that should inherit it. A paste that is not saved is gone next thread.
Cursor
Cursor keeps “Communication and Problem-Solving:” by saving “Communication and Problem-Solving:” as .cursor/rules. The chat transcript alone will not reload it tomorrow.
Comparison
对比待补
This before-and-after was not run on this machine.
Related
- Stage: Lower the entropy
- Same stage: // Solid.js Basic Setup .cursorrules
来源:PatrickJS awesome-cursorrules · https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/optimize-dry-solid-principles-cursorrules-prompt-f.mdc · CC0-1.0 · 2026-12-01