AGENT SKILL

Claw 技能与网站发布

claw-release

面向 Claw 技能和网站的发布自动化。引导完成版本号更新、打标签与发布验证。

适用职业发布经理
License 许可
MIT
所属仓库
CoralShades/acm-ai
最近更新
2026-04-18
Stars
★ 0
Forks
0

01 前言 Front Matter

name
claw-release
clawdis
{ "emoji": "?", "requires": { "bins": [ "git", "jq", "gh" ] } }
version
0.0.1
homepage
https://clawsec.prompt.security
metadata
{ "openclaw": { "emoji": "?", "category": "utility", "internal": true } }
description
Release automation for Claw skills and website. Guides through version bumping, tagging, and release verification.

02 资源文件 3

03 SKILL.md 正文

Claw Release

Internal tool for releasing skills and managing the ClawSec catalog.

An internal tool by Prompt Security


Quick Reference

Release Type Command Tag Format
Skill release ./scripts/release-skill.sh <name> <version> <name>-v<version>
Pre-release ./scripts/release-skill.sh <name> 1.0.0-beta1 <name>-v1.0.0-beta1

Release Workflow

Step 1: Determine Version Type

Ask what changed:

  • Bug fixes only → Patch (1.0.0 → 1.0.1)
  • New features, backward compatible → Minor (1.0.0 → 1.1.0)
  • Breaking changes → Major (1.0.0 → 2.0.0)
  • Testing/unstable → Pre-release (1.0.0-beta1, 1.0.0-rc1)

Step 2: Pre-flight Checks

# Check for uncommitted changes
git status

# Verify skill directory exists
ls skills/<skill-name>/skill.json

# Get current version
jq -r '.version' skills/<skill-name>/skill.json

Step 3: Run Release Script

./scripts/release-skill.sh <skill-name> <new-version>

The script will:

  1. Validate version format (semver)
  2. Check tag doesn't already exist
  3. Update skill.json version
  4. Update SKILL.md frontmatter version (if file exists)
  5. Update hardcoded version URLs (feed_url)
  6. Commit changes
  7. Create annotated git tag

Step 4: Push Release

git push && git push origin <skill-name>-v<version>

Step 5: Verify Release

After pushing, the CI/CD pipeline will:

  1. Validate skill exists
  2. Verify version matches skill.json
  3. Verify version matches SKILL.md frontmatter (if exists)
  4. Generate checksums from SBOM
  5. Create .skill package (ZIP)
  6. Create GitHub Release
  7. Trigger website rebuild (for non-internal skills)

Verify at:

  • GitHub Releases: https://github.com/prompt-security/clawsec/releases/tag/<skill-name>-v<version>
  • GitHub Actions: Check workflow run status

Undo a Release (Before Push)

If you need to undo before pushing:

git reset --hard HEAD~1 && git tag -d <skill-name>-v<version>

Pre-release Versions

For beta, alpha, or release candidates:

./scripts/release-skill.sh <skill-name> 1.2.0-beta1
./scripts/release-skill.sh <skill-name> 1.2.0-alpha1
./scripts/release-skill.sh <skill-name> 1.2.0-rc1

Pre-releases are automatically marked in GitHub Releases.


Common Issues

Error Solution
Tag already exists Choose a different version number
Version mismatch in CI Ensure you used the release script (not manual tagging)
SKILL.md version mismatch Ensure you used the release script which updates both skill.json and SKILL.md
Uncommitted changes Commit or stash first: git stash or git add . && git commit
skill.json not found Verify skill directory path is correct

Internal Skills

Skills with "internal": true in their openclaw section:

  • Are released normally via GitHub Releases
  • Are NOT shown in the public skills catalog website
  • Can still be downloaded directly from release URLs

This skill (claw-release) is an internal skill.


Existing Skills

Skill Category Internal
clawsec-feed security No
clawtributor security No
openclaw-audit-watchdog security No
soul-guardian security No
claw-release utility Yes

Verification Checklist

After release, confirm:

  • [ ] GitHub Release exists with correct tag
  • [ ] Release has: skill.json, SKILL.md, checksums.json, .skill package
  • [ ] Release is marked as pre-release if applicable
  • [ ] GitHub Actions workflow completed successfully
  • [ ] Website updated (for non-internal skills only)

License

GNU AGPL v3.0 or later - See repository for details.

Built by the Prompt Security team.

04 同仓库更多 Skills

CoralShades
CoralShades/acm-ai

前端界面去 AI 化设计

uncodixfy

在生成前端代码时避免出现千篇一律的 AI/Codex UI 模式。每当生成 HTML、CSS、React、Vue、Svelte 或任何前端 UI 代码时使用本技能,以强制采用受 Linear、Raycast、Stripe 和 GitHub 启发的简洁、人工设计的美学,而非典型的 AI 生成界面。

软件开发工程师前端开发与界面实现
★ 0
CoralShades
CoralShades/acm-ai

Runpod GPU 工作负载管理

runpodctl

使用 Runpod CLI 管理你的 GPU 工作负载。

AI 工程师AI 平台资源管理
★ 0
CoralShades
CoralShades/acm-ai

LangGraph 状态持久化

langgraph-persistence

当你的 LangGraph 需要持久化状态、记住对话、回溯历史,或配置子图检查点(checkpointer)作用域时请调用本技能。涵盖检查点、thread_id、时间旅行、Store 与子图持久化模式。

AI 工程师智能体开发
★ 0
CoralShades
CoralShades/acm-ai

LangGraph 人机协作开发

langgraph-human-in-the-loop

实现人机协作(human-in-the-loop)模式、暂停等待审批,或处理 LangGraph 中的错误时请调用本技能。涵盖 interrupt()、Command(resume=...)、审批/验证工作流以及 4 层错误处理策略。

AI 工程师智能体开发
★ 0
CoralShades
CoralShades/acm-ai

LangGraph 开发基础

langgraph-fundamentals

编写任何 LangGraph 代码时请调用本技能。涵盖 StateGraph、状态模式(state schemas)、节点、边、Command、Send、invoke、流式处理与错误处理。

AI 工程师智能体开发
★ 0
CoralShades
CoralShades/acm-ai

LangChain RAG开发

langchain-rag

在构建任何检索增强生成(RAG)系统时调用本技能。涵盖文档加载器、RecursiveCharacterTextSplitter、embeddings(OpenAI)以及向量存储(Chroma、FAISS、Pinecone)。

AI 工程师RAG 检索增强开发
★ 0