update
Update ion-repo - the ion-repo tool of the machine and its plugins, then the open repo (ion repo update, on a branch merged right away into develop). Use when the user asks to update ion-repo, or accepts the update offered at session start.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 3
- Forks
- 3
01 前言 Front Matter
- name
- update
- description
- Update ion-repo - the ion-repo tool of the machine and its plugins, then the open repo (ion repo update, on a branch merged right away into develop). Use when the user asks to update ion-repo, or accepts the update offered at session start.
- argument-hint
- [tool|repo]
03 SKILL.md 正文
Scope: $ARGUMENTS; tool alone, repo alone, otherwise both, the tool first.
<hook> stands for python3 "${CLAUDE_PLUGIN_ROOT}/hooks/session_start.py", <reminders> for
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/reminders.py" (answers to ion-repo's questions).
Talk to the user in their language.
Tool
<hook> toolprintsup to date, or the command that updates the installed tool (from PyPI or GitHub:uv tool install --force ion-repo==…or…git+…@<tag>, preceded byuv tool uninstall kilnwhen the tool still has its oldest name, and replacingkiln-cliwhen it is still that one, then ion-repo's marketplace and theion-repoplugin installed for every repo of the machine; a tool installed from an ion-repo checkout is replaced by the release, since only a release updates a repo). On thebetachannel (ion repo set channel=beta), the tool is ion-repo'sdevelopinstead: the checkout of the code directory installed editable (uv tool install --force --editable <code_dir>/ion-repo, read live, nothing to update after a merge), otherwise GitHub'sdevelop;ion repo updatethen takes the template at that commit. Run it as is; if it fails (no network), stop and say why.<reminders> yes tool, then tell the user to type/reload-plugins: the plugin's skills and hooks only change on reload.
Repo
- The open repo is generated by ion-repo (
.copier-answers.ymlat its root,_src_pathtowardsantoine-tena/ion-repo) or adopted (a charter without Copier answers:ion repo updatethen converts ion-repo's 0.3 names and moves the reusable workflows to the last release); otherwise say so and stop. - Branch
chore/ion-repo-updatein a worktree (skill/repo:worktree), thenion repo updatein that worktree: template, compatible dependencies, checks. - Conflict markers (
<<<<<<< before updating): stop, show the files, propose a resolution. Failing checks: say so, do not merge. - Review the diff, commit in batches of 10 files at most (
chore: ion repo update, a title of 50 characters at most), then merge intodevelop(skill/repo:merge), without a pull request nor an approval to wait for. <reminders> yes "<root of the repo>".- Right after the merge, what ion-repo cannot guess: when the releases crossed ask for it,
ion repo updateopened a 🔴 ticketFinish the ion-repo update to vX.Y.Zindocs/backlog/backlog.md(it says its ID), one box per action. Do it now with the user: ask for what only they know (their own GitHub login, a choice; never another member's: each one does theirs in their own session), make the changes on a branch, then close the ticket (/repo:backlog done <repo>#T-NN); a box they put off stays open in the ticket.
Sum up
In the repo plugin's debrief format (output-styles/debrief.md): the tool's version and
the template's release, before → after, among its points; what is left of the Finish the ion-repo update ticket under ◆ To do.
04 同仓库更多 Skills
worktree
Create a work branch in a ready-to-use git worktree. The normal way to start a branch, so as not to cross another session in the main tree.
token
Set up a service's credentials (PyPI, Stripe, an API, a host…) in a `.<service>/` folder at the repo root (`token`, chmod 600, and `config` on its scope), with one command that pastes the token unseen. Use when a task needs an API key or a token, or when the user wants to give one.
statusline
Change the look of the status line - its style, its colors, among them the chat's (the person's and Claude's) - each shown before it is chosen. Use when the user wants another status line, other colors for it, or from `/repo:look`.
skill
Write or sharpen a skill of an Ion tool's plugin - intent, SKILL.md in the right craft's plugin, one trigger case, docs; tested with `claude plugin eval` only on request. Use when the user wants a new skill, to fix one, or to check one fires and does its job.
review
暂无简介
resize
Move a repo up or down ion-repo's sizes (tiny, small, medium, large) - what the new size brings or removes shown before the merge, the settings that go with it, ion repo set on a branch, merged. Use when the user asks to change a project's size, or it outgrew its size or is heavier than it needs.