Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

resonance-ops-ship

БесплатноБез исполняемых скриптовНе проверен

The Logistics Officer. Safely transports code to the user using the ShipIt protocol. Use when preparing a release, tagging a version, generating a changelog…

manuscoот manusco★ 40 звёзд на GitHub

Об этом скилле

/resonance-ops-ship: safe transport of code to user

Role: the Logistics Officer. Invoked as: /ship (to deploy the project). Input: Merged main branch. Output: Deployed artifact + Tagged Release. Definition of Done: Artifact is verified before tagging. Semantic versioning is correctly applied. Changelog is updated. Commits are logical (not one massive WIP). Release is tagged and pushed. Docs are in sync (doc_drift.py clean: version, command map, and counts agree). Production is verified healthy after deploy (a post-deploy smoke test passes and the error rate is normal), and a rollback path was known before the deploy started.

Shipping is irreversible. You must verify the artifact before you tag it. You are the last line of defense.

Prerequisites (fail fast)

  • Branch is main.
  • Local tree is clean.
  • CI is Green.

Algorithm (Execution)

Copy this checklist and tick items as you go.

  1. Pre-Flight Check: Detect the project's toolchain first (see Toolchain Detection); do not assume npm.
    • Safety: Run the project's test command.
    • Build: Run the project's build command.
    • Perf: Check bundle sizes (ensure no massive chunks).
    • SEO: Delegate to resonance-marketing-seo to verify Meta Tags, Sitemap, and Robots.txt.
  2. Blueprint Release Gate: When .resonance/04_systems.md contains an approved blueprint, screen the release diff for governed architecture changes. Run /blueprint check for every material hit and require all affected SYS-* rules to conform or have an approved exception before tagging. Record a one-sentence justified skip for local releases. Do not invent a baseline. → verify: conformance evidence, approved exceptions, or the skip reason is in the release evidence.
  3. Necessity Release Gate: Review the release diff with the Necessity Protocol after correctness gates and before versioning. Look for avoidable dependencies, duplicate helpers, speculative abstractions, pass-through wrappers, and custom code that the runtime or platform already owns. If a material cut exists, stop and route it through /refactor; do not rewrite code during shipping. Then restart pre-flight checks. Never gate on line count or cut protected behavior. → verify: lean, or refactor completed and all gates rerun.
  4. Versioning: Determine Semantic Version (Major = Breaking, Minor = Feat, Patch = Fix). Update package.json.
  5. Changelog & Docs Sync: Use git log --oneline [last_tag]..HEAD and update CHANGELOG.md with human-readable notes. Then run py .forge/doc_drift.py to confirm the version, command map, and skill and command counts match across README.md, AGENTS.md, and the manifests. Fix any drift before committing.
  6. Logical Commits & Push: Instead of one massive "WIP" commit, bisect the code into logical commits (chore: setup, feat: models, feat: UI, docs: version bump).
  7. Tag & Release: git tag vX.Y.Z, then git push origin main --tags. Confirm the rollback path first (a previous release, a feature flag, or a canary you can abort) so you can undo before you deploy.
  8. Deploy, canary first where supported: Roll out to a small slice before everyone. Watch the health window before promoting to full traffic. If there is no canary path, deploy and go straight to verification with a tighter watch.
  9. Verify the deploy (do not skip): After deploy, prove production is healthy. Run a post-deploy smoke test against prod: the health endpoint, one critical user path, the error rate, and the key metrics versus baseline. The deploy is done when production is confirmed healthy, not because the pipeline went green.
  10. Rollback on failure: If verification fails, execute the rollback plan immediately (abort the canary or roll back to the previous release). Restore production first, then investigate. See Canary and Rollback.

Recovery

  • Build fail → abort immediately. Do not tag.
  • Deploy or post-deploy verification fails → execute the rollback plan (abort the canary or roll back to the previous release) and restore production before anything else. Revert the tag (git tag -d vX.Y.Z) only after prod is healthy again.
  • No rollback path exists → do not deploy. Establish one first: a previous release to fall back to, a feature flag, or a canary you can abort.

Out of Scope

  • Writing new features (delegate to /build).
  • Root cause analysis of a failed build (delegate to /debug).

Cognitive Frameworks

The Checkpoint

Shipping is irreversible. The artifact must be verified before it receives a version tag.

Logical Commits

Do not dump 50 files into a single commit. Organize them chronologically by layer: infrastructure first, then backend models, then UI, then documentation.

Necessity Release Gate

Shipping is the last safe point to reject new ownership surface, not the place to perform an unplanned rewrite. A material simplification sends the change back through

Полный SKILL.md на GitHub

Установить resonance-ops-ship в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/01_case.jsonevals/02_case.jsonevals/03_case.jsonevals/04_verify_deploy.jsonevals/05_planted_defect.jsonevals/06_necessity_release_gate.jsonreferences/canary_and_rollback.md

FAQ

Что делает скилл resonance-ops-ship?

The Logistics Officer. Safely transports code to the user using the ShipIt protocol. Use when preparing a release, tagging a version, generating a changelog, or deploying to production.

Как установить скилл resonance-ops-ship?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл resonance-ops-ship запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить resonance-ops-ship с