web-steward
БесплатноЗапускает вложенные скриптыНе проверенKeep a website's front-end dependencies and installed design skills current without breaking the page. Covers React, Next.js, three.js, React Three Fiber…
от frankxai★ 51 звезда на GitHubОб этом скилле
Web steward
Upgrades break pages in two quiet ways: a peer dependency that no longer matches (the build passes, the component fails at runtime), and a minor bump that changes how something looks or moves. This skill catches the first mechanically and the second with screenshots, and it stops at a draft PR.
1. Inventory — measure before touching anything
node .claude/skills/web-steward/peer-check.mjs --root . # watch list
node .claude/skills/web-steward/peer-check.mjs --root apps/web # a monorepo app
node .claude/skills/web-steward/peer-check.mjs --root . --all # every direct dependency
It reads package.json plus pnpm-lock.yaml, package-lock.json, or
node_modules, and asks the npm registry for each package's peers at the
resolved version. No install is needed when the lockfile is current. Exit 1
means an unmet peer. Exit 3 means the registry was unreachable, so nothing was
checked. Exit 4 means no unmet peer was found but the check is incomplete. One
of three things happened:
- A watched package's version did not resolve: it was declared but not yet locked or installed.
- The registry has no manifest for the resolved version.
- A required peer could not be verified. Either it is not a direct dependency, or the script cannot parse its range.
The output lists those packages under "Not checked" and those peers with ?.
Report a 3 or a 4 as "not checked", never as clean.
Then check the pack itself:
- in a site repo, against a
claude-skills-libraryclone:diff -rq <clone>/packs/web-excellence/skills .claude/skills | grep -v "Only in .claude/skills"lists every installed pack skill that differs from the pack, and every pack skill that is missing. (install.sh --dry-runprints "update" for every installed skill whether or not it changed, so it cannot answer this.) The fix isinstall.sh <repo>, and its diff is reviewed like any other change; - in
claude-skills-library:packs/web-excellence/sync-upstream.sh --checklists vendored skills that drifted from their upstream pins.
2. Triage — in this order
- Unmet peers. These are broken now. Fix them by moving versions so the ranges hold, either by upgrading the host (React 18 → 19 for R3F 9) or by moving the dependent to the line that matches the host (R3F 8 for React 18). Pick the option that changes fewer surfaces and say why.
- Advisories. Run
pnpm audit --prodornpm audit --omit=devif available, and record the result as it printed. - Breaking drift. A major bump, and in
0.xany minor bump:0.185 → 0.186is a breaking change by semver. Read the release notes or changelog for every version crossed before editing, and list the breaking items you found. - Minor and patch drift. Batch it, one family per commit.
Leave a bump for later when its notes describe a change you cannot verify here. Say which one and what would verify it.
3. Branch and change
- One branch per repo:
agent/<harness>/web-steward-<yyyy-mm-dd>, cut from the default branch. - One commit per package family (
react+react-dom+@types/react;three+@react-three/*+@types/three;gsap+@gsap/react; and so on), so a revert removes one family and nothing else. - Use the repo's package manager to change versions. Regenerate the lockfile
with it and never edit a lockfile by hand. Pin
0.xpackages exactly (-E). - Re-run
peer-check.mjsafter each family. Unmet peers must reach zero before the next family.
4. Gates and proof
- Run the repo's own gates, read from its
CLAUDE.md/AGENTS.md: type-check, lint, build at minimum. Paste the result lines. - Take the route's first-load JS from the build output before and after. A dependency upgrade that adds weight is a finding.
- Find the routes that import a changed package (
grep -rl "<package>" app components). Runvisual-proofon those routes before (default branch) and after (upgrade branch), at 375 / 768 / 1440 in light and dark, plus a--reduced-motionrun where they animate. Open the shots and compare them. - Animation libraries (GSAP, Lenis, Framer Motion) change timing without
changing pixels. For those routes, also run
review-animationson any code the upgrade forced you to edit.
5. Hand off — draft PR, never merge
Open a draft PR with this body, and keep the same block as the reply:
Repo: <name> @ <base sha>
Peers: before <N unmet> → after <N unmet> (peer-check output attached)
Bumps: <pkg> <from> → <to> (<drift class>) — breaking notes: <list or "none in notes">
Deferred: <pkg> — <why, and what would verify it>
Pack: <skills that differ from the pack, or "in sync">
Gates: <command → result>, one per line
Weight: <route> first-load JS <before> → <after>
Visual: <routes> before/after, 375 / 768 / 1440, light + dark (+ reduced motion)
Open: <anything not verified>
On an unattended run with nothing to upgrade, st
Установить web-steward в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл web-steward?
Keep a website's front-end dependencies and installed design skills current without breaking the page. Covers React, Next.js, three.js, React Three Fiber, drei, Paper Shaders, GSAP, Lenis, Framer Motion, Tailwind, and this pack's own skills. Use when asked to upgrade, update, or audit dependencies on a web repo; when a build or install warns about unmet peer dependencies; before adding any dependency that declares peers; or on a scheduled upkeep run. Produces a peer and drift report from the lockfile and the npm registry, then one upgrade branch per repo with gates and before/after proof. Never merges.
Как установить скилл web-steward?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-steward запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic