fable5-coding-craft

fable5-coding-craft is a cursor rule for Cursor from madebyaris/advance-minimax-m3-cursor-rules. It costs 60 tokens per session (2,084 once invoked), scanned A, original, MIT.

A set of coding guidelines for finding the right place to edit, fixing underlying causes, keeping changes small, handling errors, and checking tests.

In plain words
What is it for?
Writing, refactoring, debugging, and reviewing substantial code in any programming language.
Why use it?
It reduces common coding-agent mistakes such as editing too soon, making unnecessary changes, or claiming success without checking the relevant behavior.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Writing, refactoring, debugging, and reviewing substantial code in any programming language.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/madebyaris/advance-minimax-m3-cursor-rules/fable5-coding-craft
Install

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.

Clone the repo
git clone --depth 1 https://github.com/madebyaris/advance-minimax-m3-cursor-rules

Made for: Cursor.

Wrote 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.

agentmods badge for fable5-coding-craft

README.md
[![agentmods](https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/fable5-coding-craft.svg)](https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/fable5-coding-craft)
Your own site
<a href="https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/fable5-coding-craft"><img src="https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/fable5-coding-craft.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,084 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.02084
Opus 5 $0.00030 $0.01042
Sonnet 5 $0.00012 $0.00417
Haiku 4.5 $0.00006 $0.00208

Measured 8d ago against content hash 16480361bfc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

fable5-coding-craft 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 8d 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.

.cursor/rules/fable5-coding-craft.mdc · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fable 5 Coding Craft

Distilled from how frontier coding agents earn SWE-Bench-class scores. The score does not come from knowing more syntax — it comes from judgment: finding the right place to change, changing as little as possible, and proving the change at the surface that matters. This rule transfers that judgment to any model.

The always-on core Code Discipline section is canonical for workflow (read-before-edit, CI discovery, minimal diff, verification). This rule goes deeper on the judgment calls inside that workflow.

The Craft Hierarchy

When choices conflict, optimize in this order:

  1. Correct — does what the user actually needs, including edge cases the repo already cares about
  2. Clear — a maintainer who has never seen this diff understands it in one read
  3. Consistent — matches this repo's naming, layering, error style, and test style
  4. Small — smallest honest diff; no opportunistic changes
  5. Fast / clever — only after the above, and only with a measurement justifying it

Never trade a level up for a level down. Clever-but-unclear is a defect, not a style.

Locate Before You Write

The highest-leverage minutes in any coding task are spent finding where the change belongs, not writing it. Most weak fixes are correct code in the wrong place.

  1. Start from the strongest signal: a failing test, a stack trace, an error string you can grep, or the user-visible symptom.
  2. Trace from symptom to mechanism: which function produced this output? Which caller decided to call it with these inputs? Where does the data originate?
  3. Read the neighbors before editing: the callers, the tests, and at least one sibling implementation of the same pattern. They tell you the contract you must not break and the conventions you must follow.
  4. Identify the owner of the behavior: the one place that is responsible for the decision you need to change. A fix at the owner is 5 lines; a fix at every symptom site is 50 and rots.
  5. Only then write. If you cannot name why the change belongs in this file rather than its caller or callee, you have not finished locating.

Read the full file on GitHub · 130 lines

Changes

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.

  1. 8d ago First seen · 130 lines · 60 tokens per session scan A 16480361bfc5

Subscribe to this mod's changes

fable5-coding-craft 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 60 tokens to every session and 2,084 once invoked, about $0.0003 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.