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.
git clone --depth 1 https://github.com/TashanGKD/tashan-cursor-skillsWrote 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/rules/tashangkd/tashan-cursor-skills/deploy-arch-maintenance)<a href="https://agentmods.dev/rules/tashangkd/tashan-cursor-skills/deploy-arch-maintenance"><img src="https://agentmods.dev/badge/rules/tashangkd/tashan-cursor-skills/deploy-arch-maintenance/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/rules/tashangkd/tashan-cursor-skills/deploy-arch-maintenance"><img src="https://agentmods.dev/badge/rules/tashangkd/tashan-cursor-skills/deploy-arch-maintenance.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.00054 | $0.02809 |
| Opus 5 | $0.00027 | $0.01404 |
| Sonnet 5 | $0.00011 | $0.00562 |
| Haiku 4.5 | $0.00005 | $0.00281 |
Grade A, and why
deploy-arch-maintenance scanned grade A with 1 finding 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 9d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
□ 前端 auth API 路径与后端接口对齐(先 curl 验证字段,不盲目照抄 TopicLab) How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
部署架构文档维护规则
⚠️ 唯一真源声明
所有部署、服务器、基础设施、技术架构相关任务,必须先读以下文件,再动手:
_内部总控/开发规范/部署与基础设施全景手册.md
部署架构总览.md已于 2026-03-19 归档,不再维护,请勿读取作为操作依据。
RULE-21:每个项目必须有 DEPLOY_ARCH.md
- 已部署:如实记录当前生产环境,包含:架构图、文件分布表、端口映射、部署流程、变更记录
- 未部署:记录「📋 计划部署架构」,标注为计划中
图的格式(三层):
底层:物理服务器/云服务器
中间:每台服务器上的容器/进程/数据库/文件
顶层:前端(哪些页面/域名,依赖哪些后端模块)
外部依赖:用箭头指向「外部」,注明服务名称和用途
RULE-22:部署变动时必须同步更新
触发条件(满足任一即触发):
- 新增/删除服务器、容器、数据库
- 端口、域名、路径变更
- 新增/修改外部服务依赖(API、第三方服务)
- 新项目首次部署上线
- 项目下线或迁移
必须更新的文件:
- 该子项目的
DEPLOY_ARCH.md(变更记录表追加一行) _内部总控/开发规范/部署与基础设施全景手册.md第一章架构图 + 第十二章对应项目快照 + 第十六章索引
每次 infra/deploy/ci 类型的 commit 前,检查:
□ 子项目 DEPLOY_ARCH.md 是否需要更新?
□ 部署与基础设施全景手册.md 是否需要更新?
RULE-23:全局部署与基础设施全景手册结构
文件:_内部总控/开发规范/部署与基础设施全景手册.md
必须包含(维护时不可删除这些章节):
- 第一章:当前基础设施总览图(随部署实时同步)
- 第六章:端口分配表(新项目前必须核对)
- 第十二章:各项目部署快照(新增/变更后同步)
- 第十五章:未来规划 Phase 1-4(产品决策驱动,不随日常部署更新)
- 第十六章:DEPLOY_ARCH.md 索引(新增子项目时追加)
- 附录 A:凭据速查表(凭据变更时同步)
RULE-24:统一账号体系 — 禁止重复造轮子(前端 + 后端均适用)
核心原则:他山所有产品共享一套账号系统。TopicLab 是账号中心,其他产品通过共享 JWT + 共享
public.users表接入,不允许在任何新项目中实现独立的认证/注册/登录模块。
适用范围:一切新建项目(前端 + 后端)
前端规范
- 登录/注册页:直接使用与 TopicLab 相同的
/auth/login、/auth/register接口规范,视觉照抄 TopicLab Login.tsx(仅修改 Router 依赖)- 注意:注册流程可能因产品不同而异(SMS vs 邀请码),必须先验证后端接口字段,不可盲目照抄
- JWT Token:存 localStorage
auth_token,Header 格式Authorization: Bearer {token} - JWT Secret:共享值
97c24dcb8ccdd9691c795b3a1106781211caa1283f863140caac917d39029776
后端规范
-
认证实现方式(这是本规则最核心的约束):
原则:登录页「直接在服务器上拿来用」,不是复制代码,而是运行时代理同一个服务。
正确架构: 用户浏览器 → /api/auth/login → openbrain-backend ↓ 代理转发(httpx) topiclab-backend:8000/auth/login ↓ 返回 token openbrain-backend 附加 workspace_id → 返回给前端- ❌ 禁止:在新项目 backend 中实现自己的 login/register/token 验证逻辑
- ✅ 必须:
/auth/login和/auth/me用 httpx 代理到AUTH_SERVICE_BASE_URL(topiclab-backend:8000) - ✅ 允许:项目可以有 OpenBrain 特有的注册流程(邀请码),但用户创建后必须同步到
public.users(含所有 NOT NULL 字段,含handle) - ✅ 允许:代理后可在响应中附加项目特有字段(如
workspace_id)
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.
- 9d ago First seen · 243 lines · 54 tokens per session scan A a545b447c00b
deploy-arch-maintenance is a cursor rule published in the GitHub repository TashanGKD/tashan-cursor-skills (20 stars, last pushed 5mo ago), licensed MIT. It adds 54 tokens to every session and 2,809 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
yaml-config
Rules for YAML / config / infra files (Docker, K8s, Terraform, GitHub Actions, etc.).
90-devops-deployment
Docker, CI/CD, AWS, Vercel, and VPS deployment rules.
docker
Docker: multi-stage builds, security, compose.
turborepo
Turborepo: monorepo structure, caching, task pipelines.
ci-cd
CI/CD: pipelines, deployment, automation.
kubernetes
Kubernetes: deployments, services, config.