用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oyvindwe/connectlife-ha --skill bump-version命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | bump-version |
| description | Bump the integration version, create a branch, commit, push, and open a PR. |
| argument-hint | <version> |
| allowed-tools | Read Edit Bash(git *) Bash(gh *) Bash(uv sync) |
Bump the version of this ConnectLife Home Assistant integration.
Determine the new version:
$ARGUMENTS is provided, it must be a valid semver version (e.g., 0.31.0). Use it as the new version.custom_components/connectlife/manifest.json.git log --oneline "$(git log --grep='^Version ' -n 1 --format=%H)..HEAD"
(Falls back to git log --oneline -n 20 if no prior version commit is found.)0.x.y, where per semver the public API is considered unstable — breaking changes do not trigger a 1.0.0 release on their own, they bump MINOR. Reserve a MAJOR bump for a deliberate, user-driven 1.0.0 graduation.
X.0.0): only when the user explicitly asks to graduate to 1.0.0 (or beyond). Do not infer this from commit contents alone while on 0.x.y.0.X.0): new functionality or breaking changes — new device mappings/registrations, new properties, new platforms, new entities, additive API changes, removed/renamed entities or options, incompatible config flow changes, minimum HA version raised.0.0.X): backwards-compatible fixes only — bug fixes, translation-only changes, doc/readme tweaks, internal refactors with no user-visible change.
When in doubt between MINOR and PATCH, pick MINOR.Verify the working tree is clean:
git status --porcelain
If there are uncommitted changes, stop and tell the user.
Make sure main is up to date:
git checkout main
git pull
Create a version branch:
git checkout -b version/<new_version>
Update the version in these files:
custom_components/connectlife/manifest.json — the "version" fieldpyproject.toml — the version fieldRun uv sync to update uv.lock.
Stage and commit:
git add custom_components/connectlife/manifest.json pyproject.toml uv.lock
git commit -m "Version <new_version>"
Push and create PR:
git push -u origin version/<new_version>
gh pr create --title "Version <new_version>" --body "Bump version to <new_version>"
Report the PR URL to the user.