source-command-prepare-release
Prepare a new release by updating versions, changelog, and building distributions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare a new release by updating versions, changelog, and building distributions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Get Neo's architectural guidance for design decisions. Trade-off analysis for choices like microservices vs monolith, sync vs async, event-driven vs request-response — with persistent memory of how similar decisions played out.
Ask Neo to help debug intermittent, complex, or hard-to-reproduce issues. Particularly useful for race conditions, memory issues, distributed-systems bugs, and cases where the symptom is not the root cause.
Ask Neo for optimization suggestions on a function, file, or hot path. Targets algorithmic improvements, redundant work, allocation/hot-loop issues — not micro-style.
Ask Neo to extract a reusable pattern from a piece of code, or to find existing patterns in the codebase that match a description. Useful for codifying conventions and finding duplicated logic.
Get Neo's code review with semantic pattern matching. Focuses on security vulnerabilities, edge cases, error handling, and performance issues across the target file or module.
Ask Neo for semantic reasoning and code suggestions over the current codebase. Use for general questions, code suggestions, or architectural guidance backed by Neo's persistent memory.
| name | source-command-prepare-release |
| description | Prepare a new release by updating versions, changelog, and building distributions |
Use this skill when the user asks to run the migrated source command prepare-release.
Updates version numbers, CHANGELOG.md, and builds distributions for a new release.
/prepare-release 0.7.7
pyproject.toml (line 7)src/neo/__init__.py (line 5).claude-plugin/plugin.jsonplugins/neo/.codex-plugin/plugin.jsonimportlib.metadata.version("neo-reasoner") matches the new versionpyproject.tomlX.Y.Zv0.7.6)Run git log v{last_version}..HEAD --oneline and categorize by type:
Add new section at top of CHANGELOG.md:
## [{new_version}] - {today's date}
### Fixed
- List of bug fixes from commits
### Added
- List of new features from commits
### Changed
- List of improvements from commits
### Documentation
- List of doc updates from commits
Update version string in all four files:
pyproject.toml: Change version = "X.Y.Z"src/neo/__init__.py: Change __version__ = "X.Y.Z".claude-plugin/plugin.json: Change "version": "X.Y.Z"plugins/neo/.codex-plugin/plugin.json: Change "version": "X.Y.Z"After version files are updated, refresh the current environment's editable install metadata:
python -m pip install -e . --no-deps
python -c "import importlib.metadata as m; assert m.version('neo-reasoner') == '{new_version}', m.version('neo-reasoner')"
If the command runs in a project virtualenv, use that virtualenv's Python. This
prevents neo --version or local tests from reporting the previous release
after pyproject.toml was bumped.
Run:
python -m build --wheel --outdir dist/
python -m build --sdist --outdir dist/
Verify both files were created in dist/ directory.
Show what was updated and provide next steps:
# Next steps:
git add CHANGELOG.md pyproject.toml src/neo/__init__.py .claude-plugin/plugin.json plugins/neo/.codex-plugin/plugin.json
git commit -m "chore: bump version to {new_version}"
git tag v{new_version}
git push origin main --tags
/ship-release for the full release workflow including PR creation