# Dependency Safety

> >-

- **Type:** Skill
- **Install:** `agentstack add skill-orionicsltd-claude-skills-dependency-safety`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [OrionicsLtd](https://agentstack.voostack.com/s/orionicsltd)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [OrionicsLtd](https://github.com/OrionicsLtd)
- **Source:** https://github.com/OrionicsLtd/claude-skills/tree/main/dependency-safety

## Install

```sh
agentstack add skill-orionicsltd-claude-skills-dependency-safety
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Dependency safety

**Changes are minimal — only what is necessary.**

## Default to no change

Before touching a dependency, ask: **is this necessary?** Only add, upgrade, or
pin one for a concrete reason — a bug you need fixed, a security advisory, a
feature the task actually requires. If the task works with what's already there,
change nothing.

- **Don't add a package for something small** — prefer the standard library or an
  existing dependency over a new package for a few lines of functionality.
- **Don't upgrade unrelated packages** — a bump that isn't part of the task is
  scope creep and a review burden. Leave it out.
- **Don't regenerate the lockfile casually** — `uv lock`/`uv sync` (or `npm install`,
  `poetry update`, `cargo update`) can silently re-resolve dozens of
  transitive deps. Regenerate only when you mean to, then review the diff.

## Review the lockfile diff

After any dependency change, **read the lock diff** and confirm only what you
intended moved:

- If a package you didn't touch changed version, stop and find out why — an
  accidental transitive bump is the most common silent regression.
- Scrutinize **compiled / C-extension packages** (numpy, pandas, pyarrow,
  cryptography, grpcio, pillow, …). They carry native ABI constraints and
  are the most likely to break a runtime that looked fine at build time.
- If a stray command rewrote the lock, restore it (`git checkout  -- `)
  rather than committing an unintended re-resolve.

## Pin with intent

- Prefer an explicit, minimal version constraint over "latest." Know what a change
  to a bound actually allows before you widen or bump it.
- If a resolver setting controls reproducibility (e.g. uv's `exclude-newer`), keep
  it valid for the tool version in use — a value an older tool can't parse may be
  silently ignored, letting the resolver pull the newest of everything.

## When debugging, change one thing at a time

If a dependency/runtime issue is already burning, resist shotgun fixes (bump the
package *and* swap the base *and* re-lock at once). Change one variable, verify,
then the next — otherwise you won't know what actually fixed it, and you risk
trading one silent drift for another.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [OrionicsLtd](https://github.com/OrionicsLtd)
- **Source:** [OrionicsLtd/claude-skills](https://github.com/OrionicsLtd/claude-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-orionicsltd-claude-skills-dependency-safety
- Seller: https://agentstack.voostack.com/s/orionicsltd
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
