Skip to main content
Run any Skill in Manus
with one click

test-lock-rules

Stars7
Forks0
UpdatedMay 27, 2026 at 00:22

§20.3 Test-Lock 规则(铁律 #14)。当 Claude 编辑测试文件 (tests/、__tests__/、 *.test.{ts,tsx,js,jsx,py}、*.spec.*、*_test.{py,go}) 时自动加载。强制: AI 只能改实现不能改断言;改测试需符合合法场景之一并显式标注 commit message。 配套 .claude/hooks/test-lock-guard.sh 注入 PreToolUse 提醒。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly