跳到正文
cccskills
免费在 GitHub 公开

update-plugins

Check which Claude Code marketplaces and plugin installs (user, project and local scope, across all project folders) are out of date, recommend what to update, and update what the user confirms. Use when the user asks to update plugins, check for plugin updates, or sync plugin versions across repos.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md3.2 KB
  • scripts/check-plugins.sh2.8 KB
  • scripts/update-plugins.sh798 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Update plugins

Every plugin install is recorded in ~/.claude/plugins/installed_plugins.json with its scope and, for local and project scope, its project folder. Each install stays on its own version until it is updated from that folder, so claude plugin update in one repo leaves the others behind. The user usually doesn't know what is outdated where. Find out, recommend, and ask before changing anything.

Prerequisites

  • bash 3.2 or newer (macOS default is fine; on Windows, Git Bash), jq, git

Workflow

  1. Run the read-only check:

    ${CLAUDE_SKILL_DIR}/scripts/check-plugins.sh
    

    It prints two tab-separated tables:

    • # marketplaces: name, last update date, and whether the local clone is up to date, behind remote, remote unreachable or not a git clone.
    • # installs: status, scope, plugin, installed version, latest version in the local clone, project folder. Statuses: outdated, current, dir missing, latest unknown, not in marketplace, ahead of clone.
  2. Report, most useful first:

    • Marketplaces behind remote. "Latest" comes from the local clone, so recommend refreshing these first; it may reveal more updates.
    • Outdated installs, grouped by scope (user, then local, then project), and within a scope by plugin with version jump and folder count. Name the folders only when there are few.
    • Stale records (dir missing) and not in marketplace (plugin removed or renamed upstream), as one short line each. These can't be updated.
    • Skip current entirely.
  3. Ask what to do with numbered options, e.g. refresh marketplaces, update everything outdated, only user scope, only one plugin. Recommend one. Do nothing until the user answers.

  4. Do what the user picked:

    • Refresh marketplaces: claude plugin marketplace update <name> for each chosen one. There is a single clone per marketplace whatever scope declared it, so this changes the catalog for every project. Then rerun the check and report newly outdated installs before updating anything.

    • Update installs: pipe the chosen rows from the check into the update script, selecting with awk on status, scope, plugin or project:

      ${CLAUDE_SKILL_DIR}/scripts/check-plugins.sh \
        | awk -F'\t' '$1 == "outdated" && $2 == "user"' \
        | ${CLAUDE_SKILL_DIR}/scripts/update-plugins.sh
      
  5. Report the result. Running sessions in updated folders need a restart to load the new versions.

Failures

A FAILED update usually means the plugin needs a marketplace-declared command confirmed, which requires a TTY. Don't retry with -y: that would accept a command nobody reviewed. Tell the user to run it themselves: ! cd <dir> && claude plugin update <plugin> --scope <scope>.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Structure AI work artifacts under .aiwork/{YYYY-MM-DD}_{slug}/ folders using the project's protocol (intent, triage, research, spec, prd, areas, plan, review, notes, docs/). Use when the user asks to plan, capture an intent, make a spec, triage, research a task, write a report, code review, summarize findings, save the work, document decisions, record this, write that down, persist findings, or references any path under .aiwork/. Also use when starting a non-trivial task that needs a plan or spec before implementation, or when finishing one and capturing notes.

中文简介正在准备中。当前显示原文说明。

lttr/claude-marketplace22026年10月6日 更新

Use this skill when the user asks to test, verify, interact with, or automate web pages and browsers. Trigger for requests involving Chrome automation, browser testing, web scraping, screenshot capture, element selection, or checking web applications. Also trigger when user mentions "browser tools" explicitly.

中文简介正在准备中。当前显示原文说明。

lttr/claude-marketplace22026年10月6日 更新

changelog

免费

Show recent Claude Code changes personalized to user's setup. Trigger when user asks about changelog, "what's new", "cc changelog", "claude code updates", "recent changes", or wants to know what changed in Claude Code.

中文简介正在准备中。当前显示原文说明。

lttr/claude-marketplace22026年10月6日 更新

Review code changes from current branch, an Azure DevOps PR, a git ref, or a diff/patch file. Trigger when user says "review this", "code review", "/df:code-review", or provides a PR id/URL, ticket URL, git ref, or diff path. Read-only — never posts comments.

中文简介正在准备中。当前显示原文说明。

lttr/claude-marketplace22026年10月6日 更新

Review code changes from the current branch, staged changes, a git ref, or a diff/patch file. Pure git-native — no platform/PR awareness. Trigger when user says "review this", "review diff", "/aiwork:code-review-diff", or provides a git ref or diff path. Read-only — never posts comments.

中文简介正在准备中。当前显示原文说明。

lttr/claude-marketplace22026年10月6日 更新

Czech typography rules for web development. Use when building web pages in Czech language, writing Czech content, or fixing typography issues in Czech text. Covers punctuation, dashes, quotes, numbers, units, non-breaking spaces, and HTML entities.

中文简介正在准备中。当前显示原文说明。

lttr/claude-marketplace22026年10月6日 更新

查看 lttr 的全部技能

报告此技能的问题