repo-ops
Drive a repository's release procedure, CI runs, dependabot PRs, and git through typed repo-ops commands instead of raw shell. Use when releasing with Bumpy, watching or rerunning CI, merging dependency PRs, verifying a published package, or running git status/log/diff/add/commit/push/pull in a repository that mounts repo-ops (repokit and siblings).
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- repo-ops
- description
- Drive a repository's release procedure, CI runs, dependabot PRs, and git through typed repo-ops commands instead of raw shell. Use when releasing with Bumpy, watching or rerunning CI, merging dependency PRs, verifying a published package, or running git status/log/diff/add/commit/push/pull in a repository that mounts repo-ops (repokit and siblings).
03 SKILL.md 正文
repo-ops
The closed-distribution repository operations as mountable cmd-mesh programs: one declaration each for the Bumpy release procedure, CI runs, dependabot PRs, and the git binary.
Mount and call
import { repositoryOperations } from "repo-ops"
const { release, ci, deps, git } = repositoryOperations({ package: "cmd-mesh" })
const status = await git.status({ short: true }) // typed external call
await ci.list({}) // recent workflow runs
Mounted into a program, the same declarations become CLI subcommands and MCP tools:
const kit = program({ name: "kit", commands: { release, ci, deps, git } })
// kit release status · kit ci list · kit deps merge 42 · kit git status -s
The release procedure
kit release check # every changed package has a bump (read)
kit release status # pending bumps and planned versions (read)
kit release push # push the daily branch (action)
kit release pr # show the open version PR (read)
kit release merge # queue the version PR squash merge (action)
kit release registry-version # published version on npm (read)
kit release preflight --probe scripts/verify-published.mjs
# pack + prove the tarball installs and runs (read)
kit release verify --probe scripts/verify-published.mjs
# prove the PUBLISHED version installs, runs,
# carries npm provenance, has a GitHub Release (read)
kit release promote pr|create|merge # the main → release promotion PR
release add is interactive and cli-only. release status treats
bumpy's exit 1 (nothing pending) as a report, not a failure.
Safety is declared on every operation
safety: "read" // list, status, logs, pr, registry-version, preflight, verify,
// git status/log/diff — agents and verification call freely
safety: "action" // merge, push, rerun, cancel, dispatch, sync,
// git add/commit/push/pull — call deliberately
Verification probes call only read operations. The MCP projection
carries both hints explicitly on every tool.
Streams are cli-only
ci watch, ci logs, and release add stream to the terminal
(stdio: inherit) and are mcp: { hidden: true } — streaming would
corrupt the MCP transport. Agents use ci list and the read
operations instead.
Every process run resolves workspace binaries
Handlers run through ctx.exec with preferLocal: true and the
workspace root as cwd, so bumpy, gh, and package binaries resolve
from node_modules/.bin regardless of how the process started.
04 同仓库更多 Skills
cmd-mesh
Build, extend, test, or review TypeScript command programs with cmd-mesh. Use when the user says to use cmd-mesh, needs a typed CLI, wraps a binary, exposes typed functions as commands, or replaces custom argument parsing. Create a CLI by default. Use the MCP projection only when the user explicitly asks for MCP, agent tools, or MCP client registration.
release-package
Record and release package changes through the repository's local Bumpy workflow.
verify-repokit
Drive the real repokit bin (CLI and MCP) to prove repository-surface behavior with captured evidence. Use before claiming any repokit or repo-ops change works, and whenever a verification of the operational surface is needed.