Coding & Developmentโจ๏ธcursor๐universal
๐ Advanced MiniMax M2.1 Cursor Rules
Agentic-first Cursor Rules powered by MiniMax M2 โ clarify-first prompting, interleaved thinking, and full tool orchestration for production-ready AI coding
Quick Start
Install this Skill
npx skills add madebyaris/advance-minimax-m2-cursor-rules<div align="center">
# ๐ Advanced MiniMax M2.1 Cursor Rules
[](https://github.com/madebyaris/advance-minimax-m2-cursor-rules/stargazers)
[](LICENSE)
[](https://cursor.com)
[](https://platform.minimax.io)
**Agentic-first Cursor rules that transform simple prompts into production-ready, verified code**
[Quick Start](#-quick-start) โข [Features](#-features) โข [Rules](#-rules) โข [Philosophy](#-philosophy) โข [Contributing](#-contributing)
</div>
---
## โจ Features
- **๐ง Agentic-First Workflow** โ Verify โ Plan โ Act โ Validate (like Opus 4.5)
- **โ
CLI-First Development** โ Always use framework CLIs, never create config files manually
- **๐ Version Verification** โ Web search for current package versions before using
- **โ Clarify-First Prompting** โ AI checks context first, then asks targeted questions
- **๐ญ Preserved Thinking** โ Maintains reasoning context across conversations
- **๐ ๏ธ Full Cursor 2.3/2.4 Support** โ All tools documented and optimized (works with Nightly)
- **๐ MiniMax MCP** โ `web_search` + `understand_image` integration
- **๐ Multi-Language** โ Web, Python, Rust, Go, Swift, Flutter, DevOps
- **โ ๏ธ Syntax Trap Prevention** โ Common mistakes documented per language
---
## ๐ฏ Philosophy
These rules are designed to make AI code generation **actually work** by enforcing real development practices:
### The Golden Rule: Verify Before You Act
```
1. CHECK โ What exists? What's the current state?
2. VERIFY โ What versions? What CLIs are available?
3. ACT โ Make the change using proper tools
4. VALIDATE โ Did it work? Any errors?
```
### What This Prevents
| โ Bad Practice | โ
What Rules Enforce |
|-----------------|----------------------|
| Manually creating `package.json` | Use `npm init` or `npx create-next-app` |
| Manually creating `pubspec.yaml` | Use `flutter create` |
| Manually creating `Cargo.toml` | Use `cargo new` |
| Manually creating `.xcodeproj` | **NEVER** - use Xcode only |
| Skipping `npm install` | Always run after setup |
| Using outdated package versions | Web search for current versions |
| Charts without container heights | Explicit Chart.js guidelines |
---
## ๐ Quick Start
### 1. Clone & Copy
```bash
git clone https://github.com/madebyaris/advance-minimax-m2-cursor-rules.git
cp -r advance-minimax-m2-cursor-rules/.cursor/rules/ your-project/.cursor/rules/
```
### 2. Configure MiniMax MCP
Add to Cursor Settings โ MCP:
```json
{
"mcpServers": {
"MiniMax": {
"command": "uvx",
"args": ["minimax-coding-plan-mcp"],
"env": {
"MINIMAX_API_KEY": "<YOUR_API_KEY>",
"MINIMAX_MCP_BASE_PATH": "<OUTPUT_DIR>",
"MINIMAX_API_HOST": "https://api.minimax.io"
}
}
}
}
```
> Get your API key at [platform.minimax.io](https://platform.minimax.io)
### 3. Restart Cursor
---
## ๐ Rules
### Core (Always Active) - Optimized for Context Efficiency
| Rule | Lines | Purpose |
|------|-------|---------|
| `minimax-m2-core.mdc` | ~350 | Agentic behavior, Opus 4.5-style thinking, RALPH loop |
| `cursor-agent-orchestration.mdc` | ~400 | Sub-agents, parallel workflows, EPIC todos, hooks |
### Agent-Requestable Skills (Loaded on Demand)
These rules are **not always loaded** - the agent requests them when relevant, saving context window:
| Rule | Purpose | Triggered By |
|------|---------|--------------|
| `minimax-m2-verification.mdc` | Pre/post verification protocols | Code generation tasks |
| `minimax-mcp-tools.mdc` | MiniMax MCP + version checking | Web search, image analysis |
| `cursor-tools-mastery.mdc` | Cursor 2.3/2.4 tools reference | Complex tool usage |
| `clarify-first-prompting.mdc` | Check first, then ask questions | Ambiguous requests |
### Language-Specific (Auto-Activate)
| Rule | Files | Key Features |
|------|-------|--------------|
| `web-development.mdc` | `*.js`, `*.ts`, `*.tsx`, `*.vue` | Next.js CLI, shadcn CLI, Chart.js containers |
| `python-development.mdc` | `*.py`, `requirements.txt` | venv requirement, uv/pip, common traps |
| `rust-development.mdc` | `*.rs`, `Cargo.toml` | cargo new/add, ownership traps |
| `go-development.mdc` | `*.go`, `go.mod` | go mod init, error handling patterns |
| `swift-development.mdc` | `*.swift` | **Xcode project warning**, Swift Package CLI |
| `flutter-development.mdc` | `*.dart`, `pubspec.yaml` | flutter create/pub add, dispose patterns |
| `mobile-cross-platform.mdc` | Cross-platform projects | Framework CLIs, platform differences |
| `devops-infrastructure.mdc` | `Dockerfile`, `*.tf`, `*.yaml` | Dry-run validation, version pinning |
---
## ๐ v2.2+ Enhancements (Cursor 2.3/2.4 Compatible)
### Issue
... (truncated)Repository
26stars
2forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
๐คclaude๐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
๐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
โจgemini๐คclaude๐ฌgpt๐universal
524
34
View
misakanet-failure-memory
Coding & Development๐ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
๐คclaudeโจ๏ธcursor๐universal
424
158
View