.claude/skills/release-and-publish/SKILL.md
Bump version, tag, push, wait for CI build, and publish the GitHub release in one step
npx skillsauth add jrmatherly/1dev release-and-publishInstall 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.
Full release pipeline: version bump, commit, tag, push, wait for CI, and publish.
/release-and-publish
/release-and-publish minor
Default is patch. Pass minor or major as argument.
Pre-flight checks:
git status --short empty)ts:check, test, build)mainVersion bump:
npm version <patch|minor|major> --no-git-tag-version
Commit + annotated tag + push:
git add package.json bun.lock
git commit -m "chore: bump version to v<VERSION>"
git tag -a v<VERSION> -m "v<VERSION>"
git push origin main v<VERSION>
Verify workflow fired:
git ls-remote --tags origin v<VERSION>
gh run list --workflow=release.yml --limit 1
Wait for build (~17 min):
gh run watch <run-id> --exit-status
Publish the draft release:
gh release edit v<VERSION> --draft=false
Report the release URL.
xattr -rd com.apple.quarantine /Applications/1Code.app.ENTRA_CLIENT_ID and ENTRA_TENANT_ID are not set, enterprise auth will not work in the packaged build.docs/operations/release.md for the full runbook.development
Background knowledge for AI agents before editing any file that handles authentication tokens or spawn environment variables in the 1Code enterprise fork. Triggers when touching src/main/lib/trpc/routers/claude.ts, claude-code.ts, claude/env.ts, feature-flags.ts, or claude-token.ts. Reminds the agent to consult the frozen Envoy Gateway strategy doc (auth-strategy-envoy-gateway.md v2.1) sections that impose hard rules on credential handling.
tools
Background knowledge for safely bumping the pinned versions of Claude CLI binary, Codex CLI binary, Electron, Vite, Tailwind, or Shiki in this repo. Each pin is load-bearing for a different reason — this skill encodes the per-pin rationale and the regression test that must pass before the bump can land. Use proactively whenever editing package.json, scripts/download-claude-binary.mjs, scripts/download-codex-binary.mjs, or any file that mentions these versions. Claude-only (background knowledge, not user-invocable).
development
Use when reading or writing any file under src/renderer/ that calls remoteTrpc.* or fetch(${apiUrl}/...). Verifies the call site is documented in docs/enterprise/upstream-features.md and warns if a new upstream-backend dependency is being introduced without a corresponding F-entry. This skill enforces the enterprise-fork posture documented in CLAUDE.md.
development
End-of-task sync — update CLAUDE.md, rebuild code graph, sync Serena memories, check roadmap drift, and commit. Run after completing any significant work to ensure all drift surfaces are current.