cursor-ai-rules: Command for Claude Code

.cursor/commands/vibe.md

vibe is a command for Claude Code, Cursor from wangqiqi/cursor-ai-rules. It costs 23 tokens per session (4,783 once invoked), scanned A, original, MIT.

A Chinese-language coding workflow based on documentation-first development, test-first development, and coordination between front-end and back-end work. It also describes rules for checking intent, trustworthiness of information, and keeping an auditable record of decisions.

In plain words
What is it for?
Use it to start projects, create product requirements, generate code, write test cases, align front-end and back-end interfaces, and plan deployment workflows.
Why use it?
It gives an AI-assisted project a defined process from requirements through testing and deployment. This can help teams keep design, implementation, interfaces, and verification aligned.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is wangqiqi/cursor-ai-rules's own configuration. It tells Claude Code and Cursor how to work on cursor-ai-rules itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cursor-ai-rules configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/wangqiqi/cursor-ai-rules/main/.cursor/commands/vibe.md
Clone the repo
git clone --depth 1 https://github.com/wangqiqi/cursor-ai-rules

Made for: Claude Code, 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 vibe

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangqiqi/cursor-ai-rules/vibe.svg)](https://agentmods.dev/commands/wangqiqi/cursor-ai-rules/vibe)
Your own site
<a href="https://agentmods.dev/commands/wangqiqi/cursor-ai-rules/vibe"><img src="https://agentmods.dev/badge/commands/wangqiqi/cursor-ai-rules/vibe.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,783 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.00023 $0.04783
Opus 5 $0.00012 $0.02391
Sonnet 5 $0.00005 $0.00957
Haiku 4.5 $0.00002 $0.00478

Measured 7d ago against content hash c9feb9934448, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

vibe 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 7d 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/commands/vibe.md · 434 lines

How it starts

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

🚀 VIBE Coding - AI共生宪法系统下的专业开发模式

版本: v6.0.0 | 最后更新: 2026-01-18 | 作者: AI共生宪法系统

🧠 核心理念:AI共生宪法 + VIBE开发方法论

🚀 宪法驱动的开发革命

  • 三大公理强制执行:意图主权、信号可信、认知可审计
  • 六维交互协议:D1-D6完整协议支持
  • VIBE专业流程:文档驱动、测试先行、前后端对齐
  • 宪法质量保障:AI共生下的开发质量全方位把控

宪法赋能VIBE:VIBE不再是独立的开发方法论,而是AI共生宪法系统下的专业开发模式,三大公理确保开发过程的合规性和质量。

🎯 AI共生宪法下的VIBE工作流程

graph TD
    A[用户需求表达] --> B[宪法合规检查]
    B --> C{是否合规?}
    C -->|合规| D[Parser意图分析]
    C -->|违规| E[STOP机制 + 合规响应]
    D --> F[Router智能编排]
    F --> G[VIBE专业流程]
    G --> H[文档驱动开发]
    H --> I[前后端分层开发]
    I --> J[测试驱动验证]
    J --> K[六维协议对齐]
    K --> L[宪法审计留痕]
    L --> M[质量保障输出]
    M --> N[持续学习优化]

✨ 宪法赋能的核心特性

  • ⚖️ 三大公理强制: 意图主权、信号可信、认知可审计的宪法保障
  • 🧠 六维交互协议: D1-D6完整协议的智能协作体验
  • 📚 VIBE文档驱动: 宪法合规下的文档先行开发模式
  • 🏗️ 分层宪法开发: 前端优先,后端跟随,宪法质量保障
  • 🧪 测试宪法先行: 测试计划基于宪法审计的可靠性保障
  • 🔗 接口宪法对齐: 前后端契约化开发,信号链可追溯
  • 🎯 智能宪法编排: AI共生系统自动编排VIBE开发流程
  • 📊 宪法质量门禁: 三大公理下的自动化质量保障

🛠️ 宪法驱动的智能使用方法

🎯 核心用法:宪法合规的VIBE开发(推荐)

# 🎉 在宪法保护下启动VIBE开发模式!AI自动确保合规性和质量
/vibe start 开发一个任务管理应用,支持团队协作和进度跟踪
/vibe prd 基于宪法审计设计电商平台产品需求文档
/vibe code 按照宪法协议生成用户登录模块的完整代码
/vibe test 为购物车功能生成宪法可追溯的测试用例
/vibe deploy 配置生产环境的宪法合规部署流程

# 🚀 AI共生宪法下的VIBE全生命周期管理
/vibe 初始化项目         # 宪法合规的项目脚手架
/vibe 需求分析           # 三大公理下的需求分析和文档化
/vibe 前端开发           # 六维协议下的前端优先分层开发
/vibe 后端开发           # 信号可信的接口开发
/vibe 接口对齐           # 宪法可审计的接口对齐验证
/vibe 测试驱动           # 意图主权的测试驱动开发
/vibe 对齐检查           # 六维协议下的全面对齐验证
/vibe 部署上线           # 宪法保障的生产环境部署

# 🎭 角色系统集成 - 选择最适合的AI人格进行开发指导
/vibe role switch 专家导师    # 切换到专家导师人格进行深度指导
/vibe role call 小妮          # 呼叫可爱萝莉进行创意开发
/vibe role set 女王姐姐        # 设置御姐女王进行架构设计
/vibe role current            # 查看当前激活的开发指导人格

🔄 AI共生宪法 + VIBE统一架构

系统集成: constitution-enforcer.js + interaction-protocol.js + vibe-services-integration.sh

🎉 宪法VIBE + 角色系统支持: /vibe 现在基于三大公理和六维协议,通过调用VIBE专业服务实现宪法保障的开发流程管理!不仅提供开发指导,还集成21种AI人格系统,让你可以选择最适合的AI伙伴进行开发协作。

graph TD
    A[用户需求] --> B[宪法合规检查]
    B --> C[Parser意图分析]
    C --> D[Router智能编排]
    D --> E[VIBE专业服务]
    E --> F[六维协议执行]
    F --> G[宪法审计留痕]
    G --> H[质量门禁验证]
    H --> I[结果反馈 + 学习优化]

Read the full file on GitHub · 434 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. 7d ago First seen · 434 lines · 23 tokens per session scan A c9feb9934448

Subscribe to this mod's changes

vibe is a command published in the GitHub repository wangqiqi/cursor-ai-rules (16 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 4,783 once invoked, about $0.0001 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.