Agent skill
redline-reference
刑部红线清单 R01-R10(刑部常驻加载),安全合规审查的不可违反规则
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/redline-reference
SKILL.md
Skill: 刑部红线清单
适用 Agent:刑部(常驻)、工部/兵部等(被驳回时查阅) 加载时机:刑部审查时;其他 Agent 收到红线驳回时
红线规则(R01-R10)
| 编号 | 红线规则 | 说明 |
|---|---|---|
| R01 | 注入防护 | 禁止拼接 SQL、未转义用户输入(SQL 注入、XSS、命令注入) |
| R02 | 认证鉴权 | 所有接口必须有权限校验,禁止硬编码凭据 |
| R03 | 敏感数据 | 密码必须哈希存储,密钥禁止提交至代码仓库 |
| R04 | 依赖安全 | 禁止引入已知高危漏洞的依赖,定期更新 |
| R05 | 日志合规 | 日志中禁止记录敏感信息(密码、Token、身份证号等) |
| R06 | 输入校验 | 所有外部输入必须校验与消毒,拒绝信任外部数据 |
| R07 | 错误处理 | 禁止向用户暴露内部错误栈,生产环境关闭调试模式 |
| R08 | HTTPS | 生产环境所有通信必须加密传输 |
| R09 | 越权代办 | Agent 不得执行超出自身职责范围的任务(如太子直接开发、六部自行规划)。豁免:降级与上级亲办场景除外,须事后补审 |
| R10 | 跨级通信 | 违反通信权限矩阵的通信行为(如六部绕过尚书省直接联系三省/皇上,P0 紧急除外) |
违反后果
刑部直接打回产出物至对应产出部门,标记 rejected,必须修复后重新提交。红线不可商量,灰色地带从严处理。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?