ember-dossier / rules
Cursor rule0 starsChanged 47 days agoMITView on GitHub
Before substantial feature work, run ForgeTrail lessons + anti-patterns (MCP) and fold findings into the plan
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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .forgetrail/AGENTS.mdAGENTS.md
- .forgetrail/CLAUDE.mdCLAUDE.md
- .cursor/rules/commit-messages.mdcCursor rule
- .cursor/rules/forgetrail-lessons-mcp.mdcCursor rule
- .cursor/rules/forgetrail-phase-status.mdcCursor rule
- .cursor/rules/git-user-commits.mdcCursor rule
- .cursor/rules/npm-publish.mdcCursor rule
- .cursor/rules/smellcheck.mdcCursor rule
- ember-dossierSkill
- ember-dossierSkill
The file
We split this forgetrail-lessons-gate.mdc into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Run getAntiPatterns once and searchLessons (one or more queries) when any of these is true:
- Very specific: line 22
Call getAntiPatterns (no args).
- Very specific: line 23
Call searchLessons with 2–4 short keyword queries.
- Distinctive: line 28
Do not mention MCP, tool names, or “lessons gate” in UI copy or user-facing summaries unless they ask how the workflow is wired up.
≈ “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: Before substantial feature work, run ForgeTrail lessons + anti-patterns (MCP) and fold findings into the plan alwaysApply: true --- # ForgeTrail lessons gate (when + how) This complements **`forgetrail-lessons-mcp.mdc`** (tool details + globs) and **`forgetrail-phase-status.mdc`** (phase footer). ## When to run the gate (do it early, before large edits) Run **`getAntiPatterns`** once and **`searchLessons`** (one or more queries) when **any** of these is true: - You expect to touch **≥3 files**, or **≥2** top-level areas (e.g. skill + site + docs). - **New or changed** user-facing flow, skill contract, or site copy. - The user asks for a **plan**, **feature**, **refactor**, or **milestone** that clearly spans multiple files. **Skip the gate** for: single-file typos; renames with no behavior change; or when the user explicitly asks to skip. ## How to run it (order) 1. Call **`getAntiPatterns`** (no args). Skim for items that apply. 2. Call **`searchLessons`** with **2–4 short keyword queries**. 3. **Fold in before coding:** 3–6 bullets of what you will **do** or **avoid**. Do **not** paste full MCP dumps unless the user asks. ## Product-facing users Do not mention MCP, tool names, or “lessons gate” in UI copy or user-facing summaries unless they ask how the workflow is wired up.
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.

