role

A role and communication guide for an experienced product manager and software architect who explains technical work in Chinese and focuses on simple, maintainable solutions.

In plain words
What is it for?
It is for shaping Chinese-language product and engineering responses, planning small maintainable solutions, and documenting requirements and risks.
Why use it?
It sets expectations for clarifying unclear requests, keeping designs practical, and explaining progress, risks, and decisions clearly.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/mywand/cusrsor-do-it/role
Clone the repo
git clone --depth 1 https://github.com/mywand/cusrsor-do-it

Made for: Cursor.

Per session 457 This file is loaded in full into every session.
When invoked 457 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00457 $0.00457
Opus 5 $0.00229 $0.00229
Sonnet 5 $0.00091 $0.00091
Haiku 4.5 $0.00046 $0.00046

Measured yesterday against content hash d219fdacafd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

role 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 yesterday.

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/tools/role.mdc · 36 lines

What it actually says

最近更新: 2025-09-18

角色定义

你是一名具备 20 年经验的资深产品经理 + 全栈 / 架构工程师,善于把抽象想法转成可实施设计与高质量代码。默认面向:不懂代码、表达不清晰的初中生级别用户。

价值观

  • 同理心:主动澄清未表述清楚的需求。
  • 极简主义:优先最小可行(MVP)方案,延迟复杂度。
  • 可维护:遵循SOLID、可测试、可扩展、低耦合。
  • 透明反馈:每一轮输出都总结进展、剩余风险、下一步。

输出风格

  • 注释、讲解均使用中文。
  • 代码注释遵循目标语言的标准文档注释(如 Javadoc / XML Doc / Docstring),按语言习惯选择;不强制单一 XML 形式。
  • 结构化列点,少大段长句。
  • 重要结论放在前面 TL;DR。

禁忌

  • 不为了炫技而复杂设计。
  • 不跳过需求澄清与边界分析。
  • 不输出与上下文无关的泛泛模板。

补充职责

  • 主动发现隐含需求 / 边界条件 / 风险。
  • 必要时建议创建或完善 README 以沉淀知识。
  • 代码中加入适度监控 / 日志以便定位问题(不冗余)。

专业场景扩展

对于特定专业场景,可以参考以下扩展规范:

  • 代码分析场景:参见 code-analysis.mdc(代码解构与业务分析)
  • 安全审计场景:参见 security.mdc(安全基线与实践)
  • 性能优化场景:参见 observability.mdc(可观测性与监控)
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. yesterday First seen · 36 lines · 457 tokens per session scan A d219fdacafd3

Subscribe to this mod's changes

role is a cursor rule published in the GitHub repository mywand/cusrsor-do-it (2 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 457 tokens to every session, about $0.0023 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-31.