.claude/skills/release/SKILL.md
Release a new lockstep version of tx to GitHub and npm with preflight validation, workflow monitoring, and registry verification.
npx skillsauth add jamesaphoenix/tx 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.
Use this skill when cutting a real workspace release.
The version argument is required, for example:
/release 0.9.3
publish.yml and verify npm.Lockstep bump these workspace versions:
package.jsonpackages/types/package.jsonpackages/core/package.jsonpackages/test-utils/package.jsonpackages/tx/package.jsonapps/cli/package.jsonapps/agent-sdk/package.jsonapps/api-server/package.jsonapps/mcp-server/package.jsonapps/dashboard/package.jsonapps/docs/package.jsonPublished packages:
@jamesaphoenix/tx-types@jamesaphoenix/tx-core@jamesaphoenix/tx-test-utils@jamesaphoenix/tx@jamesaphoenix/tx-agent-sdk@jamesaphoenix/tx-api-server@jamesaphoenix/tx-mcp-server@jamesaphoenix/tx-cliRun the enforced local preflight first:
node scripts/release-preflight.mjs "$ARGUMENTS"
Then run the release gates:
bun run sync-readme
bun run test:packages
bunx eslint apps/ packages/ --max-warnings 0
bun run typecheck
Also confirm the target version is not already live:
npm view @jamesaphoenix/tx version
Update all 11 workspace package.json files to the target version.
Do not leave private apps behind on old versions. Keep the repo in lockstep.
Use a conventional commit:
git add package.json packages/*/package.json apps/*/package.json
git commit -m "chore(release): $ARGUMENTS"
git push origin main
git tag v$ARGUMENTS
git push origin v$ARGUMENTS
gh release create v$ARGUMENTS --title "v$ARGUMENTS" --generate-notes
If this is a recovery release, replace generated notes with a short explicit summary of the recovery reason.
Poll the publish workflow until it reaches a terminal state:
gh run list --workflow publish.yml --limit 5
gh run watch <run-id> --exit-status
If it fails:
gh run view <run-id> --json jobs
gh run view <run-id> --job <job-id> --log
Fix forward with a fresh patch version. Do not mutate a failed public version.
Confirm all published packages reached the target version:
npm view @jamesaphoenix/tx version
npm view @jamesaphoenix/tx-types version
npm view @jamesaphoenix/tx-core version
npm view @jamesaphoenix/tx-test-utils version
npm view @jamesaphoenix/tx-agent-sdk version
npm view @jamesaphoenix/tx-api-server version
npm view @jamesaphoenix/tx-mcp-server version
npm view @jamesaphoenix/tx-cli version
.tx/ runtime statedevelopment
Implement and verify design doc invariants by annotating tests and source code with [INV-*] / @spec tags, then driving tx spec coverage from BUILD toward HARDEN (100% FCI). Works with any design doc that has an invariants block.
data-ai
Link tasks to paired PRD/design specs, export all open work to markdown, and keep Ralph-style loops moving by creating tasks, subtasks, and dependency updates through tx primitives.
development
Refresh bundled tx Claude Code and Codex skills in a project from the canonical tx source without manual copy and paste.
development
Run Ralph against either the full repo queue or tasks linked to one design doc, with injected task/spec/queue context for Codex or Claude runtimes.