Skip to content
Skill

Dependency management

Adds, upgrades and removes Expo app npm packages under a written, verified policy

Dependency management is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript, TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
16
Last commit
License
MIT
Listing updated

Similar skills

About Dependency management

This skill keeps the npm packages of an Expo app on a recorded set of versions, specifiers and places. It seeds a dependency policy file, plans each add, upgrade or removal, and checks the repository against that policy. The plan step runs a bundled Node script that reports banned packages, held-back majors, release age, deprecation, licence and install scripts before anything is installed.

The workflow asks the agent to install Expo-managed packages with a pinned specifier, pin other packages exactly, and keep one copy of shared companions. It requires install scripts to be read and approved by pinned key before they run, enforces a minimum release age through .npmrc, and ends with checks such as expo install --check, expo-doctor and a policy checker. Native changes also call for development and preview builds on iOS and Android.

The skill expects a Node-based Expo project with a package-lock.json, and it uses the npm and Expo CLIs along with the included TypeScript and JavaScript gate scripts. It defers Expo SDK major upgrades to a separate skill.

When your agent uses it

Adds, upgrades and removes npm packages in Expo apps under a written policy - expo install, exact pins, 7-day release age, script review, licences. Use when adding or bumping a package or on ETARGET. Not for SDK majors (expo-sdk-upgrade).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 83 files (630 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the react-native plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skills

Or copy only this skill to ~/.claude/skills/dependency-management:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dependency-management &&
cp -R "$tmp/skills/dependency-management" ~/.claude/skills/dependency-management &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/dependency-management inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/dependency-management to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dependency-management &&
cp -R "$tmp/skills/dependency-management" ~/.agents/skills/dependency-management &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/dependency-management inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/dependency-management to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dependency-management &&
cp -R "$tmp/skills/dependency-management" ~/.cursor/skills/dependency-management &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/dependency-management inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/dependency-management

Or copy the folder to ~/.gemini/skills/dependency-management yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/dependency-management:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dependency-management &&
cp -R "$tmp/skills/dependency-management" ~/.copilot/skills/dependency-management &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/dependency-management inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git

Then copy ReactNative-Skills/skills/dependency-management into your agent's skills folder as dependency-management. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Versioned policy file
Keeps the approved versions, specifiers, placement and reasons in one contract file that changes with the lockfile.
Pre-install plan script
Prints a plan for one package covering age, deprecation, licence, scripts and companion packages before installing.
Install script review
Requires each install script to be read and approved by its pinned version before it runs.
Release age enforcement
Applies a minimum release age through npm configuration and dated exceptions that expire.
Native change verification
Covers config plugins, Android permissions, Podfile and Gradle dependencies, and builds on both platforms.
Policy gate checks
Runs checker scripts for npm config, banned packages, licences and unused dependencies.

Good for

  • Add a new npm package to an Expo app with the correct pinned version
  • Upgrade a dependency while keeping the Expo-approved version
  • Remove an unused package and clean up the lockfile
  • Review and approve an install script before a package is installed
  • Fix a failing dependency gate in an Expo repository

Dependency management FAQ

When does Dependency management apply?

When adding or bumping a package or when npm reports an ETARGET error. It does not cover Expo SDK major upgrades, which belong to the expo-sdk-upgrade skill.

What does Dependency management need in the project?

An Expo app with a package-lock.json. If the contracts/dependency-policy.json file is missing, the skill copies a template and asks the agent to remove rows the app will not use.

Does Dependency management install packages automatically?

It plans each change and asks the developer before packages outside the policy, dated exceptions, licence exceptions or deprecation holds are used.

Which languages do its scripts use?

The bundled gate scripts are written in JavaScript and TypeScript.

How do I install Dependency management in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dependency-management to use it in all your projects, or to .claude/skills/dependency-management in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.

Does Dependency management run scripts?

Yes. It runs JavaScript and TypeScript scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Dependency management?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Dependency management?

The closest alternatives to Dependency management are Expo SDK upgrade, Expo prebuild and config plugins, Expo upgrade, Expo upgrade and Dependency coordinator.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from zakariaf/ReactNative-Skills

  1. Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout

    • Open source
    • 16 GitHub stars
    • Developer tools
  2. Adds a gated debug menu, debug deep link and simulated clock and offline mode to React

    • Open source
    • 16 GitHub stars
    • Developer tools
  3. Checks React Native code for accessibility labels, touch targets, text scaling

    • Open source
    • 16 GitHub stars
    • Developer tools
  4. Sells a one-time Premium unlock through the App Store and Google Play

    • Open source
    • 16 GitHub stars
    • Finance and payments
  5. Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit

    • Open source
    • 16 GitHub stars
    • Developer tools
  6. Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware

    • Open source
    • 16 GitHub stars
    • Developer tools