원클릭으로
llama-cpp-canister-release
Create a new GitHub release for llama_cpp_canister
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a new GitHub release for llama_cpp_canister
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | llama_cpp_canister-release |
| description | Create a new GitHub release for llama_cpp_canister |
| disable-model-invocation | false |
| user-invocable | true |
| argument-hint | <new-version> [major|minor|patch] |
| allowed-tools | Bash, Read, Edit, Write, AskUserQuestion |
Follow these steps exactly in order. Abort and report on any failure.
Check the current gh auth status:
gh auth status
The active account must be icppWorld (per CLAUDE.md instructions for the onicai project). If not:
gh auth switch --user icppWorld
If the correct account is not known from CLAUDE.md context, ask the user which GitHub account to use.
git branch --show-current
git status --short
git fetch origin main
git diff origin/main --stat
main branchorigin/mainIf any check fails, report the issue and abort.
gh run list --repo onicai/llama_cpp_canister --workflow=cicd-mac.yml --limit 1 --json conclusion --jq '.[0].conclusion'
If the result is not success, abort immediately with: "CI is not green. Latest cicd-mac.yml conclusion: . Fix CI before releasing."
Read the current version from two sources and cross-check:
cat version.txt
gh release view --repo onicai/llama_cpp_canister --json tagName --jq '.tagName' | sed 's/^v//'
version.txt is the local source of truthversion.txt to match the latest release tag.Parse the confirmed current version into major.minor.patch components.
Ask the user: "Current version is X.Y.Z. Increment major, minor, or patch?"
Compute the new version based on their choice:
Show the computed version and tag (e.g., v0.8.1) and ask the user to confirm before proceeding.
Update version.txt to the new version (just the version string, no trailing newline beyond what was there).
Commit and push:
git add version.txt
git commit -m "v<NEW_VERSION>"
git push origin main
gh workflow run release.yml --repo onicai/llama_cpp_canister -f tag=v<NEW_VERSION>
Wait 10 seconds, then find the run ID:
sleep 10
gh run list --repo onicai/llama_cpp_canister --workflow=release.yml --limit 1 --json databaseId,status --jq '.[0]'
Poll gh run view <run_id> --repo onicai/llama_cpp_canister every 60 seconds for up to 30 minutes.
At each check, report the current status to the user.
If the run fails, report the failure and abort. Include the URL to the failed run.
If the run succeeds, proceed to step 7.
gh release view v<NEW_VERSION> --repo onicai/llama_cpp_canister
Print:
Print a summary of what was done:
End-to-end lifecycle for adding a new capability to llama_cpp_canister — design, implement, test, document, and verify with no regressions
Test a llama_cpp_canister release zip end-to-end