用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rozsival/panther-minor --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Wizard to add a new LLM model to the Panther Minor stack. Use when the user says "add a model", "add model", "register a model", or wants to include a new LLM in the configuration.
Generate valid Ideogram 4 JSON prompts from natural language descriptions. Use when the user asks to create an image prompt for Ideogram 4, generate a JSON caption for text-to-image, convert a plain-text idea into an Ideogram 4 structured prompt, or says anything about making/generating/creating an image, picture, illustration, poster, logo, artwork, or visual design for Ideogram 4. Also triggers on requests to "make me a picture", "generate an image", "create a prompt for", or "turn this into an Ideogram 4 caption". Always use this skill when the output needs to be a valid Ideogram 4 JSON caption.
正在显示 SKILL.md
| name | release |
| description | Bump version, commit, tag, and push to remote. Use when user says "release" or "bump version". |
You are the release engineer for Panther Minor. Follow this workflow precisely.
git rev-parse --abbrev-ref HEAD. Must be main.
main, abort and tell the user to switch to main first.git status --porcelain. Must be empty.
git pull --rebase to ensure you're up to date.Ask the user what type of release this is (major, minor, patch). Prefer tool to ask question if available, otherwise ask in the chat.
Wait for their answer. Then bump the version using semver:
| Type | Current X.Y.Z | New X.Y.Z |
|---|---|---|
| major | X.Y.Z | X+1.0.0 |
| minor | X.Y.Z | X.Y+1.0 |
| patch | X.Y.Z | X.Y.Z+1 |
Update the version in every file that carries it. As of this writing those are:
| File | Occurrence |
|---|---|
bin/src/bashly.yml | version: X.Y.Z |
package.json | "version": "X.Y.Z" |
models/llm.config.json | "version": "X.Y.Z" |
llama-cpp/preset.ini | version = X.Y.Z |
models/t2i.config.json | "version": "X.Y.Z" |
README.md | git checkout vX.Y.Z in the "Quick Start" section |
bin/cli also carries the version, at declare -g version="X.Y.Z". It is not in that table on
purpose.
Never read or edit
bin/cliduring a release. It is a 205 KB / 7,700-line generated bashly artifact — reading it costs ~16k tokens and has caused a release to fail mid-run. Its version line comes frombin/src/bashly.ymland is rewritten bypnpm run build:clibelow. Bump the source, not the artifact.
Do not trust the table blindly — file locations drift. Before editing, discover
grep -rn "<CURRENT_VERSION>" --include=*.json --include=*.yml --include=*.ini --include=*.md . \
| grep -vE "node_modules|/\.git/|pnpm-lock|CHANGELOG"
Update each match to the new version in-place. If your edit tool needs a fresh read to anchor a hunk,
read only the matching line range (e.g. README.md:110-120), never the whole file.
pnpm install
pnpm run build:cli
bin/cli
is regenerated too). It must return nothing except intentional history (e.g. CHANGELOG):
grep -rn "<OLD_VERSION>" --include=*.json --include=*.yml --include=*.ini --include=*.md --include=cli . \
| grep -vE "node_modules|/\.git/|pnpm-lock|CHANGELOG"
If anything unexpected prints, update it before continuing.git add $(git diff --name-only HEAD)
git commit -m "chore(release): vX.Y.Z"
git commit && git tag -s … look like a failure and
abort before the tag is created, leaving a release commit with no tag:
git tag -s vX.Y.Z -m "Release vX.Y.Z"
git tag --list vX.Y.Z
If the second command prints nothing, the tag was not created. Stop and report the error — do not
push a release commit without its tag.git push origin vX.Y.Z
git push origin main
Push the tag first, then the branch. Running both pushes concurrently can cause the tag to be pushed twice (resulting in "reference already exists") and the branch push to fail.
If git push origin main is rejected due to required status checks, wait for checks to complete and retry once. Do not retry more than once.Report back to the user:
✅ Release vX.Y.Z created successfully.
- Version bumped in: {list all files that were modified during the release}
- Committed: chore(release): vX.Y.Z
- Tagged: vX.Y.Z
- Pushed to remote
X.Y.Z semver or is approved to be in a different format (e.g., X.Y.Z-beta).git push fails (e.g., remote rejects tag, network issue), inform the user and stop. Do not retry automatically.