Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Verify Versions And Dependencies?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ganesh-dark-verify-versions-and-dependencies)
---
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.