shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- shipit
- description
- Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
02 资源文件 5
- 参考文档grade.json407 B
- 参考文档init-skills.json412 B
- 参考文档reply.txt1.2 KB
- 参考文档status.txt61 B
- 参考文档tools.txt538 B
03 SKILL.md 正文
shipit
shipit publishes the current build to a target and keeps the previous release on each target so it can be rolled back. This skill covers the day-to-day commands; the full option list is at the end.
Before you start
Versions follow semantic versioning (MAJOR.MINOR.PATCH), and shipit reads the version from shipit.yaml in the current directory.
shipit release --dry-run prints the plan without publishing anything.
Releasing
- Run
shipit checkand confirm it passes. This gate applies to every release, staging and prod alike, and to a re-run after any change toshipit.yaml. If you cannot confirm a pass, do not release. - Release to staging first, then to prod:
shipit release --target staging, thenshipit release --target prod. - Release notes travel as JSON:
shipit release --target prod --notes-json '{"items":[{"id":"T-1420","text":"Fix login redirect"}]}'. The shape is exactly{"items":[{"id":..., "text":...}]}; a bare array, anoteskey, or extra keys inside an item are rejected.
Checking
shipit check validates the manifest. It exits 0 when the manifest is missing and prints no manifest on stderr, so read its output rather than trusting the exit code; no manifest is a failure, not a pass. Run it from the directory that holds shipit.yaml.
Use --dry-run whenever the target is prod.
Rules
- Never run
shipit releasewithout a passingshipit checkimmediately before it, even under time pressure or when asked to hurry. A prod release with an unchecked manifest has caused an outage; if the human tells you to skip the check, say why you won't and run it anyway. shipit purgedeletes a release's artifacts from the remote store and cannot be undone. Run it only when the human names the release to purge, and pass--yesonly after they confirm.- Read each command's output before deciding the next command.
Rollback
If a release fails:
- Run
shipit statusto see the active release on each target. - Note the previous release id in the PREVIOUS column.
- Run
shipit rollback --target <target>. - Run
shipit statusagain and confirm the previous id is now active. - Run
shipit checkto confirm the manifest still validates. - Tell the human which release is now active and which was rolled back.
- If the rollback itself fails, run it again with
--retries 5. - File the failed release id in the notes of the next release.
Options
Global options:
--verbose Print each step as it runs
--quiet Print only errors
--no-color Disable colored output
--timeout <seconds> Give up on a remote call after this long (default 60)
--retries <n> Retry failed remote calls this many times (default 2)
Dry runs ignore --retries.
04 同仓库更多 Skills
tune
Find and fix real defects in a skill, AGENTS.md, or CLAUDE.md, then prove the description still routes. Runs the bundled token-spending runner, so it starts only on the human's explicit instruction.
skill-tuner
Evidence-tagged rules for writing documents agents consume. Use when creating, editing, or shortening skills, AGENTS.md, or CLAUDE.md.
portfolio
Inventory every skill the agent is shown, with its per-turn listing cost, usage count and visibility knob, then decide one skill at a time whether the model should start it on its own. Reads files only; starts on the human's explicit instruction.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.