agentleFS
madebyarismadebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/skill-authoring.mdc

advance-minimax-m3-cursor-rules / rules

Cursor rule126 starsChanged 6 months agoMITView on GitHub

MiniMax M3 + Cursor 3.7 skill authoring: when to use skills, how to structure them, how to keep them deep without duplicating the core, and how to declare model assumptions.

The file

Show its rules and text

We split this skill-authoring.mdc into the rules it gives an agent

14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this rule when creating, revising, or evaluating .cursor/skills/* content.

    line 8
  2. Distinctive:

    Put durable, universal behavior in always-on rules.

    line 12
  3. Distinctive:

    Use a skill for repeatable workflows, domain-specific heuristics, or tasks that need examples and reference material.

    line 13
  4. Distinctive:

    If the content only matters for one file type or one domain, prefer a skill or requestable rule over expanding the core.

    line 14
  5. Distinctive:

    when to use it

    line 21
  6. Very specific:

    Use YAML frontmatter on every SKILL.md.

    line 28
  7. Very specific:

    Keep SKILL.md focused on the main workflow.

    line 61
  8. Distinctive:

    Prefer one coherent workflow per skill over broad omnibus instructions.

    line 69
  9. Distinctive:

    If a skill depends on multimodal input, name that in the frontmatter and in the opening paragraph so the agent does not try to use it in a …

    line 70
  10. Distinctive:

    Do not copy the always-on solver loop, status taxonomy, or generic tool discipline into every skill.

    line 74
  11. Distinctive:

    Keep the opening concise enough that the agent can quickly decide whether to load the skill.

    line 80
  12. Distinctive:

    Use examples only when they change behavior.

    line 81
  13. Very specific:

    Prefer one small SKILL.md plus optional reference.md over one giant omnibus file.

    line 83
  14. Distinctive:

    If the skill references scripts or helper assets, document where outputs go and how success is verified.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill-authoring.mdc
---
description: "MiniMax M3 + Cursor 3.7 skill authoring: when to use skills, how to structure them, how to keep them deep without duplicating the core, and how to declare model assumptions."
alwaysApply: false
---

# Skill Authoring

Use this rule when creating, revising, or evaluating `.cursor/skills/*` content.

## Rule vs Skill

- Put durable, universal behavior in always-on rules.
- Use a skill for repeatable workflows, domain-specific heuristics, or tasks that need examples and reference material.
- If the content only matters for one file type or one domain, prefer a skill or requestable rule over expanding the core.

## Skill Shape

Each skill should clearly provide:

- what it is for
- when to use it
- what to inspect first
- the workflow or decision sequence
- any output or verification expectations

## Frontmatter Contract

Use YAML frontmatter on every `SKILL.md`.

Minimum:

```yaml
---
name: my-skill
description: >
  What this skill does and the user-language triggers for when to use it.
license: MIT
metadata:
  version: "1.0.0"
  category: workflow
  sources:
    - Official docs or standards
  model_assumptions: []   # optional; see below
---
```

Rules:
- `name` must match the directory name exactly.
- `description` must include concrete trigger language, not vague capability claims.
- `license` should be explicit so skills stay portable outside this repo.
- `metadata.version` should change when the skill meaningfully evolves.
- `metadata.category` should describe the domain or workflow.
- `metadata.sources` should name current authoritative sources when the skill depends on external behavior.
- `metadata.model_assumptions` (optional) should name the model capabilities the skill depends on, e.g.:
  - `multimodal-input: required` — the skill expects the user can attach images/video that the model can read natively
  - `long-context: recommended` — the skill expects a 1M-class context window for the loader to be useful
  - `cursor-3-runtime: required` — the skill expects the Cursor 3.7 / Agents Window surface

## Progressive Disclosure

- Keep `SKILL.md` focused on the main workflow.
- Move large examples, extended references, and category catalogs into companion files such as `reference.md`.
- Load deeper material only when the task actually needs it.

## Skill Contracts

- State concrete triggers in user-language, not vague capability claims.
- Define inputs, outputs, stop conditions, and common failure modes.
- Prefer one coherent workflow per skill over broad omnibus instructions.
- If a skill depends on multimodal input, name that in the frontmatter and in the opening paragraph so the agent does not try to use it in a text-only environment.

## Anti-Duplication

- Do not copy the always-on solver loop, status taxonomy, or generic tool discipline into every skill.
- Let skills deepen the task-specific method, not restate the global contract.
- Reference existing project patterns or rule files when they already cover shared behavior.

## Quality Bar

- Keep the opening concise enough that the agent can quickly decide whether to load the skill.
- Use examples only when they change behavior.
- Re-read the skill after writing it and remove filler, stale tool names, and redundant policy text.
- Prefer one small `SKILL.md` plus optional `reference.md` over one giant omnibus file.
- If the skill references scripts or helper assets, document where outputs go and how success is verified.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.