用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill linea-dependency-maintenance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | linea-dependency-maintenance |
| description | <!-- markdownlint-disable --> Use when this capability is needed. |
| metadata | {"author":"Consensys"} |
Use this workflow to maximize safe dependency progress without changing the repository's package-manager contract or hiding remaining risk.
AGENTS.md, CLAUDE.md, package-specific instructions, and CONTRIBUTING.md.packageManager, CI, deploy config, and package-manager guard
scripts:
package-lock.json, and validate with npm ci.pnpm-lock.yaml, pnpm-workspace.yaml, catalogs, and overrides.git status --short --branch. If unrelated changes are present, use an isolated
worktree or avoid touching those files..nvmrc, .node-version, engines, .npmrc, CI workflows, deploy config, and dependabot.yml.minimumReleaseAge is a maturity window in minutes. Treat the configured minimumReleaseAgeExclude
list as read-only: respect the existing entries, but never add or widen it to push a fresher version through — the
maturity window is a hard gate, not a hurdle to bypass.dependencies/devDependencies specifier must be an exact pin, never
a ^ caret or ~ tilde range. Floating ranges silently pull unreviewed releases and widen the supply-chain attack
surface, so a single exact version is the only safe and reproducible default. When a bump touches a manifest, also
tighten any pre-existing ^/~ range on that package to an exact pin. The exception is peerDependencies: those
declare the version range a consumer must satisfy (the package never installs them itself), so pinning them exact
invents false incompatibilities — leave intentional peer ranges as ranges.catalog: references, workspace: references, and repo-specific package
placement unchanged. Pin the concrete version at the catalog definition so consumers stay on catalog:.Build an inventory from direct dependencies, dev dependencies, peer dependencies, optional dependencies, catalogs, overrides, lockfiles, and audit output.
Use native commands first:
npm outdated --json || true
npm audit --json || true
npm explain <package>
npm ls <package>
pnpm outdated -r --format json || true
pnpm audit --json || true
pnpm why <package> -r
When registry-age gates matter, use the bundled helper as a reproducible first pass:
node <skill-dir>/scripts/eligible-updates --manager auto --days 3
Replace <skill-dir> with the directory containing this SKILL.md. Adjust --days or --minutes to match the repo
policy.
Classify every candidate before changing files:
Group tightly coupled packages together when separate bumps are likely to create peer, type, or runtime friction.
catalog:.package.json and regenerate package-lock.json with npm. Prefer lockfile-only install when
appropriate, then validate with clean install.pnpm-lock.yaml with normal pnpm install flow. Do not bypass minimumReleaseAge.engine-strict, ignore-scripts, LavaMoat allow-scripts, and
only-allow.Treat overrides as temporary exceptions:
Refresh overrides after the direct bumps land, so you only keep exceptions that are still required. Let natural resolution catch up first, then keep overrides only for advisories that remain. The flow is the same regardless of package manager, but the exact commands differ, so use the ones in the matching reference file:
overrides in pnpm-workspace.yaml, pnpm.overrides in package.json, or resolutions.
For npm, use overrides in package.json. Do not edit generated lockfile override metadata by hand.npm audit fix without --force, which stays non-major. For
pnpm, run pnpm audit --fix; on pnpm 10 this can write targeted overrides pinning the patched versions, while older
pnpm versions may require adding targeted exact overrides manually from the remaining audit output. If pnpm edits
minimumReleaseAge, minimumReleaseAgeExclude, or related maturity-gate settings, revert those edits immediately; do
not use audit fix to bypass the maturity gate.Then inspect the result — do not trust the audit fix blindly:
references/pnpm.md).minimumReleaseAge also gates overrides: pnpm refuses an exact-version override still inside the
maturity window and can silently fall back to an older in-range version that is still vulnerable. Confirm with
pnpm why <pkg> -r plus a re-audit that the intended patched version actually landed. If the only patched version is
still inside the maturity window, treat the advisory as blocked and track it until the version matures — never widen
minimumReleaseAgeExclude to force it in. If pnpm audit --fix adds such an exclusion, revert it; do not accept the
silent, still-vulnerable fallback or compensate for maturity failures with config changes.See references/pnpm.md and references/npm.md for the per-manager commands (on pnpm 10 pnpm audit --fix rewrites
overrides automatically; npm never writes overrides, so its flow relies on npm audit fix without --force plus
manual targeted overrides).
Run the narrowest meaningful checks first, then broaden by blast radius:
If a command cannot run, report why. If CI fails, inspect the actual logs and classify the failure as introduced by the update, exposed baseline debt, or external/non-actionable.
Open the PR only after local validation is green. Opening a PR is an outward-facing action, so commit the work on a dedicated branch, then pause and confirm with the user before pushing and creating the PR.
refresh dependencies.Open English follow-up issues for deferred major upgrades or blocked migration streams. Each issue should include official docs, current and target versions, expected code areas, migration plan, validation, rollout risk, and rollback notes.
Pause before contract deployments, public API breakage, package-manager migration, broad refactors, invalid override trees, or CI failures that suggest a cross-cutting regression.
references/npm.md.references/pnpm.md.scripts/eligible-updates.Source: Consensys/linea-attestation-registry — distributed by TomeVault.