基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill skills-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| 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.
| name | skills-release |
| description | > Use when this capability is needed. |
Automate the release process for this skills repository:
Use this skill when the user:
Do not use for npm packages — use /npm-release instead.
This skill includes three helper scripts in the scripts/ directory:
Run scripts from the skill directory:
bash scripts/release-prepare.sh
bash scripts/release-analyze.sh
bash scripts/release-execute.sh 1.1.0
Follow these steps in order. Stop immediately if any step fails.
Run the preparation script to validate everything:
bash scripts/release-prepare.sh
This checks:
master or main.claude-plugin/plugin.json and .claude-plugin/marketplace.json existjq is availableIf checks fail, report the problem and suggest a fix. Do not proceed.
Run the analysis script to understand what changed:
bash scripts/release-analyze.sh
This will:
type!: suffix or BREAKING CHANGE in body)Version bump criteria:
| Bump | When |
|---|---|
| Major | Breaking changes — type!: prefix or BREAKING CHANGE body |
| Minor | New features — any feat: commits |
| Patch | Everything else — fix:, docs:, refactor:, chore:, etc. |
Present the analysis summary and ask the user to choose a version bump.
Use the AskUserQuestion tool with these options:
AskUserQuestion:
question: "Recommended: {{RECOMMENDATION}}. Which version bump for v{{CURRENT}} → v{{NEXT}}?"
header: "Version"
options:
- label: "Major (v{{MAJOR}})"
description: "Breaking changes — skill removals, renames, config restructuring"
- label: "Minor (v{{MINOR}})"
description: "New features — new skills, significant enhancements"
- label: "Patch (v{{PATCH}})"
description: "Fixes, docs, refactoring, chore, CI, tests"
- label: "Cancel"
description: "Abort the release"
Replace {{CURRENT}} with current version, and compute {{MAJOR}}, {{MINOR}}, {{PATCH}} by incrementing the appropriate segment (reset lower segments to 0).
If user selects Cancel, stop the workflow.
Update both config files using jq. The execution script handles this:
bash scripts/release-execute.sh {{VERSION}}
Important: In step 4, only run the version bump portion. The execution script also commits, tags, and pushes — but we need a user approval gate before pushing. So instead of running the full script, perform the bump manually:
VERSION="{{VERSION}}"
PLUGIN_JSON=".claude-plugin/plugin.json"
MARKETPLACE_JSON=".claude-plugin/marketplace.json"
# Update plugin.json
jq --arg v "$VERSION" '.version = $v' "$PLUGIN_JSON" > "$PLUGIN_JSON.tmp" && mv "$PLUGIN_JSON.tmp" "$PLUGIN_JSON"
# Update marketplace.json
jq --arg v "$VERSION" '.plugins[0].version = $v' "$MARKETPLACE_JSON" > "$MARKETPLACE_JSON.tmp" && mv "$MARKETPLACE_JSON.tmp" "$MARKETPLACE_JSON"
Verify both files were updated correctly by reading them back.
Stage and commit the version bump:
git add .claude-plugin/plugin.json .claude-plugin/marketplace.json
git commit -m "Release v{{VERSION}}"
Tag the release commit:
git tag v{{VERSION}}
CRITICAL: Always pause here for user approval.
Present a summary and ask for confirmation.
Use the AskUserQuestion tool:
AskUserQuestion:
question: "Ready to push v{{VERSION}} to remote?"
header: "Push"
options:
- label: "Yes"
description: "Push commits and tag to remote"
- label: "No"
description: "Keep local commit and tag, do not push"
If user selects No, inform them:
git reset --hard HEAD~1 && git tag -d v{{VERSION}}If user selects Other, follow their instructions.
Only after user approves:
git push && git push --tags
After pushing, get the remote URL and print:
Release v{{VERSION}} pushed successfully.
GitHub Releases: https://github.com/enonic/ai-agents-skills/releases
If any step fails:
Uncommitted changes:
git stash then retry, or commit changes firstWrong branch:
git checkout master then retryVersion mismatch between files:
No tags found:
Tag already exists:
release, version, bump, tag, skills, publish, deploy, ship, new version, create release
Converted and distributed by TomeVault — claim your Tome and manage your conversions.