仓库规则

.roo/rules:跟着仓库走的 Cline 家族规则(不是 AGENTS.md)

规则文件放在仓库的 .roo/rules,跟着这份仓库走。不是 Cursor Rules,也不是 AGENTS.md。Roo Code GitHub 已于 2026-05-15 归档;扩展停了,规则格式还在。

不是 AGENTS.md,不是 Cursor Rules。本页只给 Cline 家族 .roo/rules。不托管 MCP,不写 .cursor。

文件.roo/rules
样本workshop.md
Cursor 文件不写
路径.roo/rules/workshop.md
跟着仓库
不是AGENTS.md

一份跟着仓库走的规则

GitHub 归档 2026-05-15;规则格式还在

markdown
路径
.roo/rules/workshop.md
闸门
Architect Gate → Review Gate
MCP
出站 stdio,不托管
notFor
AGENTS.md / .cursor/rules
  • Cline 家族
  • .roo/rules
  • 复制到仓库
保存为 .roo/rules/workshop.md。不要另存为 AGENTS.md。
.roo/rules/workshop.mdMarkdown
# .roo/rules/workshop.md
# Cline 家族仓库规则。不是 Cursor Rules,也不是 AGENTS.md。
# Roo Code GitHub 已于 2026-05-15 归档。规则跟着仓库走,不跟着已归档扩展走。

This file lives at .roo/rules/workshop.md.
Do not rename it to AGENTS.md. Do not copy it to .cursor/rules.

- Prefer Architect Gate (.roomodes slug architect-gate) before any edit mode.
- After a change exists, prefer Review Gate (slug review-gate).
  Read the diff, write a review, do not implement.
- MCP is outbound stdio in .roo/mcp.json. This repo does not host MCP servers.
- Filesystem MCP: allow only an explicit absolute directory.
  Never point it at secrets, SSH keys, or .env.
- GitHub MCP: use env name GITHUB_PERSONAL_ACCESS_TOKEN only.
  Never paste a live token into this file or into mcp.json.
- Model strings in Mode YAML are request ids, not display names.
  Do not treat an archived Roo install as a permanent upstream.
- Do not ask the agent to fetch VSIX from a website; there is none here.
- Roomote is a cloud agent, not this VS Code extension.
  Do not treat it as the install entry.