Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/madebyaris/advance-minimax-m3-cursor-rulesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/language-agnostic-patterns)<a href="https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/language-agnostic-patterns"><img src="https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/language-agnostic-patterns/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/language-agnostic-patterns"><img src="https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/language-agnostic-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.02896 |
| Opus 5 | $0.00018 | $0.01448 |
| Sonnet 5 | $0.00007 | $0.00579 |
| Haiku 4.5 | $0.00004 | $0.00290 |
Grade A, and why
language-agnostic-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 477 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Language-Agnostic Programming Patterns
Universal principles for structure, naming, architecture, and testing — applicable across all languages.
Load this rule when refactoring modules, designing abstractions, reviewing architecture, or choosing patterns. For day-to-day coding workflow (read-before-edit, CI discovery, minimal diff, verification), the always-on core Code Discipline section is canonical — do not duplicate it here. For the judgment layer — root-cause method, simplicity taste, test integrity — load fable5-coding-craft alongside this rule.
Pattern Judgment (Read First)
Everything below is vocabulary, not a checklist. Frontier-quality code applies patterns reactively — when the code's actual pain demands them — never proactively because a situation pattern-matches a textbook example.
- Every pattern has a cost: indirection, a new concept for readers, more files to trace through. Apply one only when the pain it removes is already present, not predicted.
- The strongest signal for an abstraction is the third occurrence of real duplication with identical reasons to change. Two similar blocks that change for different reasons are not duplication — unifying them couples things that must stay free.
- SOLID violations matter when they cause observed friction (a class you cannot test, a switch you keep re-editing). A small concrete class that "violates SRP" but has never needed to change is fine code — leave it alone.
- The best architecture for most changes is the one the repo already has. Pattern fluency is mostly for reading existing designs and for naming the structure a refactor is already growing toward.
- When reviewing, flag pattern overuse with the same severity as pattern absence: a Strategy with one strategy, a Factory with one product, or an interface with one implementation is indirection without payoff.
Change Discipline
- Solve the requested problem with the smallest vertical slice; expand only after it works.
- Prefer extending existing modules over creating parallel implementations.
- When adding a dependency, confirm the repo does not already solve the same need.
- Keep public surfaces stable unless the task explicitly requires a breaking change.
- Leave the codebase in a compilable, testable state after each meaningful step.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 477 lines · 37 tokens per session scan A 9b1aecce9736
language-agnostic-patterns is a cursor rule published in the GitHub repository madebyaris/advance-minimax-m3-cursor-rules (125 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 2,896 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
pr-code-review
Code review rule for PR analysis. Challenges architectural decisions, examines the diff with the default branch, and provides comprehensive feedback on code quality, security, performance, and maintainability before publishing.
code-review
Code review: reviewing approach, authoring PRs, feedback conventions.
code-optimization
Guidelines for optimizing duplicate and poorly structured code.
learnship
Activate learnship agentic engineering workflows — structured phases, persistent memory, learning partner, and impeccable UI design. Use whenever a user is working on a software project or asks about project planning, phases, workflows, or how to build something.
coding
Core coding behavior for this repository. Always prefer cautious, minimal, reversible changes.
execution
Repository execution and verification commands.