skills/release/SKILL.md
Usage `rdc:release <repo> [version|--patch|--minor|--major|--dry-run]` — bump, commit, tag, push, wait for CI/publish, install, and verify a package or project using repo-local release metadata.
npx skillsauth add LIFEAI/rdc-skills rdc:releaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
⚠️ OUTPUT CONTRACT (READ FIRST):
guides/output-contract.mdChecklist-only output. No tool-call narration. No raw git/npm/CI dumps. One checklist upfront, updated in place, shown again at end with 1-line verdict.
Sandbox contract: This skill honors
RDC_TEST=1perguides/agent-bootstrap.md§ RDC_TEST Sandbox Contract. Destructive external calls short-circuit under the flag.
package.json, .rdc/release.json, README release instructions, or CI config.Never release without explicit user authorization.
rdc:release <repo> — patch release by default.rdc:release <repo> <version> — explicit version.rdc:release <repo> --patch|--minor|--majorrdc:release <repo> --dry-runIf <repo> is not resolvable from the current workspace, ask for its local path or GitHub slug.
rdc:release: <repo> vX.Y.Z -> vA.B.C
[ ] PUBLISH.md status gate: status=active AND prod in environments (block if not)
[ ] Source path resolved
[ ] Release metadata read
[ ] Working tree clean or user-approved dirty scope identified
[ ] Current version detected
[ ] New version computed
[ ] Dry-run gate handled
[ ] Version files updated
[ ] Tests/self-test passed
[ ] Mandatory release code-review (pr-review-toolkit:code-reviewer on `git diff <last-released-tag>..HEAD`). Block release on `critical`/`high` findings; record `medium`/`low` in the release notes and proceed.
[ ] Commit created
[ ] Tag created
[ ] Branch and tag pushed
[ ] CI/publish status verified
[ ] Registry/package/deploy target shows vA.B.C, if applicable
[ ] Local install/update executed, if applicable
[ ] Installed/runtime version verified
[ ] Smoke test passed
✅ rdc:release <repo>: vA.B.C live and verified
Before touching any production system, read PUBLISH.md from the app root and validate promotion eligibility.
PUBLISH_MD="<monorepo_path>/PUBLISH.md"
Block promotion if ANY of the following are true:
app_deployments — emit warn and continue (during rollout period); becomes a hard block after Option A rollout is complete.status field is NOT active — hard block regardless of rollout status.
status: draft → BLOCKED: PUBLISH.md status=draft for <slug> — promote requires status=activestatus: deprecated → BLOCKED: PUBLISH.md status=deprecated for <slug> — promote requires status=activeenvironments array does not include prod → BLOCKED: PUBLISH.md environments=[dev] for <slug> — prod must be declared before promotionsource_dir or path absent on any surface) → BLOCKED: PUBLISH.md surface <id> missing required field for <slug>If blocked, abort immediately with the message above. Do NOT proceed to the version bump, commit, or any Coolify call.
If PUBLISH.md is absent and app has no app_deployments row (library/package), skip this gate.
<repo> is . or omitted and the user clearly refers to the current workspace.<repo>.<owner>/<repo>..rdc/release.json if present.Use repo-local package tooling when available. Examples:
npm version patch --no-git-tag-version
npm test
git add package.json package-lock.json
git commit -m "chore(release): vA.B.C"
git tag vA.B.C
git push origin HEAD
git push origin vA.B.C
npm view <package-name> version
Never use --force or bypass hooks. If a hook fails, fix the cause.
For this package, prefer the npm installer binary after publish:
npm install -g @lifeaitools/rdc-skills@latest
rdc-skills-install --profile core
Use --profile lifeai only on a workstation that intentionally has the LIFEAI project layout and services.
Before the final verdict line, follow .rdc/guides/lessons-learned-spec.md § Capture procedure. If this run taught something non-obvious — a first root-cause theory that turned out wrong, the documented/standard path not working, a missing gate or check that cost a round, or a surprising tool/infra behavior — write one .rdc/lessons/<YYYY-MM-DD>-release-<short-slug>.md per lesson using the schema in that spec. Set scope (simple | architectural) and status (open, or applied if you shipped the fix in this same run, with the commit linked). Commit the lesson file(s) on develop alongside the run's other commits, and note "N lessons captured" in your verdict/summary. A run that taught nothing writes nothing — absence is the default.
development
Read recent enhancement-log entries, cluster failures by pattern, generate candidate verifier rules, test them against the known-good corpus and the failure corpus, and propose pull requests adding the highest-confidence rules to forbidden-patterns.json. Use this skill on a nightly cadence (3 AM PT), or manually when the user says "extract verifier rules", "promote enhancement log", "what new rules should we add", or after a significant brochure run produced many failures.
testing
Orchestrate a Brochurify job from source ingest through delivered PDF, using six parallel-dispatched typed sub-agents and the convergence loop. Use this skill EVERY TIME the user invokes Brochurify directly via "brochurify this", "make a brochure from", "convert this to a brochure PDF", or "rdc:brochurify". Also runs automatically when a job arrives from the broker via monkey_dispatch. The skill enforces D-001 through D-016 from the brochurify DECISIONS-LOG.
devops
The mandatory contract for authoring brochure JSX using @lifeai/brochure-kit. Use this skill EVERY TIME any AI engine (Claude, Cursor, Copilot, /design, Cowork, v0) generates JSX intended for the Brochurify pipeline — whether the user says "write a brochure," "make a one-pager," "draft a PDF report," or any equivalent. Also trigger when a file imports from @lifeai/brochure-kit. Failing to read this skill before authoring is a defect.
testing
Usage `rdc:housekeeping [--fix]` — Weekly maintenance audit: directory structure verification, PUBLISH.md URL validation, CLAUDE.md freshness, orphan detection, places compliance, and stale version scan. Produces `.rdc/reports/YYYY-MM-DD-housekeeping.md`. With `--fix`, auto-remediate safe issues.