oak-open-curriculum-ecosystem / rules
Cursor rule10 starsChanged 7 months agoMITView on GitHub
Every fenced code block in repo-authored Markdown (.md, .mdc, rules, skills, plans, ADRs) declares a language on the opening fence — the real language, or text for output, diagrams, pseudocode. Apply when authoring or editing Markdown and before any autofix run; MD040 is gated by pnpm markdownlint-check:root, so the live obligation is the fixer guard: when MD004 fires on a prose line, reword the line — never blind-run markdownlint --fix over prose, where a line-wrapped + meaning "and" is silently rewritten to -, corrupting the sentence. Not for third-party Markdown outside the lint scope.
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,371 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 repository294 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/agent-experience-review-lens.mdcCursor rule
- .cursor/rules/agentic-judgment-conserve-by-default.mdcCursor rule
- .cursor/rules/agents-default-no-gender.mdcCursor rule
- .cursor/rules/agent-state-observable.mdcCursor rule
- .cursor/rules/apply-architectural-principles.mdcCursor rule
- .cursor/rules/bot-identity-on-third-party-systems.mdcCursor rule
- .cursor/rules/capability-landing-decision-procedure.mdcCursor rule
- .cursor/rules/capture-practice-tool-feedback.mdcCursor rule
- .cursor/rules/channel-by-audience-lifetime-and-consumer.mdcCursor rule
- .cursor/rules/check-singleton-per-window.mdcCursor rule
- .cursor/rules/closed-shape-design-optionality.mdcCursor rule
- .cursor/rules/collaboration-is-value-contingent.mdcCursor rule
- .cursor/rules/comms-all-channels-watcher.mdcCursor rule
- .cursor/rules/compute-dont-hope.mdcCursor rule
- .cursor/rules/confident-seats-proceed-and-report.mdcCursor rule
- .cursor/rules/consolidate-at-second-consumer.mdcCursor rule
- .cursor/rules/continuity-surface-commits-as-orphans.mdcCursor rule
- .cursor/rules/coordination-branch-24h-lifetime.mdcCursor rule
- .cursor/rules/cross-estate-work-must-reduce-divergence.mdcCursor rule
- .cursor/rules/cross-repo-sessions-run-the-join-ceremony.mdcCursor rule
- .cursor/rules/deletions-never-ride-a-push.mdcCursor rule
- .cursor/rules/design-from-impact-not-the-cowpath.mdcCursor rule
- .cursor/rules/design-values-come-from-the-system.mdcCursor rule
- .cursor/rules/design-work-for-small-prs.mdcCursor rule
- .cursor/rules/directed-routing-requires-absorption-ack.mdcCursor rule
- .cursor/rules/directive-file-context-budget.mdcCursor rule
- .cursor/rules/documentation-hygiene.mdcCursor rule
- .cursor/rules/dont-break-build-without-fix-plan.mdcCursor rule
- .cursor/rules/downstream-checkout-never-writes-upstream-surfaces.mdcCursor rule
- .cursor/rules/eef-corpus-grounding.mdcCursor rule
- .cursor/rules/executive-memory-drift-capture.mdcCursor rule
- .cursor/rules/exit-codes-in-band-never-piped.mdcCursor rule
- .cursor/rules/fleet-design-review-before-expensive-fleets.mdcCursor rule
- .cursor/rules/follow-agent-collaboration-practice.mdcCursor rule
- .cursor/rules/follow-collaboration-practice.mdcCursor rule
- .cursor/rules/follow-the-practice.mdcCursor rule
- .cursor/rules/foreign-board-write-discipline.mdcCursor rule
- .cursor/rules/generator-first-mindset.mdcCursor rule
- .cursor/rules/handoff-messages-self-contained.mdcCursor rule
- .cursor/rules/hook-policy-substring-discipline.mdcCursor rule
- .cursor/rules/identify-as-agent-under-shared-credentials.mdcCursor rule
- .cursor/rules/important-state-not-in-temp-files.mdcCursor rule
- .cursor/rules/invoke-code-experts.mdcCursor rule
- .cursor/rules/knowledge-preservation-over-fitness-warnings.mdcCursor rule
- .cursor/rules/linear-mcp-team-and-project-hygiene.mdcCursor rule
- .cursor/rules/lint-after-edit.mdcCursor rule
- .cursor/rules/liveness-heartbeat-cron.mdcCursor rule
- .cursor/rules/local-broken-code-never-leaves.mdcCursor rule
- .cursor/rules/lockfile-rebuild-survivability.mdcCursor rule
- .cursor/rules/loop-exit-criteria-required.mdcCursor rule
- .cursor/rules/monitor-branch-touched-files.mdcCursor rule
- .cursor/rules/napkin-always-active.mdcCursor rule
- .cursor/rules/never-commit-to-main.mdcCursor rule
- .cursor/rules/never-disable-checks.mdcCursor rule
- .cursor/rules/never-use-git-to-remove-work.mdcCursor rule
- .cursor/rules/new-rule-vs-pdr-clause.mdcCursor rule
- .cursor/rules/no-conditional-tests.mdcCursor rule
- The first 60 shown.
The file
We split this markdown-code-blocks-must-have-language.mdc into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 7
Read and follow .agent/rules/markdown-code-blocks-must-have-language.md.
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 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: 'Every fenced code block in repo-authored Markdown (.md, .mdc, rules, skills, plans, ADRs) declares a language on the opening fence — the real language, or text for output, diagrams, pseudocode. Apply when authoring or editing Markdown and before any autofix run; MD040 is gated by pnpm markdownlint-check:root, so the live obligation is the fixer guard: when MD004 fires on a prose line, reword the line — never blind-run markdownlint --fix over prose, where a line-wrapped + meaning "and" is silently rewritten to -, corrupting the sentence. Not for third-party Markdown outside the lint scope.'
globs: '**/*.{md,mdc,mdx}'
alwaysApply: false
---
Read and follow `.agent/rules/markdown-code-blocks-must-have-language.md`.
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.

