Created
May 22, 2025 15:23
-
-
Save architjn/6a1c6479859c103eedef13049d624509 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
description: Stop AI from adding meta comments | |
globs: ["**/*"] | |
alwaysApply: true | |
--- | |
# Comment policy | |
- Add comments **only** when they explain logic, edge cases, or a TODO the user asked for. | |
- Never add meta notes like “added this”, “removed that”, or “no need to change this”. | |
- Keep existing comments unless they are wrong or outdated. | |
- Don’t strip author headers or license banners. | |
# Edit scope | |
- Touch comment lines only if tied to the user’s request. | |
- Skip unrelated comment changes. | |
# Confidence | |
- Change comments only when ≥ 90 % sure they add value. | |
- If unsure, ask the user first. | |
# Diff hygiene | |
- Show only comment lines you changed. | |
- Leave untouched comments as they are. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment