一键导入
test-discipline
Update tests when changing APIs — no exceptions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update tests when changing APIs — no exceptions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
Shared hard rules enforced across all squad agents
How to write comprehensive architectural proposals that drive alignment before code is written
Defensive CI/CD patterns: semver validation, token checks, retry logic, draft detection — earned from v0.8.22
Platform detection and adaptive spawning for CLI vs VS Code vs other surfaces
Coordinating work across multiple Squad instances
| name | test-discipline |
| description | Update tests when changing APIs — no exceptions |
| domain | quality |
| confidence | high |
| source | earned (Fenster/Hockney incident, test assertion sync violations) |
When APIs or public interfaces change, tests must be updated in the same commit. When test assertions reference file counts or expected arrays, they must be kept in sync with disk reality. Stale tests block CI for other contributors.
EXPECTED_FEATURES, EXPECTED_SCENARIOS), they must match the actual files on disk✓ Correct:
distributed-mesh.md to features/ → added 'distributed-mesh' to EXPECTED_FEATURES array✗ Incorrect:
built-in-roles.md → left EXPECTED_FEATURES at old count (PR blocked)