No unnecessary documentation or example files
Updated 2026-02-13
Restrict the AI from creating docs, examples, or extra files unless the user explicitly asks. Use in Cursor, Windsurf, Codeium, or any AI-assisted editor.
Use in Cursor, Windsurf, Codeium, or any AI-assisted editor.
Rule
# No unnecessary documentation or example files
Do **not** create the following unless the user explicitly asks for them:
- **Documentation:** README updates, new README files, CHANGELOG, CONTRIBUTING, or other docs.
- **Example files:** Demo files, sample usage, example configs, or placeholder content.
- **Comment blocks:** Long file-level or module-level comment blocks that restate what the code does.
- **Extra artifacts:** Tests, mocks, or scaffolding that the user did not request.
**Do** only what the user asked. If the task is "add a button", add the button; do not add a README section, an example page, or a doc file unless they say so. When in doubt, omit documentation and examples.