Borrowing it
Nothing to install: this file belongs to wangqiqi/cursor-ai-rules. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/wangqiqi/cursor-ai-rules/main/.cursor/commands/master.mdgit clone --depth 1 https://github.com/wangqiqi/cursor-ai-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/commands/wangqiqi/cursor-ai-rules/master)<a href="https://agentmods.dev/commands/wangqiqi/cursor-ai-rules/master"><img src="https://agentmods.dev/badge/commands/wangqiqi/cursor-ai-rules/master/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/commands/wangqiqi/cursor-ai-rules/master"><img src="https://agentmods.dev/badge/commands/wangqiqi/cursor-ai-rules/master.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.00026 | $0.02651 |
| Opus 5.5 | $0.00010 | $0.01060 |
| Sonnet 5.5 | $0.00005 | $0.00530 |
| Haiku 4.5 | $0.00003 | $0.00265 |
Grade A, and why
master 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 2mo 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 — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🎯 Master智能命令中心
⚠️ 前置步骤(必须执行)
在处理任何 /master 请求前,必须确保 .cursorGrowth 目录存在:
- 若
.cursorGrowth不存在,先运行:bash .cursor/features/automation/automation/scripts/growth_init.sh - 然后再继续处理用户的 /master 请求
概述
Cursor AI Rules的智能Master控制器 - 你的AI编程助手和命令中心,提供全方位的开发支持和智能指导。
🚀 核心功能
📚 学习与培训
- 技术学习路径: 提供结构化的学习路线和资源推荐
- 最佳实践指导: 分享行业标准和最佳实践
- 技能提升建议: 基于当前水平的个性化提升计划
🛠️ 开发工具链
- 项目脚手架: 智能推荐和生成项目模板
- 代码质量检查: 自动化代码审查和质量评估
- 性能优化指导: 识别瓶颈并提供优化方案
🎯 架构与设计
- 系统架构设计: 从需求到实现的完整架构方案
- 技术栈选择: 基于项目特点的智能技术栈推荐
- 设计模式应用: 合适的设计模式和架构模式指导
🔧 运维与部署
- CI/CD配置: 自动化流水线设计和实现
- 容器化方案: Docker和Kubernetes部署指导
- 监控告警: 系统监控和日志收集方案
🎭 个性角色系统
- 21种AI人格: 专业助手到动漫风格角色的丰富选择
- 昵称呼叫: 支持亲切的昵称呼叫,如"小妮"、"小妹"等
- 动态切换: 基于心情和任务类型即时改变人格
- 个性化体验: 每种角色都有独特的语言风格和交互方式
🔄 工作流程
🎯 Master智能处理流程
graph TD
A[用户输入 /master] --> B[宪法合规检查]
B --> C{是否合规?}
C -->|合规| D[Parser意图分析]
C -->|违规| E[STOP机制 + 合规响应]
D --> F[Router智能编排]
F --> G[能力映射查询]
G --> H[执行器分发]
H --> I[规则系统]
H --> J[技能系统]
H --> K[脚本系统]
H --> L[MCP工具]
I --> M[结果整合]
J --> M
K --> M
L --> M
M --> N[学习优化]
N --> O[个性化反馈]
🧠 智能意图识别流程
graph TD
A[自然语言输入] --> B[上下文感知]
B --> C[技术栈检测]
C --> D[项目状态分析]
D --> E[意图分类]
E --> F{意图类型}
F -->|学习| G[学习路径推荐]
F -->|创建| H[项目脚手架生成]
F -->|优化| I[性能分析优化]
F -->|架构| J[架构设计方案]
G --> K[执行编排]
H --> K
I --> K
J --> K
K --> L[结果反馈]
📋 命令使用指南
基础语法
/master [具体需求描述]
智能意图识别
系统会自动识别你的意图并提供相应帮助:
学习类意图
/master 学习JavaScript高级特性
/master 掌握React Hooks使用方法
/master 理解微服务架构设计
项目创建意图
/master 创建一个电商网站后端API
/master 搭建React + Node.js全栈项目
/master 初始化Python数据分析项目
代码分析意图
/master 分析这个函数的性能问题
/master 检查代码的安全漏洞
/master 优化数据库查询性能
架构设计意图
/master 设计高并发系统架构
/master 规划微服务拆分方案
/master 设计API网关和认证系统
角色管理意图
/master 列出角色 # 查看所有可用角色
/master 当前角色 # 查看当前激活的角色
/master 切换角色 loli # 切换到可爱萝莉
/master 呼叫 小妮 # 用昵称呼叫可爱萝莉
/master 给可爱萝莉添加昵称 小妮 # 为角色设置昵称
/master 查看昵称 # 查看所有角色昵称
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.
- 2mo ago First seen · 297 lines · 26 tokens per session scan A 5e08d9d2dc0d
master is a command published in the GitHub repository wangqiqi/cursor-ai-rules (16 stars, last pushed 5mo ago), licensed MIT. It adds 26 tokens to every session and 2,651 once invoked, about $0.0001 per session on Opus 5.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.
master compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| masterwangqiqi/cursor-ai-rules | Command | 16 | 5mo ago | MIT | A | 26 | Claude Code, Cursor |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |