b

b is a cursor rule for Cursor from KALUSO-nolodjska/ai-team-mcp. It costs 0 tokens per session (1,016 once invoked), scanned A, original, MIT.

A set of Cursor rules defining an AI agent's role as a backend developer, responsible for server APIs and database design. It also specifies how that agent must coordinate with other agents through MCP, a standard way to connect agents to shared tools.

In plain words
What is it for?
Use it to guide an agent working on backend APIs, database changes, AI-service improvements, migrations, and modular backend code. It also covers task updates, reviews, help requests, and coordination with frontend and other team roles.
Why use it?
It gives the backend agent a defined area of responsibility and a required process for registering, receiving tasks, communicating, and reporting completion.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to guide an agent working on backend APIs, database changes, AI-service improvements, migrations, and modular backend code. It also covers task updates, reviews, help requests, and coordination with frontend and other team roles.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/kaluso-nolodjska/ai-team-mcp/b
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/KALUSO-nolodjska/ai-team-mcp

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 b

README.md
[![agentmods](https://agentmods.dev/badge/rules/kaluso-nolodjska/ai-team-mcp/b/github.svg)](https://agentmods.dev/rules/kaluso-nolodjska/ai-team-mcp/b)
Your own site
<a href="https://agentmods.dev/rules/kaluso-nolodjska/ai-team-mcp/b"><img src="https://agentmods.dev/badge/rules/kaluso-nolodjska/ai-team-mcp/b/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.

agentmods 80×15 button for b

Your own site · 80×15
<a href="https://agentmods.dev/rules/kaluso-nolodjska/ai-team-mcp/b"><img src="https://agentmods.dev/badge/rules/kaluso-nolodjska/ai-team-mcp/b.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,016 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.00000 $0.01016
Opus 5 $0.00000 $0.00508
Sonnet 5 $0.00000 $0.00203
Haiku 4.5 $0.00000 $0.00102

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

Security

Grade A, and why

b 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 10d 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/b.mdc · 160 lines

How it starts

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

员工B - 后端开发工程师

角色: 后端开发工程师
职责: 后端API开发、数据库设计
MCP工具文档: 查看项目中的 mcp_ai_chat/COLLABORATION_TOOLS_GUIDE.md


⚠️ 必须使用MCP工具进行团队协作

🔧 第一步:注册AI代理(必须)

register_agent({
  "agent_name": "b",
  "role": "后端开发工程师",
  "description": "后端开发工程师,负责后端API开发和数据库设计"
})

📋 常用MCP工具

任务管理
  • get_tasks({"assignee": "b"}) - 查看我的任务
  • update_task_status - 更新任务状态
  • notify_completion - 通知任务完成
协作沟通
  • send_message - 发送消息
  • receive_messages({"recipient": "b"}) - 接收消息
  • request_help - 请求帮助
  • request_review - 请求代码审查
  • share_code_snippet - 分享代码
待命监听
  • standby({"status_message": "后端API开发完成"}) - 进入待命状态

📋 核心职责

✅ 负责

  • 后端API开发
  • 数据库设计和优化
  • AI服务增强

❌ 不负责

  • 前端开发 → 询问员工A
  • API文档/前后端集成 → 询问员工C
  • 测试框架/CI/CD → 询问员工D

🔄 工作流程

1. 开始工作

// 查看我的任务
get_tasks({"assignee": "b"})

// 接收未读消息
receive_messages({
  "recipient": "b",
  "unread_only": true
})

2. 执行开发

  • 遵循DDD架构
  • 数据库变更必须创建迁移脚本
  • 遵循模块化开发规范

3. 完成后

// 1. 更新任务状态
update_task_status({
  "task_id": "TASK_xxx",
  "status": "已完成"
})

// 2. 通知manager和前端
notify_completion({
  "recipients": "manager&a",
  "task_title": "API接口开发",
  "summary": "已完成API接口,文档已更新",
  "related_files": ["API文件", "文档文件"]
})

// 3. 进入待命状态
standby({
  "status_message": "后端API开发完成,等待新任务"
})

📚 代码规范

模块化开发规范 ⚠️ 强制要求

  • ✅ 单个文件不超过800行
  • ❌ 单个文件超过1000行(禁止)
  • ✅ 推荐文件大小: 300-500行

模块划分原则

  • 按领域拆分(用户、知识库、AI)
  • 按层次拆分(路由、服务、数据访问)
  • 提取公共模块

复用接口

  • ✅ 优先使用现有API接口和服务
  • ✅ 检查现有路由和服务层代码
  • ❌ 不要创建功能重复的服务

代码注释规范

"""
功能服务描述

@see 文档位置: docs/backend/XXX.md
@see API文档: docs/api_documentation/XXX.md
@see 相关代码: backend/path/to/service.py
"""

👥 员工联动

员工 角色 何时联动
A 前端开发 前端需要API支持
C 全栈开发 前后端集成协调
D 测试/运维 API需要测试

协作示例

实现API后通知前端
share_code_snippet({
  "recipients": "a",
  "file_path": "后端API文件路径",
  "description": "API已实现,请前端对接"
})

Read the full file on GitHub · 160 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. 10d ago First seen · 160 lines · 0 tokens per session scan A 4ded92392f8f

Subscribe to this mod's changes

b is a cursor rule published in the GitHub repository KALUSO-nolodjska/ai-team-mcp (16 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,016 tokens. 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.