ワンクリックで
release-prep
// Check version consistency, git tag status, and test results before cutting a release. Use when asked to prepare, validate, or check readiness for a release.
// Check version consistency, git tag status, and test results before cutting a release. Use when asked to prepare, validate, or check readiness for a release.
Run the project's tox linting and test suite and present a concise pass/fail summary. Use when asked to lint, test, check, or validate the project.
Scaffold a new vulnerability scanner implementation with tests following the project's existing pattern. Use when adding support for a new scanner tool.
| name | release-prep |
| description | Check version consistency, git tag status, and test results before cutting a release. Use when asked to prepare, validate, or check readiness for a release. |
| allowed-tools | Bash |
Run pre-release checks and present a summary checklist.
Read versions from all 3 pyproject.toml files:
pyproject.toml (root)diffused/pyproject.tomldiffusedcli/pyproject.toml
Extract the version field from each.Check version consistency. All 3 must match. Report any mismatches.
Check git tag. Run git tag --list "v{version}" to see if the tag already exists. If it does, warn that this version was already released.
Check working tree. Run git status --porcelain. Warn if there are uncommitted changes.
Run tox. Execute the full tox suite. Summarize each environment as pass or fail. For failures, include the key error lines — not the full log.
Present a summary checklist:
v{version} available: yes/no