breaking-change-audit
БесплатноБез исполняемых скриптовНе проверенAudit shipctl's public interface before a release — compare flags, exit codes, and output formats against the previous tag to catch accidental breaking…
от zakelfassi★ 18 звёзд на GitHubОб этом скилле
Breaking-Change Audit
Compare the current public interface against the previous release tag to surface accidental breaking changes before publishing.
Inputs
- Previous tag (defaults to the most recent git tag:
git describe --tags --abbrev=0) - Current version (defaults to HEAD)
- Scope:
flags|exit-codes|output-format|all(default)
Steps
Build both versions
# Build HEAD cargo build --release cp target/release/shipctl /tmp/shipctl-next # Build the previous tag git stash git checkout {prev-tag} cargo build --release cp target/release/shipctl /tmp/shipctl-prev git checkout - git stash popDiff public flags Capture help output for every command and subcommand:
/tmp/shipctl-prev --help > /tmp/flags-prev.txt /tmp/shipctl-prev release --help >> /tmp/flags-prev.txt # ... repeat for all subcommands /tmp/shipctl-next --help > /tmp/flags-next.txt /tmp/shipctl-next release --help >> /tmp/flags-next.txt diff /tmp/flags-prev.txt /tmp/flags-next.txtLines prefixed with
-in the diff represent removed flags or changed defaults.Check exit codes Run a battery of known invocations and compare exit codes:
# Example: unknown flag should exit 2 /tmp/shipctl-prev --unknown-flag 2>&1; echo "prev exit: $?" /tmp/shipctl-next --unknown-flag 2>&1; echo "next exit: $?"Document any changes; a changed exit code for a common error case is a breaking change.
Check output format (JSON / machine-readable outputs)
/tmp/shipctl-prev release --dry-run --json > /tmp/out-prev.json /tmp/shipctl-next release --dry-run --json > /tmp/out-next.json diff /tmp/out-prev.json /tmp/out-next.jsonRemoved JSON keys, renamed fields, or type changes are breaking.
Classify findings
Type Breaking? Action New flag added No Note in changelog under Added Flag removed Yes Requires BREAKING CHANGE:in commitFlag renamed Yes Requires BREAKING CHANGE:; add alias for one release cycleDefault changed Yes Requires BREAKING CHANGE:Exit code changed Yes Requires BREAKING CHANGE:New JSON key added No Note under Added JSON key removed/renamed Yes Requires BREAKING CHANGE:Decide
- If no breaking changes: proceed with the release.
- If breaking changes are intentional: bump the major version; add
BREAKING CHANGE:to the commit footer; document a migration path in the changelog. - If breaking changes are accidental: revert or fix before cutting the release.
Conventions
- This audit runs before every
release-cutinvocation (step 3 in that skill) - Breaking changes require a major version bump per semver
- A one-release deprecation alias is preferred over immediate removal
- All findings are appended to
AUDIT.mdfor record-keeping
Edge Cases
- Previous tag doesn't build: Note the failure, skip that check, document in the audit log that the previous baseline was unavailable.
- Subcommand added: New subcommands are non-breaking; still document under Added.
- Output format is not machine-readable: Treat human-readable output changes as non-breaking unless documented otherwise.
- Environment-dependent output: Use
--dry-runor a controlled fixture to get deterministic output for diff.
Установить breaking-change-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл breaking-change-audit?
Audit shipctl's public interface before a release — compare flags, exit codes, and output formats against the previous tag to catch accidental breaking changes. Use when preparing a release, when asked to "check for breaking changes", or as a gate before tagging a new version.
Как установить скилл breaking-change-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл breaking-change-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic