← ClaudeAtlas

pactkit-releaselisted

Version release: snapshot, archive, Git tag, and GitHub Release
pactkit/claude-code-plugin · ★ 5 · Testing & QA · score 65
Install: claude install-skill pactkit/claude-code-plugin
# PactKit Release Version release management — update versions, snapshot architecture, create Git tags, and publish GitHub Releases. ## When Invoked - **`/project-release` command**: VERSION is passed explicitly from the command's pre-flight check. - **Standalone / legacy path**: VERSION is not provided — auto-detected from `pyproject.toml`. ## Version Parameter - If `VERSION` is provided (e.g., by `/project-release`): use it directly, skip auto-detection. - If version is not provided: auto-detect by running `git diff HEAD~1 pyproject.toml | grep version` and extracting the new value. ## Protocol ### 1. Version Update - Update the project's package manifest (e.g., `pyproject.toml`, `package.json`, `__init__.py`). - Backfill Specs: run `pactkit backfill-release $VERSION` to replace `Release: TBD` in completed specs. ### 2. Architecture Snapshot - Run `visualize` (all four modes: file, class, call, module). - Run `snapshot "$VERSION"` via pactkit-board skill. - Result: graphs saved to `docs/architecture/snapshots/{version}_*.mmd`. ### 2.5. Pre-Tag Gate (CRITICAL) - Run lint: `pactkit lint` (falls back to `ruff check src/ tests/`). - Run tests: `pactkit regression` (falls back to `pytest tests/ -q`). - If either fails: **STOP. Do NOT tag.** Fix the issue, re-commit, then re-run this gate. - Report: `Pre-tag gate: PASS` or `Pre-tag gate: FAIL (details)`. ### 3. Git Operations - Run `archive` via pactkit-board skill. - Commit: `git commit -am "chore(release): $VERSION"`. -