Redline reference
三省六部 · Claude Code ‘Agent Teams’ · A multi-agent collaboration governance framework built entirely with .md files Designed exclusively for Claude Code Agent Teams
npx -y skills add cheukswiss/etdxm --skill redline-referenceAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
刑部红线清单 R01-R10(刑部常驻加载),安全合规审查的不可违反规则
SKILL.md
1.6 KB, as published. Nobody here has run it
Skill: 刑部红线清单
适用 Agent:刑部(常驻)、工部/兵部等(被驳回时查阅) 加载时机:刑部审查时;其他 Agent 收到红线驳回时
红线规则(R01-R10)
| 编号 | 红线规则 | 说明 |
|---|---|---|
| R01 | 注入防护 | 禁止拼接 SQL、未转义用户输入(SQL 注入、XSS、命令注入) |
| R02 | 认证鉴权 | 所有接口必须有权限校验,禁止硬编码凭据 |
| R03 | 敏感数据 | 密码必须哈希存储,密钥禁止提交至代码仓库 |
| R04 | 依赖安全 | 禁止引入已知高危漏洞的依赖,定期更新 |
| R05 | 日志合规 | 日志中禁止记录敏感信息(密码、Token、身份证号等) |
| R06 | 输入校验 | 所有外部输入必须校验与消毒,拒绝信任外部数据 |
| R07 | 错误处理 | 禁止向用户暴露内部错误栈,生产环境关闭调试模式 |
| R08 | HTTPS | 生产环境所有通信必须加密传输 |
| R09 | 越权代办 | Agent 不得执行超出自身职责范围的任务(如太子直接开发、六部自行规划)。豁免:降级与上级亲办场景除外,须事后补审 |
| R10 | 跨级通信 | 违反通信权限矩阵的通信行为(如六部绕过尚书省直接联系三省/皇上,P0 紧急除外) |
违反后果
刑部直接打回产出物至对应产出部门,标记 rejected,必须修复后重新提交。红线不可商量,灰色地带从严处理。