npm-update-deps
A safe, atomic protocol for updating npm dependencies with automated test verification and rollback.
Skill by rwgriffithv
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rwgriffithv-npm-update-deps
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/npm-update-deps
What's inside
- Skill name
npm-update-deps- Description
- A safe, atomic protocol for updating npm dependencies with automated test verification and rollback.
- License
- GPL-3.0
- Instructions
- 39 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## What I do
- Audit dependencies for updates.
- Execute updates in an isolated, atomic manner.
- Run test suites to verify stability.
- Automatically revert changes if tests fail.
## When to use me
Use this skill whenever you need to update a library, patch a vulnerability, or keep the project dependencies current.
## Execution Rules
### Phase 1: Audit
- Execute `npm outdated` to identify available updates.
- **Constraint:** Do not update all packages at once. Select one specific package to update per iteration.
### Phase 2: Pre-Update Snapshot
- Ensure the repository is clean (`git status`).
- Query `manage-memory` to see if there are existing notes about this dependency (e.g., "Note: Updating X broke Y in the past").
### Phase 3: The Update & Verify Loop
1. **Update:** Run `npm install <package>@latest`.
2. **Verify:** Run the full test suite.
- Execute `npm run test` (Unit tests).
- Execute `playwright-ui-test` (E2E tests) if the package is UI-related.
3. **Decision:**
- **If Success:** Stage the changes, commit with a clear message (e.g., "chore: update <package> to <version>"), and proceed to Phase 4.
- **If Failure:** Immediately trigger the **Rollback Protocol**.
### Phase 4: Rollback Protocol
- Execute: `git checkout -- package.json package-lock.json`
- Execute: `npm install` (to restore the node_modules state).
- Report the failure to the user, including the test output logs.
### Phase 5: Knowledge Persistence
- If the update is successful, use `manage-memory` to log the change.
- **Tagging:** Use `tags: ["dependency-update", "chore"]`.
- This ensures that if the update causes issues later, you can easily trace which dependency version change introduced the regression.From rwgriffithv/agent-dev-env, GPL-3.0.
More from rwgriffithv/agent-dev-env
- 0.469score
playwright-ui-test
rwgriffithv
Perform automated UI testing and interaction verification using Playwright.
SkillCFreshness: CClaude Code +9 - 0.469score
audit-code-quality
rwgriffithv
Proactive scan of codebase for security, linting, and architectural integrity.
SkillCFreshness: CClaude Code +9 - 0.469score
manage-memory
rwgriffithv
Manage the project Knowledge Graph; create associative links between concepts, code, and decisions.
SkillCFreshness: CClaude Code +9 - 0.469score
scaffold-nextjs-route
rwgriffithv
Standardized SOP for scaffolding new Next.js App Router features, pages, and routes.
SkillCFreshness: CClaude Code +9 - 0.469score
web-research
rwgriffithv
Conduct web research and synthesize external documentation using Brave Search and Web Fetch.
SkillCFreshness: CClaude Code +9 - 0.469score
architect-feature
rwgriffithv
High-level design and planning protocol for complex feature implementation.
SkillCFreshness: CClaude Code +9 - 0.469score
debug-failure-log
rwgriffithv
Root cause analysis protocol for transforming runtime logs/stack traces into actionable code fixes.
SkillCFreshness: CClaude Code +9 - 0.469score
explore-code
rwgriffithv
Research and verify concepts across documentation and source code in the repository.
SkillCFreshness: CClaude Code +9 - 0.464score
debian-container-debug
rwgriffithv
Diagnose file permission, process, and networking issues inside a Debian container
SkillCFreshness: CClaude Code +9 - 0.464score
api-curl-test
rwgriffithv
Safely construct, execute, and parse API requests using curl
SkillCFreshness: CClaude Code +9 - 0.464score
sqlite-audit
rwgriffithv
Safely inspect and query SQLite databases without causing data loss
SkillCFreshness: CClaude Code +9 - 0.464score
npm-test
rwgriffithv
Execute the test suite using `npm test` and analyze failures
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 25, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/rwgriffithv/agent-dev-env
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from rwgriffithv
- 0.469score
playwright-ui-test
rwgriffithv
Perform automated UI testing and interaction verification using Playwright.
SkillCFreshness: CClaude Code +9 - 0.469score
audit-code-quality
rwgriffithv
Proactive scan of codebase for security, linting, and architectural integrity.
SkillCFreshness: CClaude Code +9 - 0.469score
manage-memory
rwgriffithv
Manage the project Knowledge Graph; create associative links between concepts, code, and decisions.
SkillCFreshness: CClaude Code +9 - 0.469score
scaffold-nextjs-route
rwgriffithv
Standardized SOP for scaffolding new Next.js App Router features, pages, and routes.
SkillCFreshness: CClaude Code +9 - 0.469score
web-research
rwgriffithv
Conduct web research and synthesize external documentation using Brave Search and Web Fetch.
SkillCFreshness: CClaude Code +9 - 0.469score
architect-feature
rwgriffithv
High-level design and planning protocol for complex feature implementation.
SkillCFreshness: CClaude Code +9
Cite this page
npm-update-deps skill. Agent Mart. https://agentmart.dev/skills/rwgriffithv-npm-update-deps (last updated 2026-10-24)