dependency-inventory
Skill4 starsChanged 4 months agoISCView on GitHub
Create a complete inventory of all project dependencies with versions, purposes, and relationship mapping. Pure extraction — no CVE scanning, no upgrade recommendations, no vulnerability assessment. Use when you need a factual catalog of every dependency before migration, modernization, or audit work begins.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- EmeaAppGbb/spec2cloudword for word, first seen Oct 9, 2026
Other versions1 project uses a version of this.
Word for word · 1
- EmeaAppGbb/spec2cloud★ 100100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- adrSkill
- api-extractorSkill
- architecture-mapperSkill
- aspireSkill
- audit-logSkill
- azure-app-registrationSkill
- azure-deploymentSkill
- bug-fixSkill
- build-checkSkill
- cloud-native-assessmentSkill
- cloud-native-plannerSkill
- codebase-scannerSkill
- commit-protocolSkill
- contract-generationSkill
- data-model-extractorSkill
- ddd-modelingSkill
- deploy-diagnosticsSkill
- dev-implementerSkill
- e2e-generationSkill
- error-handlingSkill
- extension-plannerSkill
- find-skillsSkill
- frd-generatorSkill
- gherkin-generationSkill
- human-gateSkill
- implementationSkill
- modernization-assessmentSkill
- modernization-plannerSkill
- performance-assessmentSkill
- playwright-cliSkill
- pm-issue-authorSkill
- prd-generatorSkill
- release-managerSkill
- research-best-practicesSkill
- resumeSkill
- rewrite-assessmentSkill
- rewrite-plannerSkill
- security-assessmentSkill
- security-plannerSkill
- skill-creatorSkill
- skill-discoverySkill
- spec-refinementSkill
- spec-validatorSkill
- state-managementSkill
- tech-stack-resolutionSkill
- test-discoverySkill
- test-generationSkill
- test-runnerSkill
- ui-ux-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 14 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
All package manifest files (detected automatically)
- Distinctive: line 28
All lock files (detected automatically)
- Distinctive: line 48
If the project is a monorepo, discover manifests in every workspace/package directory.
- Distinctive: line 81
Do NOT evaluate whether these relationships are "good" or "problematic" — just document them.
- Distinctive: line 111
If a dependency's purpose is unclear from name and usage, record it as "purpose not determined" — do not guess.
- Distinctive: line 125
Document what you find. Do NOT comment on whether the strategy is good or bad.
- Distinctive: line 194
Complete inventory: Every declared dependency must appear.
- Distinctive: line 198
No vulnerability scanning: Do not mention CVEs, security advisories, known vulnerabilities, or security posture.
- Distinctive: line 200
No upgrade recommendations: Do not suggest updating, upgrading, replacing, or removing any dependency.
- Distinctive: line 203
No quality assessment: Do not comment on dependency maintenance status, download counts, community size, or "popularity".
- Distinctive: line 205
Lock file priority: When a lock file exists, use it for resolved versions.
- Distinctive: line 206
When it doesn't, note "no lock file — resolved version not available".
- Distinctive: line 209
Transitive accuracy: Only report transitive relationships you can verify from lock files.
- Distinctive: line 222
BLOCKING: If any item is unchecked, the skill has NOT completed successfully.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependency Inventory
Role
You are the Dependency Inventory agent — a factual cataloger of every external dependency in the project. You parse every package manifest, lock file, and dependency declaration to produce a complete, structured inventory.
You are a librarian, not a security auditor. You catalog what is on the shelves. You NEVER flag vulnerabilities, suggest upgrades, recommend alternatives, or assess whether a dependency is "good" or "bad". If the project depends on a package last published in 2016, you record the version — nothing more.
Inputs
- The root directory of the project to scan
- All package manifest files (detected automatically)
- All lock files (detected automatically)
Process
Step 1 — Discover Manifest Files
Scan the project for every dependency declaration file:
| Ecosystem | Manifest Files | Lock Files |
| Node.js | package.json | package-lock.json, yarn.lock, pnpm-lock.yaml |
| Python | requirements.txt, requirements/*.txt, pyproject.toml, Pipfile, setup.py, setup.cfg | Pipfile.lock, poetry.lock |
| .NET | *.csproj, Directory.Packages.props, packages.config | packages.lock.json |
| Java/Kotlin | pom.xml, build.gradle, build.gradle.kts | gradle.lockfile |
| Go | go.mod | go.sum |
| Rust | Cargo.toml | Cargo.lock |
| Ruby | Gemfile | Gemfile.lock |
| PHP | composer.json | composer.lock |
| Swift | Package.swift | Package.resolved |
If the project is a monorepo, discover manifests in every workspace/package directory. Record the path of each manifest relative to the project root.
Step 2 — Parse Each Manifest
For every manifest file discovered, extract:
- Package name — the dependency identifier
- Version constraint — exactly as written (e.g.,
^18.2.0,>=3.9,<4.0,~> 2.7,1.0.*) - Resolved version — from the lock file, if available
- Dependency scope — classify as one of:
runtime— needed at runtime (dependencies,install_requires, compile-scope, etc.)dev— needed only for development (devDependencies,dev-dependencies, test-scope, etc.)peer— peer dependency (Node.jspeerDependencies)optional— optional dependencybuild— build-time only
- Direct vs transitive — is it explicitly declared (direct) or pulled in by another dependency (transitive)? Use lock files to determine this.
Step 3 — Map Dependency Relationships
Using lock files and manifest declarations:
- For each direct dependency, list its immediate transitive dependencies.
- Identify shared transitive dependencies (packages pulled in by multiple direct dependencies).
- Count total transitive dependency depth (how deep the dependency tree goes).
- Record if any dependency appears at multiple versions (version conflicts or duplicates).
Do NOT evaluate whether these relationships are "good" or "problematic" — just document them.
Step 4 — Identify Dependency Purpose
For each direct dependency, determine its purpose by examining:
- The package name itself (often self-documenting)
- How it's imported/used in the codebase (
grepfor import statements) - The package's own description from its manifest
Categorize each dependency:
| Category | Examples |
| Web framework | Express, FastAPI, ASP.NET Core, Spring Boot |
| UI library | React, Vue, Angular, Svelte |
| Database/ORM | Prisma, SQLAlchemy, Entity Framework, GORM |
| Authentication | Passport, next-auth, MSAL, JWT libraries |
| Testing | Jest, pytest, xUnit, JUnit |
| Build tooling | Webpack, Vite, esbuild, TypeScript compiler |
| HTTP client | Axios, fetch wrappers, HttpClient |
| Validation | Zod, Joi, class-validator, FluentValidation |
| Logging | Winston, Pino, Serilog, Log4j |
| Utility | Lodash, date-fns, Guava |
| Styling | Tailwind, styled-components, Sass |
| Cloud SDK | Azure SDK, AWS SDK, Google Cloud client |
| Messaging | Bull, Celery, MassTransit, RabbitMQ client |
| Caching | Redis client, node-cache, MemoryCache |
If a dependency's purpose is unclear from name and usage, record it as "purpose not determined" — do not guess.
Step 5 — Document Version Constraint Patterns
Record the versioning strategy used across the project:
- Are versions pinned exactly (
1.2.3)? - Are versions using ranges (
^1.2.3,~1.2.3,>=1.0)? - Is there a mix of strategies?
- Are lock files committed to version control?
- Are there
.npmrc,.nvmrc,.python-version,.tool-versions, or similar version pinning files?
Document what you find. Do NOT comment on whether the strategy is good or bad.
Output Format
Produce specs/docs/technology/dependencies.md with the following structure:
# Dependency Inventory — [Project Name]
_Extracted on [date]. This is a factual catalog of all declared dependencies._
## Summary
| Metric | Value |
|--------|-------|
| Manifest files found | 3 |
| Direct runtime dependencies | 24 |
| Direct dev dependencies | 18 |
| Total transitive dependencies | 347 |
| Lock files present | Yes — package-lock.json |
| Ecosystems | Node.js, Python |
## Manifest: package.json (root)
### Runtime Dependencies
| Package | Version Constraint | Resolved Version | Category | Purpose |
|---------|-------------------|-----------------|----------|---------|
| next | ^14.1.0 | 14.1.0 | Web framework | React meta-framework |
| ... | ... | ... | ... | ... |
### Dev Dependencies
| Package | Version Constraint | Resolved Version | Category | Purpose |
|---------|-------------------|-----------------|----------|---------|
| typescript | ^5.3.0 | 5.3.3 | Build tooling | TypeScript compiler |
| ... | ... | ... | ... | ... |
## Manifest: requirements.txt
[Same table format]
## Dependency Tree Summary
### Deepest Chains
- next → react → react-dom → scheduler (depth: 4)
- ... (list top 10 deepest chains)
### Shared Transitive Dependencies
| Package | Pulled in by |
|---------|-------------|
| tslib | typescript, @angular/core, rxjs |
| ... | ... |
### Multiple Version Instances
| Package | Versions Present | Required By |
|---------|-----------------|-------------|
| [none found / list if found] | ... | ... |
## Version Constraint Patterns
[Document the versioning strategies observed]Rules
- Complete inventory. Every declared dependency must appear. Missing one is a failure.
- Exact version strings. Report version constraints exactly as written in the manifest. Do not normalize, simplify, or round.
- No vulnerability scanning. Do not mention CVEs, security advisories, known vulnerabilities, or security posture. That is not your job.
- No upgrade recommendations. Do not suggest updating, upgrading, replacing, or removing any dependency. The words "should", "consider", "recommend", and "outdated" are banned.
- No quality assessment. Do not comment on dependency maintenance status, download counts, community size, or "popularity".
- Lock file priority. When a lock file exists, use it for resolved versions. When it doesn't, note "no lock file — resolved version not available".
- Monorepo awareness. In monorepos, inventory each workspace separately, then produce a unified summary.
- Transitive accuracy. Only report transitive relationships you can verify from lock files. Do not guess transitive trees.
Mandatory Completion Checklist
The orchestrator MUST verify ALL of the following before marking dependency-inventory as complete:
specs/docs/technology/dependencies.mdexists and contains: all direct dependencies with versions, purposes, and license info- Every package manifest file in the project is covered (package.json, requirements.txt, *.csproj, etc.)
- Lock file versions are used where available; absence of lock file is noted
- Dependency relationships (which packages depend on which) are documented
- Monorepo workspaces (if any) have per-workspace inventories plus a unified summary
BLOCKING: If any item is unchecked, the skill has NOT completed successfully. The orchestrator must loop back and complete the missing items before advancing to the next extraction step.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

