add-dep

Install a Python package, validate its import, and pin the version in requirements.txt.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bigdegenenergy/ai-dev-toolkit --skill add-dep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-dep
Source: https://github.com/bigdegenenergy/ai-dev-toolkit/tree/main/profiles/python/.claude/skills/add-dep
Command: npx skills add https://github.com/bigdegenenergy/ai-dev-toolkit --skill add-dep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely install a Python package, verify it imports correctly, and pin it to requirements.txt to ensure deterministic environments.

Core Features & Use Cases

  • Install a package with verification to ensure the module imports correctly.
  • Pin the installed version to requirements.txt to prevent drift.
  • Handle common import-name mappings and version specifiers to keep environments stable.

Quick Start

Install a package, verify it imports successfully, and pin its exact version to requirements.txt.

Frequently Asked Questions about add-dep

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

FAQPage Schema
How do I install a Python package and verify it imports correctly?

To install a Python package safely, automate the installation process to validate that the module imports correctly before pinning its exact version in requirements.txt, ensuring deterministic environments and preventing dependency drift.

What is the best way to pin Python dependencies in requirements.txt?

Pinning Python dependencies in requirements.txt involves freezing the exact installed version of a package after verifying its import, which prevents environment drift across development and CI environments by maintaining deterministic builds.

Why does my Python package import fail after adding it to requirements.txt?

A Python package import might fail because the installed package name differs from its import name, requiring import-name mappings to validate correctly, or because the version was not properly pinned and verified during installation.

Can I use automated dependency validation for Python projects in CI environments?

Yes, you can use automated dependency validation in CI environments to safely install packages, validate imports, and pin exact versions in requirements.txt, ensuring deterministic environments across development and continuous integration pipelines.

How do I handle Python package-name mappings when verifying imports?

Handling Python package-name mappings involves applying common import-name mappings during the installation process to verify that the module imports correctly, ensuring the installed package name aligns with its actual import identifier.

What are the limitations of pinning exact versions in requirements.txt?

Pinning exact versions in requirements.txt ensures deterministic environments but requires validating imports and handling package-name mappings manually when updating or adding dependencies, which can limit automatic version updates if not properly managed.