clawq-version-bump
Bump clawq version, commit, tag, push, and create a GitHub release
- License 许可
- Unlicense
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- clawq-version-bump
- description
- Bump clawq version, commit, tag, push, and create a GitHub release
- disable-model-invocation
- true
03 SKILL.md 正文
clawq Version Bump
Bump the version, sync all files, build, test, tag, push, and create a draft GitHub release.
Quick Start
/clawq-version-bump 0.2.0
Instructions
The version argument is passed as $ARGUMENTS. It must be a valid semver (X.Y.Z).
1. Pre-flight
- Verify the git working tree is clean (
git status --porcelainis empty) - Validate
$ARGUMENTSmatches^[0-9]+\.[0-9]+\.[0-9]+$ - Confirm you are on the
masterbranch (or ask user to confirm if on another branch) - Read the current
VERSIONfile to confirm the bump direction makes sense
2. Bump version
- Write the new version to the
VERSIONfile (single line, no trailing content) - Run
make sync-versionto propagate to all files (Coq, docs, WASM, tests) and re-extract
3. Build and test
- Run
make buildto verify the build succeeds with the new version - Run
make test-nocontainerto verify tests pass - Run
make fmt-checkto verify formatting
4. Commit
- Stage all changed files explicitly (do not use
git add -A):VERSIONcoq/theories/Clawq/Cli.vcoq/theories/Clawq/McpFraming.vsrc/extracted/clawq_core.mlsrc/extracted/clawq_core.mlisrc/main_wasm.mldocs/package.jsondocs/src/components/Sidebar.astroscripts/wasm_templates/IDENTITY.mdtest/test_command_bridge.mltest/test_clawq_core.ml
- Commit with message:
Release v$ARGUMENTS
5. Tag, release, and push
- Create an annotated tag:
git tag -a v$ARGUMENTS -m "Release v$ARGUMENTS" - Generate a changelog:
git log --pretty=format:'- %s (%h)' PREV_TAG..v$ARGUMENTS(where PREV_TAG is the most recent previousv*tag, or use--rootif none) - Create a draft release (before pushing, so CI can upload artifacts to it):
gh release create v$ARGUMENTS --draft --title "v$ARGUMENTS" --notes "$CHANGELOG" --target $(git rev-parse HEAD) - Push the commit and tag:
git push origin HEAD && git push origin v$ARGUMENTS - CI will automatically build and upload binary artifacts to the release
6. Post-release
- Inform the user that:
- The release is in draft state — they should review and undraft when ready
- CI is building artifacts that will be attached to the release automatically
- The release URL is provided for review
Verification
make sync-version-checkpassesmake buildsucceedsmake test-nocontainerpassesgit tag -l 'v*'shows the new taggh release view v$ARGUMENTSshows the draft release
Guidelines
- Never skip tests or formatting checks
- Always create annotated tags (not lightweight)
- Always create releases as drafts — let the user undraft
- If any step fails, stop and report the error; do not continue
- Do not amend commits or force-push
04 同仓库更多 Skills
run-task
Runs a backlog item (bug, feature, task, epic, milestone, phase) end-to-end by gathering context, constructing a startup prompt, spawning a worktree-backed subagent, and managing the claim/done/review cycle. Use when the user wants to execute a backlog target like B123, F456, P2.M4.E3, etc.
pipeline-designer
Design and create structured output pipelines. Gathers requirements, designs step sequences with output schemas, generates valid YAML pipeline definitions, and validates them.
idea
Log a planning idea to the backlog. Use when the user has a feature idea, enhancement suggestion, or brainstorm they want tracked.
feature
Automate the creation of a new feature for clawq. Gathers requirements, discovers existing capabilities, decomposes into implementation layers, gates risky work behind approval, and delegates implementation. Prefers skills/rigs/cron/templates over OCaml code changes.
telegram-formatting
Telegram HTML and MarkdownV2 formatting reference for clawq message code
pag-review-via-team
review work using teams + review-and-fix