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/movebrickschi/harness-engineering-mcpWrote 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/movebrickschi/harness-engineering-mcp/05-chinese-comments)<a href="https://agentmods.dev/rules/movebrickschi/harness-engineering-mcp/05-chinese-comments"><img src="https://agentmods.dev/badge/rules/movebrickschi/harness-engineering-mcp/05-chinese-comments/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/movebrickschi/harness-engineering-mcp/05-chinese-comments"><img src="https://agentmods.dev/badge/rules/movebrickschi/harness-engineering-mcp/05-chinese-comments.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.00620 | $0.00620 |
| Opus 5.5 | $0.00248 | $0.00248 |
| Sonnet 5.5 | $0.00124 | $0.00124 |
| Haiku 4.5 | $0.00062 | $0.00062 |
Grade A, and why
05-chinese-comments 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 3mo 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.
What it actually says
中文注释编码规范
所有代码文件必须添加中文注释,确保代码可读性和可维护性。
类 / 接口注释
每个类和接口必须有中文 Javadoc,说明职责和用途。
// ✅ 正确
/**
* 用户管理控制器
* 提供用户注册、登录、信息查询等接口
*/
@RestController
@RequestMapping("/v1/user")
public class UserController { }
// ❌ 缺少类注释
@RestController
@RequestMapping("/v1/user")
public class UserController { }
方法注释
每个公开方法必须有中文 Javadoc,包含功能说明、参数、返回值和异常描述。
// ✅ 正确
/**
* 根据用户ID查询用户详情
*
* @param userId 用户ID
* @return 用户详情信息
* @throws NotFoundException 用户不存在时抛出
*/
public UserVO getUserById(Long userId) { }
// ❌ 缺少方法注释
public UserVO getUserById(Long userId) { }
字段注释
Entity、DTO、VO 的字段必须添加中文注释说明含义。
// ✅ 正确
public class UserEntity {
/** 用户昵称 */
private String nickname;
/** 账号状态:0-禁用 1-启用 */
private Integer status;
}
// ❌ 缺少字段注释
public class UserEntity {
private String nickname;
private Integer status;
}
关键逻辑注释
复杂业务逻辑、条件分支、算法步骤必须添加中文行内注释。
// ✅ 正确
public void processOrder(Order order) {
// 校验库存是否充足
if (inventory.getStock() < order.getQuantity()) {
throw new BusinessException("库存不足");
}
// 计算折扣后的实际支付金额
BigDecimal finalPrice = calculateDiscount(order);
// 扣减库存并生成支付记录
deductStock(order);
createPaymentRecord(order, finalPrice);
}
不需要注释的场景
- Lombok 自动生成的 getter/setter
- 含义显而易见的简单赋值(如
this.name = name) - 已有 Swagger 注解充分描述的 DTO 字段(
@ApiProperty的description已说明含义时,可省略重复的字段注释)
配置与 SQL 文件
application.yaml:非显而易见的配置项添加行内中文注释- SQL 脚本:表和字段必须有
COMMENT说明(参照 04-table-common-fields 规范)
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.
- 3mo ago First seen · 100 lines · 620 tokens per session scan A 71caed869c8c
05-chinese-comments is a cursor rule published in the GitHub repository movebrickschi/harness-engineering-mcp (2 stars, last pushed 6mo ago), licensed MIT. It adds 620 tokens to every session, about $0.0025 per session on Opus 5.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.
05-chinese-comments compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 05-chinese-commentsmovebrickschi/harness-engineering-mcp | Cursor rule | 2 | 6mo ago | MIT | A | 620 | Cursor |
| internationalizationdtyq/magic | Cursor rule | 5.1k | 1mo ago | none | A | 3,524 | Cursor |
| cmd-moodle-mustache-lintSaadRahman01/claude-moodle-dev | Cursor rule | 45 | 5mo ago | MIT | A | 32 | Cursor |
| chinese-languagedoccker/cc-use-exp | Cursor rule | 1.1k | 3mo ago | none | A | 385 | Cursor |
| rtl-right-to-left-i18n-cursorrules-prompt-fileXD3an/awesome-ai-coding-all-in-one | Cursor rule | 14 | today | none | A | 608 | Cursor |
| uninettuno-monografiariccardodicurti/template-latex-tesi-uninettuno | Cursor rule | 7 | 6mo ago | MIT | A | 645 | Cursor |
| reportMineru98/mysql-mcp-server | Cursor rule | 27 | 1y ago | MIT | A | 8 | Cursor |