dependency-policy
Skill4 starsChanged 4 months agoMITView on GitHub
Audit declared dependencies, lockfiles, tool versions, compatibility, licenses, and upgrade evidence before implementation or release.
In this repository31 other files it gives its agents.
- accessibility-gateSkill
- agent-isolationSkill
- architecture-builderSkill
- board-doctorSkill
- brownfield-onboardingSkill
- business-modelSkill
- content-designSkill
- context-preflightSkill
- database-migrationSkill
- defect-huntingSkill
- design-systemSkill
- git-pr-strategySkill
- growth-analysisSkill
- house-conventionsSkill
- ic-workflowSkill
- intent-traceSkill
- interaction-motionSkill
- localisationSkill
- mutation-testingSkill
- parallel-orchestratorSkill
- performance-reviewSkill
- policy-checkerSkill
- prd-builderSkill
- process-tieringSkill
- requirements-intakeSkill
- role-activationSkill
- runtime-gateSkill
- spec-criticSkill
- sprint-plannerSkill
- support-miningSkill
- team-protocolSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use when a project adds, removes, upgrades, or relies on a package, SDK, compiler, runtime, service, model, or third-party API.
- Distinctive: line 14
Read the architecture and stack-defaults documents before choosing a version.
- Very specific: line 18
Use the project-pinned toolchain (gradlew, Package.resolved, lockfile, or equivalent).
- Distinctive: line 20
If a dependency is unapproved, unpinned, unlocked, incompatible, or unknown, block or escalate.
- Distinctive: line 25
Prefer platform-native libraries and the smallest dependency surface.
- Distinctive: line 29
Never update a lockfile without reviewing the resulting transitive diff.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 policy
Use when a project adds, removes, upgrades, or relies on a package, SDK, compiler, runtime, service, model, or third-party API. Also use during onboarding, architecture review, and release preparation.
Procedure
- Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/dependency-check.mjs" <project-root>. - Read the architecture and stack-defaults documents before choosing a version.
- Confirm the declaration and lockfile changed together where the ecosystem uses a lockfile.
- Record direct dependency, purpose, version constraint, transitive risk, license, minimum platform, deprecation status, and rollback/removal plan in the ticket evidence.
- Use the project-pinned toolchain (
gradlew,Package.resolved, lockfile, or equivalent). Never silently install a global version to make a check pass. - If a dependency is unapproved, unpinned, unlocked, incompatible, or unknown, block or escalate; do not “resolve” it by picking the newest version from memory.
Policy
- Prefer platform-native libraries and the smallest dependency surface.
- A new dependency needs a written reason and an owner.
- A version claim must name its source and date; “latest” is not evidence.
- A failed or unavailable vulnerability/license lookup is
CANNOT EVALUATE, not a clean result. - Never update a lockfile without reviewing the resulting transitive diff.
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.

