dependency-management
Dependency management specialist. Use when updating dependencies, scanning for vulnerabilities, analyzing dependency trees, or ensuring license compliance. Handles npm, pip, maven, and other package managers.
What this skill does
# Dependency Management This skill manages project dependencies including updates, vulnerability scanning, license compliance, and dependency tree optimization. ## When to Use This Skill - When updating project dependencies - When scanning for security vulnerabilities - When analyzing dependency trees - When ensuring license compliance - When resolving version conflicts - When optimizing dependency usage ## What This Skill Does 1. **Dependency Analysis**: Identifies unused dependencies and version conflicts 2. **Vulnerability Scanning**: Finds and fixes known security vulnerabilities 3. **License Compliance**: Verifies dependency licenses are compatible 4. **Safe Updates**: Updates dependencies with testing and validation 5. **Tree Optimization**: Optimizes dependency trees and reduces bloat 6. **Version Management**: Resolves version conflicts and updates ## Helper Scripts This skill includes Python helper scripts in `scripts/`: - **`parse_dependencies.py`**: Parses dependency files (package.json, requirements.txt, pyproject.toml). Outputs JSON with parsed dependencies and metadata. ```bash python scripts/parse_dependencies.py package.json requirements.txt ``` ## How to Use ### Manage Dependencies ``` Update all dependencies and check for vulnerabilities ``` ``` Scan dependencies for security issues ``` ### Specific Tasks ``` Check license compatibility for all dependencies ``` ## Management Process ### 1. Analyze Dependencies **Using Helper Script:** The skill includes a Python helper script for parsing dependency files: ```bash # Parse dependency files python scripts/parse_dependencies.py package.json requirements.txt pyproject.toml ``` **Package Manager Tools:** - npm: `npm outdated`, `npm list` - pip: `pip list --outdated` - maven: `mvn versions:display-dependency-updates` - gradle: `gradle dependencyUpdates` ### 2. Scan for Vulnerabilities **Tools:** - npm: `npm audit` - pip: `pip-audit` - maven: OWASP Dependency Check - gradle: Dependency Check plugin ### 3. Check Licenses **Process:** - List all dependency licenses - Check compatibility with project license - Identify any incompatible licenses - Provide license report ### 4. Update Dependencies **Safe Update Process:** 1. Check for updates 2. Review changelogs 3. Update incrementally 4. Run tests after each update 5. Verify functionality ## Examples ### Example 1: Vulnerability Scan **Input**: Scan for vulnerabilities **Output**: ```markdown ## Dependency Vulnerability Scan ### Critical Vulnerabilities **1. lodash (4.17.20)** - **Severity**: High - **Issue**: Prototype Pollution - **Fix**: Update to 4.17.21 ```bash npm update lodash ``` **2. express (4.16.4)** - **Severity**: Medium - **Issue**: Path Traversal - **Fix**: Update to 4.18.2 ```bash npm update express ``` ### Summary - **Total vulnerabilities**: 5 - **Critical**: 1 - **High**: 2 - **Medium**: 2 ``` ## Reference Files For package manager-specific commands and patterns, load reference files as needed: - **`references/package_managers.md`** - Commands and patterns for npm, pip, Poetry, Maven, Gradle, Cargo, and common dependency management patterns - **`references/DEPENDENCY_AUDIT.template.md`** - Dependency audit report template with vulnerabilities, outdated packages, license compliance When working with specific package managers, load `references/package_managers.md` and refer to the relevant package manager section. ## Best Practices ### Dependency Management 1. **Regular Updates**: Update dependencies regularly 2. **Security First**: Prioritize security updates 3. **Test After Updates**: Always test after updating 4. **Lock Files**: Use lock files (package-lock.json, yarn.lock) 5. **Version Pinning**: Pin critical dependencies ## Related Use Cases - Dependency updates - Security vulnerability scanning - License compliance - Dependency tree optimization - Version conflict resolution
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.