Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

update-deps更新部门

Agent Skill

update-deps 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

408

周安装

17

GitHub Stars

37,907

下载量

136
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:update-deps(更新部门)
来源仓库:https://github.com/rssnext/folo
仓库路径:skills/update-deps
安装命令:
npx skills add https://github.com/rssnext/folo --skill update-deps
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/rssnext/folo --skill update-deps

简介

update-deps 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于信息调研、资料搜集和线索筛选等研究类任务场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Update All Dependencies

Update all npm dependencies across the frontend (current repo) and backend projects. This skill handles the full update workflow including changelog review, code impact analysis, testing, and summarization.

Step 0: Ask for backend directory

Ask the user for the backend project directory path. Do NOT hardcode any path. Example prompt:

Please provide the backend project directory path (e.g., /path/to/backend).

Wait for the user's response before proceeding. Save the path as BACKEND_DIR for later use.

Step 1: Analyze current dependencies

Frontend (current repo)

  1. Run pnpm outdated --recursive in the current repo root to identify all outdated dependencies.
  2. Save the full output for later analysis.

Backend

  1. Run pnpm outdated --recursive in BACKEND_DIR to identify all outdated dependencies.
  2. Save the full output for later analysis.

Present the user with a summary of how many dependencies are outdated in each project.

Step 2: Update dependencies

Strategy

Update in two phases to isolate issues:

Phase 1 — Patch and minor updates (safer):

From the pnpm outdated output, identify all dependencies where the update is a patch or minor version bump. Update them in batch:

  1. Frontend: For each patch/minor outdated package, run pnpm update <package>@latest --recursive in the repo root.
  2. Backend: For each patch/minor outdated package, run pnpm update <package>@latest --recursive in BACKEND_DIR.
Why @latest? Both projects use save-exact=true, so versions are pinned without ^ or ~. Without --latest, pnpm update only resolves within the existing range, which for exact versions is a no-op.

Phase 2 — Major updates (requires careful review):

For each dependency with a major version update available:

  1. Identify the dependency name, current version, and latest version.
  2. Read the changelog (Step 3) before updating.
  3. Only update after confirming no blocking breaking changes.
  4. Use pnpm update <package>@latest --recursive to update specific packages.

Important pnpm workspace notes:

  • The frontend project uses pnpm catalog in pnpm-workspace.yaml for some shared versions. If a dependency is managed via catalog, update the version in pnpm-workspace.yaml instead of individual package.json files.
  • Both projects use save-exact=true, so versions are pinned without ^ or ~.
  • Check patchedDependencies in pnpm-workspace.yaml or package.json — if a patched dependency is being updated, verify the patch still applies or remove it if no longer needed.

Step 3: Review changelogs for major updates

For each dependency with a major version update, you MUST read the changelog before updating.

How to find changelogs

Use these methods in order of preference:

  1. npm registry: Run npm view <package> repository.url to find the repo, then check for CHANGELOG.md or GitHub releases.
  2. GitHub releases: Search https://github.com/<owner>/<repo>/releases using WebFetch.
  3. Web search: Use WebSearch to find <package> changelog <old-version> to <new-version>.

What to look for

  • Breaking changes: API removals, renamed exports, changed defaults, dropped Node.js version support.
  • Deprecated features: Features being removed in future versions.
  • Migration guides: Official upgrade instructions.
  • Peer dependency changes: New or changed peer dependency requirements.

Document findings

For each major update, record:

  • Package name and version change (e.g., foo: 2.x → 3.x)
  • Breaking changes summary
  • Whether our code is affected (and how)

Step 4: Check affected code

For each dependency with breaking changes identified in Step 3:

  1. Use Grep to find all imports and usages of the affected package across the relevant project (frontend or backend).
  2. Read the files containing usages.
  3. Compare the usage against the breaking change description.
  4. If our code uses an affected API:

- Attempt to fix the code following the migration guide. - If the fix is complex or risky, skip updating this dependency and note it in the summary.

  1. If our code does NOT use any affected API, proceed with the update.

Step 5: Run tests and checks

After all updates are applied:

Frontend

Run these commands sequentially in the repo root and capture results:

pnpm install
pnpm typecheck
pnpm test
pnpm lint

Backend

Run these commands sequentially in BACKEND_DIR and capture results:

pnpm install
pnpm typecheck
pnpm test
pnpm lint

Handle failures

  • TypeScript errors: Read the error output, identify which updated dependency caused the issue, and fix the type errors. If unfixable, revert that specific dependency update.
  • Test failures: Analyze the failure, check if it's related to a dependency update, and fix or revert.
  • Lint errors: Run pnpm lint:fix first. If issues persist, fix manually or revert the causing update.

Repeat the test cycle until all checks pass.

Step 6: Summary

Present the user with a comprehensive summary:

Update report

## Dependencies Updated

### Frontend
- <package>: <old-version> → <new-version> (patch/minor/major)
- ...

### Backend
- <package>: <old-version> → <new-version> (patch/minor/major)
- ...

## Skipped Updates (with reasons)
- <package>: <reason why not updated>
- ...

## Key Changelog Highlights

### Breaking Changes Applied
- <package> <version>: <what changed and how we adapted>

### Notable New Features
- <package> <version>: <brief description>

### Deprecation Warnings
- <package> <version>: <what's deprecated and timeline>

## Test Results
- Frontend typecheck: ✅/❌
- Frontend tests: ✅/❌
- Frontend lint: ✅/❌
- Backend typecheck: ✅/❌
- Backend tests: ✅/❌
- Backend lint: ✅/❌

Ask the user if they want to commit the changes.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.01%
按下载量换算50

Claude

29.89%
按下载量换算41

Cursor

18.33%
按下载量换算25

Gemini CLI

9.56%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills