用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill release-prep命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | release-prep |
| description | > Use when this capability is needed. |
Prepare releases from repository evidence, not blind commit-message automation.
Core stance:
Use this skill when user asks to:
release-please, semantic-release, standard-version, or similar automationDo not use for normal commit-message generation. Use repo commit convention or commit skill instead.
Default mode is read-only discovery and drafting.
Allowed without extra approval:
Require explicit approval before:
git taggit push, including --tagsgh release create/edit/deletenpm publish, cargo publish, twine upload, goreleaser release, etc.If approval is needed, state exact command(s), target, and impact first.
If worktree is dirty and release prep needs edits, inspect status and ask before touching overlapping files.
Before release analysis, search for project policy and release config.
Read relevant files if present:
AGENTS.mdCONTRIBUTING.mdREADME.mdCHANGELOG.md or package-specific changelogsdocs/agents/*release*docs/*release*.github/workflows/*release*.github/workflows/*publish*.github/workflows/*goreleaser*release-please-config.json.release-please-manifest.json.releaserc*semantic-release configpackage.json, pyproject.toml, Cargo.toml, go.mod, .goreleaser.yamlchangeset config: .changeset/If local policy exists, follow it over this generic workflow. Surface conflicts explicitly.
If no local policy exists, infer cautiously and ask clarifying questions before mutating files or publishing.
Use commands appropriate to repo. Prefer read-only first.
git status --short
git tag --sort=-creatordate | head -20
git describe --tags --abbrev=0 2>/dev/null || true
git log --oneline --decorate -40
find . -maxdepth 3 -iname '*changelog*' -o -iname '*release*' -o -iname '.releaserc*'
find .github/workflows -maxdepth 1 -type f 2>/dev/null | sort
If GitHub CLI is authenticated and repo uses PRs:
gh release list --limit 10
gh pr list --state merged --limit 50 --json number,title,labels,author,mergedAt,mergeCommit
For exact release range:
last_tag=$(git describe --tags --abbrev=0 2>/dev/null || true)
git log --reverse --date=short --pretty=format:'%h%x09%ad%x09%an%x09%s' "$last_tag"..HEAD
If no tag exists, use first release boundary from changelog, package version, or ask user.
Identify what is being released.
Examples:
Evidence sources:
If multiple products exist, do not collapse them into one release without confirmation. Produce one release plan per product.
Classify by user/operator impact, not by commit type alone.
Primary sections:
Signals to inspect:
Conventional Commits are useful evidence when present, not authority. If commits are scoped-only or mixed format, infer from diff/PRs and flag uncertainty.
Recommend SemVer bump from user-visible compatibility.
Always cite evidence:
Recommended bump: minor
Evidence:
- abc123 env: add topology command — new CLI command
- def456 api: add backend deployment-status contract — new client-visible endpoint
No breaking changes found in CLI flags, API contract, or config defaults.
If evidence is ambiguous, ask. Do not guess silently.
Prefer existing project format. If absent, use Keep a Changelog style:
## [X.Y.Z] - YYYY-MM-DD
### Added
- ...
### Fixed
- ...
### Changed
- ...
### Security
- ...
### Breaking
- ...
Write for users/operators:
For CLI tools, note command/flag/output changes. For APIs, note endpoint/schema/contract changes. For services, note deploy/config/ops impact. For libraries, note public API and migration impact.
Before recommending tag/publish, produce GO / CONDITIONAL / NO-GO.
Check:
Decision meanings:
Output format:
Release readiness: CONDITIONAL
Blockers: none
Risks:
- CI not checked locally; GitHub checks should be verified before tagging.
Required approval before:
- git tag vX.Y.Z
- git push origin main vX.Y.Z
Only edit files if user asks to prepare release files.
Common edits:
Commit message for release prep, if user asks:
release: vX.Y.Z
Body only if needed:
Prepare changelog and version metadata for vX.Y.Z.
Validation:
- <command>
Prefer deterministic CI for artifact publishing.
Good pattern:
When presenting commands, separate plan from execution:
git checkout main
git pull --ff-only
git tag vX.Y.Z
git push origin main vX.Y.Z
Do not run these until approved.
For urgent patch releases:
Hotfixes still need release notes. Future debuggers need context.
If repo lacks release policy and user wants one, create docs/agents/release-workflow.md or nearest project convention path.
Include:
Keep global skill generic; put repo facts in project policy.
For discovery/draft:
Product: <product>
Current version/tag: <tag>
Range: <old>..<new>
Recommended bump: <major|minor|patch|none>
Confidence: <high|medium|low>
User-facing changes:
- Added: ...
- Fixed: ...
- Changed: ...
- Breaking: ...
Evidence:
- <commit/PR/path>
Readiness: <GO|CONDITIONAL|NO-GO>
Blockers:
- ...
Risks:
- ...
Next approval needed:
- ...
For local policy proposal:
Detected release model:
- Product: ...
- Tag format: ...
- Publisher: ...
- Changelog: ...
Questions before writing policy:
1. ...
2. ...
Source: barlevalon/skills — distributed by TomeVault.