check-dependencies
Validate and verify dependencies are available and compatible. Use when setting up environments.
When & Why to Use This Skill
The check-dependencies Claude skill is a specialized utility designed to automate the validation and verification of software project dependencies. It ensures that all required packages are correctly installed, versions are compatible with project requirements, and the environment is properly configured. By identifying missing or incompatible modules early, it helps developers prevent runtime errors and streamlines the setup process for complex development environments.
Use Cases
- Development Environment Setup: Automatically verify that all necessary libraries and tools are correctly installed and configured immediately after cloning a new project repository.
- CI/CD Pipeline Validation: Integrate into automated workflows to ensure the build environment matches project specifications before running tests or deployments.
- Troubleshooting Import Errors: Quickly diagnose 'ModuleNotFoundError' or version mismatch issues by auditing the installation status and compatibility of specific packages.
- Version Upgrade Auditing: Check for potential conflicts and verify system stability when upgrading core libraries or changing environment configurations (e.g., switching Pixi tasks).
| name | check-dependencies |
|---|---|
| description | "Validate and verify dependencies are available and compatible. Use when setting up environments." |
| mcp_fallback | none |
| category | analysis |
| tier | 2 |
| user-invocable | false |
Check Dependencies
Verify that required dependencies are installed and compatible with the project requirements.
When to Use
- Setting up development environment
- Validating CI/CD environment configuration
- Troubleshooting import errors
- Checking version compatibility
Quick Reference
# Check Python dependencies
pip check
# Verify specific package versions
pip show package_name
# Validate pixi environment
pixi info
pixi task list
Workflow
- List requirements: Identify all declared dependencies (pixi.toml, requirements.txt)
- Verify installation: Check that all packages are installed and importable
- Check versions: Confirm version constraints are met
- Test imports: Actually import modules to detect hidden issues
- Report status: Document any missing or incompatible dependencies
Output Format
Dependency validation report:
- All declared dependencies listed
- Installation status (installed/missing)
- Installed version vs required version
- Compatibility status (compatible/incompatible)
- Issues found (if any)
References
- See CLAUDE.md > Environment Setup for Pixi configuration
- See
extract-dependenciesskill for dependency extraction - See pixi.toml in repository root for project dependencies