Agent skill · software engineering · aiskillstore

dependency-sync

Detect new imports in modified files and auto-install missing dependencies. Works with npm, uv, pip, cargo, go mod, and other package managers. Triggers after code implementation to keep manifests in sync.

Why this skill is useful

Adds executable scripts for auto-installing missing dependencies across multiple package managers, which the AI cannot generate from knowledge alone.

What it needs

Requires cargo, git, go, npm, pip installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Dependency Sync Skill Automatically detect new imports in modified code files and update package manifests. This skill ensures that when code is written that uses new dependencies, the appropriate manifest files (package.json, pyproject.toml, requirements.txt, etc.) are updated automatically. Variables Variable Default Description ---------- --------- ------------- AUTOINSTALL true Automatically install detected dependencies PROMPTBEFOREINSTALL false Ask user before installing (overrides AUTOINSTALL) INCLUDEDEVDEPS true Detect dev dependencies (test frameworks, linters) COMMITCHANGES true Commit manifest changes as part of the task TRIGGERDOCSAUDIT true Run docs-audit --new-only after adding deps Instructions MANDATORY - Follow the Workflow steps below in order. Do not skip steps. 1. Detect modified files from git diff or implementation context 2. Parse imports/requires from modified files 3. Compare against current manifest dependencies 4. Identify package manager for the project 5. Install missing dependencies 6. Optionally trigger docs-audit for new libraries Red Flags - STOP and Reconsider If you're about to: Install a package without verifying the import is actually used Skip manifest detection (assuming package manager) Install to wrong manifest (e.g., devDependencies vs dependencies) Install without checking if package exists in registry STOP -> Verify the import is real -> Check manifest -> Then install Workflow 1. Gather Modified Files Identify files that were modified in the current implementation: 2. Extract Imports Parse imports from each modified file based on language: Language Import Pattern ---------- ---------------- Python import X, from X import Y TypeScript/JavaScript import X from 'Y', require('Y') Go import "X" Rust use X::Y, extern crate X 3. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/dependency-sync

View the source on GitHub

Browse the @skills marketplace