# dependency-handling

The dependency-handling skill makes an agent verify dependency details before writing code that uses them. It helps when adding or upgrading a library, API, IaC version, CRD, or container image.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 155 repo stars
- Author: serpro69
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/dependency-handling/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/dependency-handling

## What it does

Before an agent writes or changes a call, import, setting, or version involving a dependency, the skill sets out a lookup sequence. First, identify the dependency, its version constraint, and the API surface in question. Then check the Capy knowledge base and use Context7 to retrieve documentation. Web search is the fallback when Context7 does not cover the dependency.

The documentation version must match the version used by the project. For a new dependency, the skill advises choosing the latest stable release and pinning it deliberately. Documentation for a different release can lead to an incorrect call or configuration. Useful findings can be added to `kk:lang-idioms`.

## Requirements
- Works with: Kubernetes, Terraform, Context7

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill dependency-handling -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/dependency-handling/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/dependency-handling/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill dependency-handling -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/dependency-handling/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill dependency-handling -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/dependency-handling/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install serpro69/claude-toolbox kodex-plugin/skills/dependency-handling
```

2. **Manually: put the files in place**
- File: `.github/skills/dependency-handling/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill dependency-handling -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/serpro69/claude-toolbox --path kodex-plugin/skills/dependency-handling
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/dependency-handling/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/dependency-handling/SKILL.md

## When to use it
- check an API before writing a call
- match documentation to the dependency version
- find project conventions for a new library
- verify a CRD or container image version

## Example prompts
- Check the SDK API and version before adding it to this project.
- Look up this library’s documentation for the version in the project before writing the import.
- Verify the Kubernetes API version and CRD details before changing the configuration.

## Similar
- [context7](https://affpapa.org/en/nevibecode/skills/julianobarbosa-context7.md) — skill · 114 installs
- [gke-alert-configuration](https://affpapa.org/en/nevibecode/skills/gke-alert-configuration.md) — skill · 3600 installs
- [code-security](https://affpapa.org/en/nevibecode/skills/code-security.md) — skill · 2900 installs
- [senior-devops](https://affpapa.org/en/nevibecode/skills/senior-devops.md) — skill · 1018 installs
- [oci](https://affpapa.org/en/nevibecode/skills/oci.md) — skill · 598 installs
- [policy-as-code](https://affpapa.org/en/nevibecode/skills/policy-as-code.md) — skill · 384 installs

From the same set: [serpro69/claude-toolbox](https://affpapa.org/en/nevibecode/by/serpro69/claude-toolbox.md) — 30 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
