temper-pass / rules
Cursor rule0 starsChanged 47 days agoMITView on GitHub
Commit at end of every request when repo changed; descriptive messages; push still explicit
- Commits and pushes
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,157 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .forgetrail/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .forgetrail/CLAUDE.mdCLAUDE.md
- .cursor/rules/commit-messages.mdcCursor rule
- .cursor/rules/forgetrail-lessons-gate.mdcCursor rule
- .cursor/rules/forgetrail-lessons-mcp.mdcCursor rule
- .cursor/rules/forgetrail-phase-status.mdcCursor rule
The file
We split this git-user-commits.mdc into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 20
If there is nothing to commit for that request (no diff, or read-only session), say so briefly and skip.
- Distinctive: line 21
If other unrelated local changes exist, stage only what this request touched.
- Distinctive: line 27
Commit messages: Use a clear, descriptive subject and, for anything beyond a one-line typo fix, a multi-line body grounded in git diff …
- Distinctive: line 33
Do not: run git push, merge/rebase, or publish flows unless the user explicitly asks.
- Distinctive: line 34
Read-only git is always fine: git status, git diff, git log, git show, blame, etc.
- Distinctive: line 38
If the user says not to commit, to leave changes uncommitted, or is mid-experiment, do not commit—summarize only.
- Very specific: line 40
When the user asks for a specific commit message style, follow .cursor/rules/commit-messages.mdc.
- Distinctive: line 44
If another rule says “never commit unless asked,” this template rule wins for repos that adopt it unless the user overrides in the current …
≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: Commit at end of every request when repo changed; descriptive messages; push still explicit alwaysApply: true --- # Git commits and pushes ## Permission (read this first) **Running `git commit` is allowed and expected** whenever this rule applies. ForgeTrail **ship defaults** assume agents **do not** wait for the user to say “commit,” and **do not** leave completed request work unstaged by default. Individual app repos may tighten or override this in their own `.cursor/rules/` when they explicitly choose a different workflow. What stays restricted: **`git push`** (and merge/rebase/publish) still requires an **explicit** user request. If the user asks to **leave the tree dirty**, skip commits for that work. ## End of each request (default) When you **finish responding to a user request** and your work **changed tracked files** in this repo for that request, **before or as part of your wrap-up summary** you must **`git add`** the paths that belong to that request (only those paths—never unrelated edits) and **`git commit`** with a **good message** grounded in **`git diff --staged`** (see `.cursor/rules/commit-messages.mdc`). The user should **never** have to ask you to commit. Treat “here is what I did” and “it is saved in git” as **one default outcome**. - If there is **nothing to commit** for that request (no diff, or read-only session), say so briefly and skip. - If other **unrelated** local changes exist, **stage only** what this request touched; do not batch strangers into the commit without an explicit ask. If you cannot commit your work without dragging in others, say so in the summary. ## After substantive work (also default) **Substantive** work (features, fixes, multi-file changes, template/spec updates, lint repair) always falls under the block above. Single-file or small edits do too—the bar is **“did this request modify the repo?”**, not “was it big enough?” **Commit messages:** Use a **clear, descriptive subject** and, for anything beyond a one-line typo fix, a **multi-line body** grounded in **`git diff --staged`** — not generic fluff. - **Do not** invent scope in the message—reconcile the summary with the staged diff. ## Push and merge - **Do not** run `git push`, merge/rebase, or publish flows unless the user **explicitly** asks. - Read-only git is always fine: `git status`, `git diff`, `git log`, `git show`, blame, etc. ## When the user opts out If the user says **not** to commit, to **leave changes uncommitted**, or is mid-experiment, **do not** commit—summarize only. When the user asks for a specific commit message style, follow `.cursor/rules/commit-messages.mdc`. ## Cursor user rules If another rule says “never commit unless asked,” **this template rule wins for repos that adopt it** unless the user overrides in the current conversation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

