Skip to main content
在 Manus 中运行任何 Skill
一键导入

contract-branch

星标5
分支0
更新时间2026年6月19日 16:20

Evidence-backed, deterministic breaking-change review of a git branch's changes in whatever repository the skill is invoked from. Whether a change "breaks callers" is a judgement; this skill makes the EVIDENCE deterministic: a bundled Rust tool (ctk), built on tree-sitter, extracts the public contract surface (every public function, method, type, field, variant, constant, and alias, with normalized, formatter-proof signatures and visibility) across Rust, TypeScript/JavaScript, Python, and Go at the base and at the branch head, diffs them, and emits reason-coded candidates — REMOVED, REMOVED_DEPRECATED, SIGNATURE_CHANGED, VISIBILITY_REDUCED, ADDED — each with a semver impact and the before/after signature as proof, plus an optional CI gate. Every finding cites a signature change at file:line. No measurement, no finding. Use whenever the user asks whether a branch/PR breaks the public API or ABI, is backward-compatible, needs a major/minor semver bump, changed an exported contract, removed or renamed public fun

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
56 个文件
SKILL.md
readonly