Dev Dependency Managementのロゴ

Dev Dependency Management

コミュニティ
vasilyu1983
dev-dependency-management

Guides dependency management across languages and ecosystems. Use when choosing package managers, lockfiles, update policy, security scanning, SBOMs, or monorepo patterns.

概要

公開者vasilyu1983
リポジトリAI-Agents-public
スキル名dev-dependency-management
スター
87
フォーク
19
同梱ファイル
28
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 28個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    vasilyu1983がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Dev Dependency Management」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/dev-dependency-management
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/dev-dependency-management .claude/skills/dev-dependency-management
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDev Dependency Managementを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDev Dependency Managementを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Dev Dependency Managementは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Dependency Management

Use this skill for package-manager choice, lockfile policy, update strategy, supply-chain controls, and dependency hygiene across common ecosystems. It owns reproducibility and security defaults, not framework-specific app architecture.

Quick Reference

When to Use

  • Choose or migrate a package manager.
  • Define lockfile, wrapper, or toolchain pinning policy.
  • Add, remove, pin, or upgrade dependencies safely.
  • Resolve dependency conflicts or transitive-risk issues.
  • Set up audits, SBOM generation, provenance checks, or update automation.
  • Define dependency policy for monorepos or polyglot repos.

Route Elsewhere

  • Framework-specific frontend or backend implementation: use the relevant software skill.
  • AppSec architecture beyond the dependency layer: use software-security-appsec.
  • CI/CD platform design: use ops-devops-platform.

Defaults

  • Lockfile-first installs.
  • Pinned package manager or wrapper where the ecosystem supports it.
  • Smallest safe dependency change first.
  • Patch updates often, majors in isolation.
  • SBOM and audit workflow for release artifacts.
  • AI-suggested packages are untrusted until verified.

Workflow

  1. Identify ecosystem, package manager, lockfile, and wrapper conventions already present.
  2. Decide the smallest safe change: add, remove, pin, update, audit, or migrate.
  3. Load only the guidance needed for lockfiles, security, monorepo policy, or update strategy.
  4. Verify volatile tool behavior and security claims against official sources before recommending migrations.
  5. Finish with reproducibility checks, rollback notes, and any audit or SBOM follow-up.

ASCII Flow

text
dependency management request
  -> identify ecosystem, package manager, lockfile, wrapper, and workspace shape
  -> classify change: add, remove, pin, update, audit, migrate, or policy
  -> choose smallest safe dependency move
  -> check security, provenance, license, transitive risk, and AI package risk
  -> update lockfile or policy according to repo conventions
  -> run reproducibility, test, audit, and SBOM checks where available
  -> document rollback, owner, expiry, and follow-up

Core Decisions

Package-Manager Defaults

EcosystemDefault for new reposCurrent stableKey constraint
Nodepnpm unless compat pressure favors npmpnpm 12 (Rust-native, requires Node 22)pnpm 11+ is pure ESM, SQLite store; pnpm 12 is a native Rust port via pnpm self-update; verify CI Node version
Pythonuvuv 0.11.x (0.x but production-stable)Still on 0.x versioning; core APIs stable
RustCargostable toolchaincommit Cargo.lock for apps
Gogo modulescurrent go toolchaingo.mod + go.sum canonical
JavaMaven wrapper or Gradle wrappersee upstreamwrappers plus BOMs or version catalogs
.NETPackageReferencecurrent .NET SDKPackageReference over packages.config
PHPComposercurrent stablecommit composer.lock for apps

Keep repo-local consistency more important than theoretical ecosystem purity.

Lockfile and Toolchain Policy

Minimum rules:

  • commit application lockfiles
  • use exact lockfile installs in CI
  • avoid hand-editing lockfiles
  • do not carry multiple lockfiles for one package graph
  • prefer repo-local wrappers or toolchain files over global latest installs

Update Strategy

Default cadence:

  • patch: small and frequent
  • minor: batched and tested
  • major: isolated with release-note review and rollback plan
  • security: prioritize by exploitability and exposure, not CVSS alone

Supply-Chain Controls

Use:

  • official registries where possible
  • provenance or signature verification where supported
  • SBOM generation for release artifacts (CISA 2025 draft adds mandatory component hash, license, tool name, and generation context fields)
  • explicit review of install or build scripts
  • expiration on overrides, resolutions, and temporary pins
  • pnpm minimumReleaseAge or Renovate minimumReleaseAge to avoid consuming just-published packages (Shai-Hulud, Axios, and Miasma npm compromises 2025-2026 repeatedly show a fast-publish-to-attack window under three hours)
  • dependency confusion mitigations: scope all internal packages, audit all org-scoped packages before use
  • npm v12 (shipping July 2026) disables install scripts, git dependencies, and remote-URL dependencies by default; plan the CI migration before it lands, and treat any repo still relying on install scripts as a review item, not a blocker to skip

AI-Generated Dependency Risk

Before accepting an AI-suggested package:

  • verify it exists
  • check for typosquatting risk
  • check maintenance and release cadence
  • prefer standard library or existing dependencies if feasible
  • run the same audit and review workflow as for any other new package

Output Modes

Default to one of these:

  • Dependency policy brief: manager choice, lockfile rules, update cadence, and security controls.
  • Upgrade plan: scope, batching, testing, rollback, and audit follow-up.
  • Dependency audit: health risks, unmaintained packages, graph complexity, and remediation order.
  • Monorepo dependency strategy: workspace model, shared policy, and update automation rules.

Known Traps

  • Upgrading transitive or security-sensitive packages without checking whether the fix actually lands in the production artifact path.
  • Mixing wrapper, lockfile, and package-manager upgrades in one move, which makes rollback and blame assignment much harder.
  • Assuming monorepo hoisting or workspace dedupe is harmless when postinstall scripts, peer deps, or native builds are involved.
  • Accepting temporary pins or overrides without a removal owner, expiry, and retest trigger.
  • Treating SBOM generation as complete supply-chain control while provenance, install scripts, and release process remain unreviewed.

Anti-Patterns

  • Mixing package managers or lockfiles casually.
  • Installing without the lockfile in CI.
  • Migrating ecosystems for novelty instead of clear value.
  • Treating AI-suggested packages as trusted by default.
  • Leaving temporary overrides in place without owners or expiry.
  • Chasing vulnerability counts without considering exploitability and production exposure.

References

FileWhat it covers
references/ecosystem-guides.mdPer-ecosystem package-manager defaults, CI install commands, and watchouts for Node, Python, Rust, Go, Java, .NET, PHP
references/lockfile-management.mdLockfile matrix, golden rules, per-ecosystem exact-install commands, CI rules, and drift recovery
references/security-scanning.mdNative audit commands, SBOM generation, provenance controls, Dependabot/Renovate usage, and triage workflow
references/monorepo-patterns.mdJS/TS workspace defaults, pnpm supply-chain settings, polyglot structure, and version governance
references/dependency-selection-guide.mdAdd-or-avoid decision criteria, graph inspection commands, AI-suggested package checklist
references/update-strategies.mdUpdate cadence table, batch-by-risk workflow, bot policy, and rollback rule
references/transitive-dependencies.mdTree inspection, override patterns, deduplication, and resolution decision tree
references/license-compliance.mdLicense risk table, GPL decision tree, automated tooling, CI integration, and SBOM generation commands
references/version-conflict-resolution.mdConflict types, per-manager diagnostic commands, forced resolution syntax, and pnpm catalogs
references/container-dependency-patterns.mdMulti-stage build patterns, layer caching, vulnerability scanning (Trivy/Grype), and reproducible base image pinning
references/semver-guide.mdSemVer constraint syntax for npm, Python, and Cargo with common pitfalls
references/anti-patterns.mdCritical and moderate anti-patterns with corrective examples

Navigation

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Curated source links live in data/sources.json.
  • Package-manager defaults, CLI flags, provenance behavior, and SBOM guidance are volatile and should be verified against current official docs before giving definitive recommendations.
  • Prefer official package-manager, standards, and security-advisory sources over secondary blogs.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Dev Dependency Management」では何ができますか?

Guides dependency management across languages and ecosystems. Use when choosing package managers, lockfiles, update policy, security scanning, SBOMs, or monorepo patterns.

TypingMindでDev Dependency Managementを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Dev Dependency Managementはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDev Dependency Managementをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/dev-dependency-managementを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Dev Dependency Managementを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Dev Dependency Managementで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDev Dependency Managementを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Dev Dependency Management」は無料ですか?

はい。vasilyu1983がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇