一键导入
releasing-versions
Manages release preparation including validation, version bumping, documentation verification, and security checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manages release preparation including validation, version bumping, documentation verification, and security checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manages task lifecycle transitions including starting, completing, and blocking tasks with enforcement gates and Trello synchronization.
Manages feature planning workflow with provider-agnostic PM operations. Detects active provider and adapts commands accordingly.
Manages feature planning workflow including budget validation, task creation, and Trello synchronization.
Orchestrates the full branch-to-merge pipeline. Runs code review, surgical fixes, architecture simplification, test verification, security audit, PR submission, CI monitoring, and automated failure remediation in a single invocation. Integrates reviewing-code, implementing-with-tdd, architecting-modules, and finishing-branches skills into a nine-phase pipeline with a circuit-breaker-guarded CI remediation loop. Produces a green, merge-ready PR or a structured failure report.
Analyzes bpsai-pair review branch output by cross-referencing findings against actual code and task state. Classifies each finding as real blocker, bookkeeping-only, already resolved, or defer-to-next-sprint. Outputs a filtered report that becomes input to /draft-backlog, breaking the review-loop pattern.
Transforms a rough idea into a sprint-level structured brief for /draft-backlog. Operates only at sprint scope — cross-task dependencies, file collisions, Cx budget, priority ordering, and AC templates — never per-task implementation detail, which is /pc-plan's responsibility during engage. Uses bpsai-pair validate, budget, arch, and query tools at wider scope than /pc-plan uses them.
| name | releasing-versions |
| description | Manages release preparation including validation, version bumping, documentation verification, and security checks. |
| skills | ["releasing-versions"] |
| agent-roles | ["any"] |
| Phase | Purpose | Blocking? |
|---|---|---|
| 1. Pre-Release Validation | Tests, security | Yes |
| 2. Version Bump | Update version strings | Yes |
| 3. Documentation | Verify/update docs | Warning |
| 4. Build Verification | Package builds | Yes |
| 5. Release Checklist | Final verification | Yes |
| 6. Git Operations | Commit and tag | Yes |
# Check for incomplete tasks
bpsai-pair task list --status in_progress
bpsai-pair task list --status blocked
# Check current state
bpsai-pair status
BLOCKER: All tasks must be complete or moved to next sprint.
# All tests must pass
pytest tests/ -v --tb=short
# Check coverage meets target (80%)
pytest tests/ --cov --cov-report=term-missing --cov-fail-under=80
BLOCKER: Release cannot proceed if tests fail.
# Scan for accidentally committed secrets
bpsai-pair security scan-secrets
# Scan dependencies for known vulnerabilities
bpsai-pair security scan-deps
BLOCKER: Secrets detected = cannot release. WARNING: Dependency vulnerabilities should be reviewed but may not block.
grep -E "^version" pyproject.toml
| File | Format |
|---|---|
pyproject.toml | version = "X.Y.Z" |
pyproject.toml description | Update CLI command count if changed |
capabilities.yaml | version: "X.Y.Z" |
config.yaml | version: "X.Y.Z" |
Note: __init__.py uses importlib.metadata.version() — no manual update needed.
Note: Version in files has NO 'v' prefix. Git tags use 'v' prefix.
# Check CHANGELOG has entry for this version
grep -A 20 "## \[X.Y.Z\]" CHANGELOG.md
# Check README mentions current features
head -100 README.md
# Check modification dates
git log -1 --format="%ci" -- README.md
git log -1 --format="%ci" -- CHANGELOG.md
WARNING if any required doc older than 7 days - may need update.
If missing, create entry following Keep a Changelog format:
## [X.Y.Z] - YYYY-MM-DD
### Added
- Feature 1
- Feature 2
### Changed
- Change 1
### Fixed
- Fix 1
### Removed
- (if applicable)
Generate content from archived tasks:
bpsai-pair task changelog-preview --since <last-version>
# Clean old builds
rm -rf dist/ build/ *.egg-info
# Build the package
pip install build && python -m build
# Verify clean install
pip install dist/*.whl --force-reinstall
# Verify version is correct
bpsai-pair --version
# Stage all changes
git add -A
# Commit with release message
git commit -m "Release vX.Y.Z"
# Create annotated tag
git tag -a "vX.Y.Z" -m "Release vX.Y.Z"
# Show what will be pushed
git log --oneline -5
git tag -l | tail -5
DO NOT push yet - let user review and confirm.
Release Prepared: vX.Y.Z
Pre-Release Checks:
- Tests: XXX passed
- Coverage: XX%
- Security: Clean
Documentation:
- CHANGELOG: Updated
- README: Current
Build:
- Package built successfully
- Installs cleanly
- Version verified
Ready to Release:
git push origin main
git push origin vX.Y.Z
twine upload dist/*
Release configuration in config.yaml:
release:
version_source: pyproject.toml
documentation:
- CHANGELOG.md
- README.md
freshness_days: 7
| Location | Format | Example |
|---|---|---|
| pyproject.toml | X.Y.Z | 2.12.0 |
| capabilities.yaml | X.Y.Z | 2.12.0 |
| config.yaml | X.Y.Z | 2.12.0 |
| Git tags | vX.Y.Z | v2.12.0 |
| CHANGELOG | [X.Y.Z] | [2.12.0] |
Note: __init__.py uses dynamic importlib.metadata.version() — no update needed.