install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/check-deps-tatsuki-washimi-gwexpy" ~/.claude/skills/majiayu000-claude-skill-registry-check-deps && rm -rf "$T"
manifest:
skills/data/check-deps-tatsuki-washimi-gwexpy/SKILL.mdsource content
Check Dependencies
This skill verifies that all imported packages are declared in the project dependencies.
Instructions
-
Scan Imports:
- Use
or a script to find allgrep
andimport ...
statements infrom ... import
.gwexpy/ - Extract top-level package names (e.g., from
getnumpy.linalg
).numpy
- Use
-
Read Configuration:
- Read
anddependencies
sections inproject.optional-dependencies
.pyproject.toml
- Read
-
Compare:
- Identify packages imported but missing from configuration (Potential
).ModuleNotFoundError - Identify packages in configuration but never imported (Bloat).
- Note: Ignore standard library modules (e.g.,
,os
,sys
) and dev dependencies used only intyping
.tests/
- Identify packages imported but missing from configuration (Potential
-
Report:
- List missing dependencies.
- List potentially unused dependencies.