一键导入
boundary-contract
Use before implementing a structural change in clnkr to prevent file-splitting without real ownership or cohesion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use before implementing a structural change in clnkr to prevent file-splitting without real ownership or cohesion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use after adding or changing clnkr tests to prove the tests fail when the intended behavior is deliberately broken.
Use before adding or reviewing clnkr tests to keep generated tests integration-oriented, behavior-focused, and low-slop.
| name | boundary-contract |
| description | Use before implementing a structural change in clnkr to prevent file-splitting without real ownership or cohesion. |
Use this before adding packages, moving code, extracting files, or accepting an agent-authored design that changes clnkr's architecture.
Write the contract before implementation:
Reject the design if:
Prefer existing clnkr boundaries:
internal/core/: shared core helpers that do not depend on frontend or providersinternal/providers/: provider adapters and provider wire protocolsinternal/providerfactory/: frontend-safe provider construction boundarycmd/internal/clnkrapp/: CLI coordination and session/provider compositioncmd/clnkr/ and cmd/clnkrd/: executable adaptersUse make architecture-shape-report and make semantic-cohesion-report as
manual evidence when a structural claim depends on coupling or cohesion.