AGENT SKILL

cl_release

Use when publishing a new canary-lab version to npm — changelog, version bump, smoke test, publish, tag.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 4
Forks
0

01 前言 Front Matter

name
cl_release
description
Use when publishing a new canary-lab version to npm — changelog, version bump, smoke test, publish, tag.
disable-model-invocation
true

03 SKILL.md 正文

<!-- GENERATED FROM .claude/skills — DO NOT EDIT. Run npm run gen:skills after editing the source skill (the build does this too). -->

Releasing canary-lab

User-invoked only (/cl_release). Publishing is outward-facing — confirm the version and changelog with the user before publish:package.

Checklist

  1. Version: set the next version in both package.json and package-lock.json (for example, npm version --no-git-tag-version <next>). The changelog and tag tools read package.json, so this must happen first.
  2. Changelog: npm run changelog:preview (dry run), then npm run changelog. Entries are plain-language and area-tagged using the area tags defined in the docs/CHANGELOG.md header (that header is the source of truth — don't rely on a memorized list). If consumers should refresh their workspace (template/sample changes, MCP re-registration), say so in the release's header line (e.g. "Run npx canary-lab upgrade …" / "run npx canary-lab setup").
  3. Gates: npx vitest run, npx tsc -p tsconfig.build.json --noEmit, then npm run smoke:pack (builds, packs, scaffolds a temp project, verifies the scaffold flow).
  4. Publish: npm run publish:package — refuses a dirty worktree (--allow-dirty is the escape hatch; prefer committing instead).
  5. Tag: npm run tag (tag:force only to move a botched tag).

Common mistakes

Mistake Consequence
Publishing without smoke:pack A broken scaffold/tarball ships; prepack builds but doesn't verify the scaffold flow
Changelog entries in engineer-speak The changelog promises plain language anyone can follow
Forgetting the upgrade/setup note Consumers keep stale samples or unregistered MCP tools and report "bugs"

04 同仓库更多 Skills

ferterahadi
ferterahadi/canary-lab

off-by-one

暂无简介

★ 4
ferterahadi
ferterahadi/canary-lab

multi-failure-cascade

暂无简介

★ 4
ferterahadi
ferterahadi/canary-lab

broken-delete-contract

暂无简介

★ 4
ferterahadi
ferterahadi/canary-lab

canary-lab

Use when the user wants Canary Lab to take a product repo end to end — "test this app", "onboard this repo", "run a flight", "evaluate what I just built" — through the flight pipeline (start_flight / get_flight / respond_flight_checkpoint over MCP). One conducted pipeline continues a configured suite or takes bare repo(s) to a green, covered, healed run and publishes a downloadable Report; Parallel setup continues as Canary-owned background work. Use a focused skill only when the user asks for that single capability without asking for a Flight or /canary-lab.

★ 4
ferterahadi
ferterahadi/canary-lab

canary-lab-verify

Use when verifying a Canary Lab feature against a RUNNING target — a deployed environment ("verify checkout on staging", "run the saved verify config", "check the deployed app") or a locally booted app ("verify a running app") — through the verify MCP tools (list/get/create/update_verification_config, boot_services, execute_verification, get_verification_result). No heal loop. For run + heal use canary-lab-run; for end-to-end onboarding use canary-lab (flight).

★ 4
ferterahadi
ferterahadi/canary-lab

canary-lab-run

Use when running or healing an EXISTING Canary Lab feature locally — "run <feature>", "fix the failing run", "rerun 7cvh", "drive the heal loop" — through the repair MCP tools (start_run, wait_for_heal_task, signal_run, get_heal_context, pause_run, cancel_heal, abort_run). Fix failing runs by editing app/service code, not tests. For end-to-end onboarding of a new repo use canary-lab (flight); for deployed-environment checks use canary-lab-verify.

★ 4