一键导入
release
Bump version, tag, push, create GitHub Release, and verify PyPI publish.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bump version, tag, push, create GitHub Release, and verify PyPI publish.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Implement features in the Edictum OSS core (src/edictum/). Use when the task touches pipeline, adapters, YAML engine, CLI, audit, envelope, or session. Core NEVER imports from ee/.
Fix a single audit issue in a git worktree. Creates a feature branch, follows fix-bug procedure, and creates a PR. Designed for parallel execution by spawned agents.
Transform a feature spec into audited, implementation-ready prompts. Use when starting a new feature, designing a new adapter, or turning a design doc into sequenced build steps. Covers spec audit against project rules, gap identification, decision collection, and prompt generation.
Sync documentation with code changes. Use on every PR that touches library code to keep docs accurate and consistent.
Manage files in the workspace directory
Make API requests and parse JSON responses
| name | release |
| description | Bump version, tag, push, create GitHub Release, and verify PyPI publish. |
| user-invocable | true |
| allowed-tools | Read, Edit, Bash, Grep, Glob, AskUserQuestion |
Automates the full release process for edictum (Python).
version (optional): The semver version to release, e.g. /release 0.1.0Run all checks in sequence. Abort immediately on any failure.
Tests:
Bash: pytest tests/ -v
Abort if tests fail.
Lint:
Bash: ruff check src/ tests/
Abort if lint fails.
Build (dry run):
Bash: python -m build --sdist --wheel
Abort if build fails.
Clean working tree:
Bash: git status --porcelain
Abort if output is non-empty (dirty tree).
Read current version:
Read: pyproject.toml
Extract the version field from [project] section.
/release 0.1.0), use it.AskUserQuestion: "What version should this release be? Current version is {current_version}."
Edit pyproject.toml:
Edit: pyproject.toml
old_string: version = "{current_version}"
new_string: version = "{new_version}"
Audit all version references in the repo:
Grep: pattern="{current_version}" (search tracked files only, exclude CHANGELOG.md)
For each match, determine if it is a "current version" reference or a historical reference:
Current version: **v0.5.3**, version 0.5.3, (v0.5.3) in docs/README/CLAUDE.md that describe the current state of the library. Update these to {new_version}.Regression tests for ... (v0.5.2)), git commit messages. Leave these unchanged.Use Edit to update each current-version reference. Common locations to check:
README.md — install/version badges, "Current version" lineCLAUDE.md — "Current version" line in header (but NOT the "What's Shipped" history)docs/index.md — homepage version mentiondocs/roadmap.md — version references in prose.md or .py file that mentions the old version as currentIf unsure whether a reference is current or historical, leave it unchanged and flag it to the user.
Commit the change:
Bash: git add -A && git commit -m "chore: bump version to {version}"
Co-Authored-By in the commit message.Bash: git tag v{version}
Bash: git push origin main && git push origin v{version}
Bash: gh release create v{version} --generate-notes
This auto-generates release notes from commits since the previous tag.
Find the publish workflow run:
Bash: gh run list --workflow=publish.yml --limit=1 --json databaseId,status --jq '.[0]'
Watch it:
Bash: gh run watch {run_id}
Report result:
Bash: gh run view {run_id} --log-failed
And report the failure to the user.After successful publish:
pip index versions edictumpip install edictum=={version}publish.yml) is triggered by the GitHub Release published event.rm -rf dist/ *.egg-info