update-skill
БесплатноБез исполняемых скриптовНе проверенThorough on-demand refresh of one skill in a skills repo - researches usage, upstream, and docs in parallel, gates twice for approval, bumps version, updates…
от tenequm1 709 установок в других каталогахОб этом скилле
Update Skill
Run a thorough on-demand refresh of one skill in a skills repository. Two hard human-approval gates ensure no edits or commits happen without explicit confirmation.
The target skill is: $ARGUMENTS
If no argument was provided, run ls ${CLAUDE_PROJECT_DIR}/skills/ and ask the user which to update. Stop until confirmed. Then verify ${CLAUDE_PROJECT_DIR}/skills/$ARGUMENTS/SKILL.md exists; if not, list skills and ask again. Throughout this run, <name> refers to the resolved skill name.
Operating rules
These rules apply across all phases:
- GATE 1 stops before any edit. Do NOT call Edit or Write until the user replies affirmatively to the GATE 1 banner.
- GATE 2 stops before any commit or push. Do NOT run
git commitorgit pushuntil the user replies affirmatively to the GATE 2 banner. - Privacy scan is a hard blocker. Skills in a public repo can publish on merge, so the run does not reach a commit while a Phase 6 leak finding is unresolved.
- Sticky posture. Once GATE 1 has been emitted, "report findings first" persists across follow-up rounds in the same session. If the user replies
changesor asks for revisions, re-emit the gate after revising; never silently apply. - Non-resume. If the session is interrupted between GATE 1 and GATE 2, re-run
/update-skill <name>from scratch. There is no checkpoint or resume mechanism. - Duplicate triggers. If a scheduled task or a repeated invocation fires while a run is holding at a gate, hold at the emitted gate and answer from the existing report - never redo research or re-apply edits.
- No
--no-verify, no--amend, no force-push unless the user explicitly authorizes it for this run. Per the repo's CLAUDE.md or AGENTS.md. - Working directory. Every path, every
just check, and every working git command (status/diff/add/commit/push) in the phases below runs against<workdir>- the Phase 0 worktree. Use absolute paths under<workdir>; do not mix in the main checkout. - Scratch directory for toolchains. Pick one scratch directory outside every checkout (the session scratchpad if the harness provides one, else
mktemp -d) and name it in every subagent brief. Every build or toolchain command -swift,xcodebuild,npm,cargo,uv,goand the like, including--helpprobes and scratch packages - runs with that directory as its working directory. Subagents start in the main checkout, so a bareswift build --helpleaves a.build/there. - No backticks in shell arguments. Single-quote search patterns (
rg -n 'pattern' path). In zsh and bash a backtick inside a double-quoted argument is command substitution, and one suchrgpattern has printed the whole environment, secrets included, into a transcript.
Phase 0 - Separate worktree
Run the whole update in a separate worktree on a new branch chore/update-<name>, so several skills can be updated in parallel. <workdir> is that worktree's absolute path. Keep it until the PR merges, then remove it and delete the branch.
Phase 1 - Pre-flight read
Read every file in skills/<name>/ end-to-end, in parallel:
skills/<name>/SKILL.md- All files under
skills/<name>/references/(use Glob first to enumerate) skills/<name>/CHANGELOG.md(if present)
Capture state for the rest of the run:
metadata.version(current)metadata.upstream(current; parse to{name: version}map; empty if absent)- Topmost CHANGELOG entry date (if
CHANGELOG.mdexists; this is the "last verified" signal) git log -1 --format=%cs -- skills/<name>/date (last touch)git status --porcelainsnapshot of<workdir>and of${CLAUDE_PROJECT_DIR}- the baseline for the Phase 6 hygiene check, so pre-existing user files are never flagged or removed- A per-skill license file, only if the repo's linter or publish pipeline requires one (ClawHub does not - it licenses every skill MIT-0); if required and missing, queue a fix row in the Phase 3 report
bootstrap_neededflag = true ifmetadata.upstreamis missing ORCHANGELOG.mdis missing - unless the skill is upstreamless by nature (it wraps no package, spec, or living doc - e.g. a workflow or writing skill likepolish). For those, omittingmetadata.upstreamis correct, not a gap: derivebootstrap_neededfrom the missingCHANGELOG.mdalone and skip the upstream-candidate proposal.
Phase 2 - Parallel research
Dispatch the research subagents in a single message: one each for upstream and docs, plus the usage lanes. Subagents run in the background by default (Claude Code v2.1.198+): collect every agent's completion before starting Phase 3. If the user supplied a seed finding (a bug they hit, a release they know about), pass it verbatim to the relevant agent - specific leads converge fastest. Adapt each angle to the skill: a skill wrapping a package researches that package's releases and source; a skill tracking living docs or a spec researches those docs a
Установить update-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл update-skill?
Thorough on-demand refresh of one skill in a skills repo - researches usage, upstream, and docs in parallel, gates twice for approval, bumps version, updates CHANGELOG, validates, commits, watches CI. Use to check a skill's freshness.
Как установить скилл update-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic