update-lib

Update npm dependencies, create commits, and optionally run tests in git repositories.

Updated May 18, 2026
One-click install
npx skills add https://github.com/tomsoulage-dedalus/presc-workflows-tools --skill update-lib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-lib
Source: https://github.com/tomsoulage-dedalus/presc-workflows-tools/tree/main/skills/update-lib
Command: npx skills add https://github.com/tomsoulage-dedalus/presc-workflows-tools --skill update-lib

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npm, git, python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of updating npm dependencies in a project, creating commits for bugfixes or updates, and optionally running tests.

Core Features & Use Cases

  • Dependency Update: Automatically update specified npm dependencies.
  • Commit Creation: Create commits with descriptive messages for updates and bugfixes.
  • Branch Management: Create new branches for bugfixes or work on the current branch.
  • Test Execution: Optionally run tests after updating dependencies.
  • Use Case: When you need to update a dependency in your project and create a commit for it, this Skill can handle the entire process efficiently.

Quick Start

Run the update-lib skill with the dependency name you want to update, e.g., /update-lib --lib @medication-statement/lib.

Frequently Asked Questions about update-lib

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically update npm dependencies and create a git commit?

Automating npm dependency updates and git commits is handled by scripting the update, branch creation, and commit message generation together. This Skill performs that entire process efficiently, optionally running tests after the update.

Can I run tests automatically after updating an npm dependency?

Yes, you can run tests automatically after updating an npm dependency. The workflow includes an optional test execution step that triggers once the dependency update and commit creation are complete.

What's the best way to manage git branches for npm dependency bugfixes?

Managing git branches for npm dependency bugfixes is streamlined by creating a new branch specifically for the update before applying changes. This isolates the dependency update and its corresponding commit from your main working branch.

Do I need Python and git installed to automate npm dependency updates?

Yes, you need Python, git, and npm installed in your environment. Python is required for the underlying scripting logic, while git and npm are necessary for repository management and package updates.

How to create descriptive git commits for npm package updates?

Creating descriptive git commits for npm package updates is automated by generating commit messages directly tied to the specific bugfix or update applied. This ensures the repository history accurately reflects the dependency changes.

Are there limitations to automating npm dependency updates with scripts?

Limitations of automating npm dependency updates with scripts include the strict requirement for a git repository and a configured environment with npm, git, and Python. The automation operates within the boundaries of these specific tools.