update-deps
하는 일
이 스킬은 업데이트하기 전에 오래된 JavaScript 패키지의 안전성을 확인합니다. 숨은 위험을 떠안지 않고 npm 또는 Bun 프로젝트를 최신으로 유지하려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Bun이나 JavaScript 프로젝트의 패키지를 업데이트하기 전에 점검이 필요할 때.
- ✓패키지 업데이트가 이상해 보이거나 잘 모르는 관리자에게서 왔을 때.
- ✓어떤 패키지가 업데이트되었고 어떤 것이 보류되었는지 기록을 남기고 싶은 경우.
스킬 링크
https://github.com/backnotprop/plannotator/blob/main/.agents/skills/update-deps/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 프로젝트의 오래된 패키지를 확인하고, 안전 점검을 통과한 것만 업데이트해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 새 버전이 있는 패키지를 나열한 뒤, 각 패키지의 관리자, 배포 시점, 코드 변경, 출처를 확인합니다. 안전한 것은 업데이트하고, 위험한 것은 사람이 검토하도록 따로 두며, 각 결정을 기록합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Update Dependencies
Audit outdated packages, verify supply chain integrity, bump what's safe, defer what needs review, and log everything.
This process has three phases: discovery, integrity audit, and execution. The integrity audit is the most important — every package gets checked before it touches the lockfile.
Phase 1: Discovery
Run bun outdated to get the full list of packages with available updates.
bun outdated
Parse the output into a structured list. For each package, note:
- Package name
- Current version
- Available update version
- Whether it's age-gated (indicated by
*in the output — the footnote "The * indicates that version isn't true latest due to minimum release age" confirms this) - Whether it's a runtime dep, dev dep, or peer dep
Also check whether any packages are blocked entirely by the age gate (like @pierre/diffs was when its minimum semver range couldn't resolve). Flag these separately — they may need minimumReleaseAgeExcludes in bunfig.toml.
Phase 2: Integrity Audit
This is the core of the process. Spawn one Sonnet sub-agent per package to run the integrity check in parallel. Sonnet is used here because these are independent, structured verification tasks that don't need heavier reasoning.
Each sub-agent receives the package name, current version, and target version, and performs the following checks:
Sub-agent prompt template
For each outdated package, spawn a Sonnet agent with this task:
You are auditing the npm package "{package}" for a version bump from {current} to {target}.
Run these checks and report back with a JSON object:
1. **Maintainer verification**: Check if maintainers changed between versions.
npm view {package}@{current} maintainers --json
npm view {package}@{target} maintainers --json
Compare the two lists. Flag any additions or removals.
2. **Publish date and age**: Get the publish timestamp.
npm view {package} time --json
Extract the date for version {target}. Calculate days since publication.
Flag if younger than 7 days.
3. **Provenance**: Check if the package has registry signatures or attestations.
npm audit signatures (if not already run this session)
Note whether the package has provenance attestations.
4. **Tarball diff**: Show what actually changed in the published package.
npm diff --diff={package}@{current} --diff={package}@{target}
Summarize the changes:
- How many files changed
- Are changes limited to version bumps, deps, and rebuilt dist? Or are there meaningful source changes?
- Any new runtime dependencies added?
- Any suspicious patterns (obfuscated code, eval(), network calls in unexpected places)
5. **Release notes**: Try to find what changed.
Check the package's repository for release notes or changelog:
npm view {package}@{target} repository.url
gh release view v{target} --repo <owner/repo> (try with and without v prefix)
Summarize the changelog if found.
Report your findings as JSON:
{{
"package": "{package}",
"from": "{current}",
"to": "{target}",
"age_days": <number>,
"maintainers_changed": <boolean>,
"maintainers_added": [],
"maintainers_removed": [],
"provenance": <boolean>,
"new_runtime_deps": [],
"files_changed": <number>,
"has_source_changes": <boolean>,
"changelog_summary": "<brief summary>",
"suspicious_patterns": [],
"verdict": "safe" | "review" | "defer",
"verdict_reason": "<one sentence explanation>"
}}
Verdict guidelines:
- "safe": Same maintainers, no new runtime deps, changes match what changelog describes, no suspicious patterns
- "review": Minor concerns (e.g., new maintainer who is clearly from the same org, small new dep from known publisher)
- "defer": Maintainer changes from unknown accounts, new runtime deps with unclear purpose, suspicious code patterns, substantive API changes that need integration testing
Collecting results
As sub-agents complete, collect their JSON reports. If a sub-agent fails or times out, mark that package as "defer" with reason "audit failed".
Tier classification
After collecting all results, classify packages into tiers. This helps the user understand the risk profile at a glance:
| Tier | Description | Typical action |
|---|---|---|
| Runtime, high surface | Libraries your code calls directly (parsers, diff engines, UI libs) | Check provenance, review diff, run tests |
| SDK/API deps | Third-party service SDK |
자주 묻는 질문
출처란 무엇인가요?
패키지가 어디서 빌드되고 배포되었는지에 대한 증명으로, 실제 원본에서 왔는지 확인하는 데 도움이 됩니다.
모든 패키지를 한꺼번에 업데이트하나요?
아닙니다. 각 패키지는 잠금 파일(lock file)을 건드리기 전에 개별로 점검됩니다.
Bun에서만 작동하나요?
단계는 Bun outdated 명령으로 시작하므로 Bun 프로젝트에 맞춰져 있습니다.
상세 정보
작성자의 원본 설명
Audit and update npm/Bun dependencies with supply chain integrity checks — verifies maintainers, publish age, tarball diffs, and provenance before bumping. Defers risky packages to ~/.supply-chain/notes/.
repo: backnotprop/plannotator
인기도
- GitHub 스타
- 9.8k
- 순위
- #12192
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
plannotator-annotate
9.8k에이전트가 파일, 폴더 또는 웹 페이지를 Plannotator 주석 화면에 열고, 여러분이 표시한 메모에 따라 행동하도록 돕습니다.
plannotator-review
9.8k에이전트가 여러분의 변경 사항, 폴더 또는 풀 리퀘스트를 브라우저 코드 검토로 열고, 남긴 피드백을 수정하도록 돕습니다.
plannotator-annotate
9.8k에이전트가 계획이나 명세를 Plannotator에서 주석 또는 승인받게 돕고, 남긴 피드백에 따라 행동하도록 합니다.
plannotator-last
9.8k에이전트가 마지막 답변을 Plannotator에서 열어, 여러분이 주석을 달면 그 메모를 바탕으로 답을 수정하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.