Skip to content
Back to skills

Verify Versions And Dependencies

ASecurity

Use before writing third-party imports, library calls, or adding new packages. Prevents hallucinated APIs, version mismatches, and dependency bloat.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsgoreactapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add Ganesh-Dark/ai-coding-agent-skills --skill verify-versions-and-dependencies --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Versions And Dependencies?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verify Versions And Dependencies
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ganesh-dark-verify-versions-and-dependencies/badge)](https://www.skillsdirectory.com/skills/ganesh-dark-verify-versions-and-dependencies)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verify-versions-and-dependencies
description: Use before writing third-party imports, library calls, or adding new packages. Prevents hallucinated APIs, version mismatches, and dependency bloat.
---

# Verify Versions and Dependencies

Models frequently mix up v1 and v2 syntax, invent method names that sound plausible, or install a new package when three lines of standard library code would solve the problem.

## Rules

- Check the installed version first. Read `requirements.txt`, `pyproject.toml`, or `package.json`, or run `pip show <pkg>` / `npm list <pkg>` before using a third-party library.
- When you are unsure about a parameter name, return type, or CLI flag, inspect the installed module's signature or run `--help` instead of guessing from memory.
- Never mix syntax across major versions, such as Pydantic v1 `.dict()` with v2 `.model_dump()`, or React Router v5 `Switch` with v6 `Routes`.
- Match the libraries and client wrappers the project already uses. Do not introduce a second HTTP client or logging library when one is already configured.
- Do not add a new external dependency unless the task truly needs it and the user agrees. Never install unverified or near-miss package names.

## Example

Bad:
Calling `user.dict()` in a Pydantic v2 codebase from memory without checking `requirements.txt`, or installing a third-party package just to flatten a nested list.

Good:
Checking `pip show pydantic` first, confirming v2.x is installed, using `.model_dump()`, and writing a two-line list comprehension instead of adding a dependency.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.