_legacy/quality/dependency-management/SKILL.md
依存関係管理ガイド。Swift Package Manager、CocoaPods、npm、pip等のパッケージマネージャー運用、バージョン管理、セキュリティアップデート、ライセンス管理など、依存関係の効率的な管理方法。
npx skillsauth add gaku52/claude-code-skills dependency-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
🟢 High (100% completion, 3/3 comprehensive guides)
依存関係管理は、現代のソフトウェア開発において最も重要な要素の一つです。適切な依存関係管理により、セキュリティリスクの最小化、予測可能なビルド、効率的なメンテナンスが実現します。
Statistics:
このガイドで学べること: パッケージマネージャーの選定、バージョン管理戦略、セキュリティ脆弱性対応、自動化設定 公式で確認すべきこと: 最新のパッケージバージョン、セキュリティアップデート、新機能、非推奨機能
npm Documentation - Node.jsのデフォルトパッケージマネージャー
pnpm Documentation - 高速で効率的なパッケージマネージャー
Swift Package Manager Guide - Swift公式パッケージマネージャー
Dependabot Documentation - 自動依存関係更新
# Security monitoring
npm audit
snyk test
# Review automated PRs
# - Dependabot security alerts
# - Renovate update PRs
# Update patch versions
npm update
# Review outdated packages
npm outdated
# Clean unused dependencies
npx depcheck
# Update minor versions
npm update --save
# Generate reports
npm audit --json > reports/audit.json
npx @cyclonedx/cyclonedx-npm --output-file sbom.json
# License compliance
npx license-checker --failOn "GPL;AGPL"
# Major version updates (planned)
npm outdated
# Review migration guides
# Plan updates
# Technical debt assessment
# Dependency health report
38,206 characters - Complete guide covering:
47,074 characters - Security-focused guide covering:
39,758 characters - Optimization guide covering:
.github/dependabot.yml template with all ecosystems.npmrc with security settingsJavaScript/TypeScript:
iOS/Swift:
Python:
{
"dependencies": {
// Critical packages: exact versions
"react": "18.2.0",
// Important packages: patch updates only
"lodash": "~4.17.21",
// Low-risk packages: minor updates allowed
"axios": "^1.6.0"
},
"devDependencies": {
// Dev tools: flexible updates
"typescript": "^5.3.0"
}
}
Enable Automated Scanning
Response Times
Supply Chain Protection
| Update Type | Frequency | Automation | Review | |------------|-----------|------------|--------| | Security patches | Immediate | ✅ Auto-merge | Minimal | | Patch (x.x.PATCH) | Weekly | ✅ Auto-merge | CI only | | Minor (x.MINOR.x) | Monthly | ⚠️ Manual merge | Code review | | Major (MAJOR.x.x) | Quarterly | ❌ Manual | Full review |
Track these metrics for dependency health:
Target: 0 critical/high vulnerabilities, MTTR < 7 days
Target: < 5% outdated, < 200 total dependencies
Target: < 200KB initial bundle, < 2min builds
Target: > 80% auto-merge, < 1 incident/month
# Immediate security updates
- Daily vulnerability scans
- Auto-merge security patches
- 24-hour response for critical CVEs
- Monthly security audit reports
# Controlled updates
- Lock all production dependencies
- Manual review for all updates
- Staging deployment before production
- Quarterly update cycles
# Stay current
- Daily dependency updates
- Auto-merge minor updates
- Beta testing of new versions
- Monthly major version evaluations
Symptoms: Tests fail, TypeScript errors, runtime errors
Solutions:
Symptoms: npm audit shows vulnerabilities you don't directly use
Solutions:
npm audit fix --force (carefully)overrides (npm 8.3+) or resolutions (yarn)Symptoms: "Cannot resolve dependency", version conflicts
Solutions:
npm ls <package> to see dependency treeoverrides/resolutions to force versionnpm install # Install dependencies
npm ci # Clean install (CI/CD)
npm update # Update patch versions
npm outdated # Show outdated packages
npm audit # Security audit
npm audit fix # Auto-fix vulnerabilities
npx depcheck # Find unused dependencies
npx npm-check-updates # Check all updates
yarn install # Install
yarn upgrade # Update
yarn audit # Security audit
yarn outdated # Check outdated
yarn install --frozen-lockfile # CI/CD
pnpm install # Install
pnpm update # Update
pnpm audit # Security audit
pnpm outdated # Check outdated
pnpm install --frozen-lockfile # CI/CD
snyk test # Snyk security scan
npx socket-cli audit # Socket.dev scan
npx @cyclonedx/cyclonedx-npm # Generate SBOM
npx license-checker # License check
2025-01-03: Complete overhaul to 🟢 High status
2024-12-24: Initial version (📝 Basic status)
Maintained by: Development Team Last Updated: 2025-01-03 Status: 🟢 High (100% complete)
tools
Fundamentals of modern web development. Framework selection (React, Vue, Next.js), project architecture, state management, routing, build tools, and CSS strategy best practices.
development
# React Development — Complete Guide > A comprehensive guide to building modern React applications with TypeScript. Covers fundamentals through advanced patterns, Hooks mastery, TypeScript integration, performance optimization, and algorithm internals. ## Target Audience - Developers new to React who want a solid foundation - Intermediate React developers looking to deepen their understanding of Hooks and TypeScript patterns - Engineers who want to understand React's internal algorithms (Virt
development
# Node.js Development Skill > A practical guide collection for Node.js development. Covers all aspects of Node.js application development, including Express, NestJS, asynchronous patterns, and performance optimization. ## Overview This skill covers the following topics: - **Express & NestJS**: When to use a lightweight framework vs. an enterprise framework - **Asynchronous Patterns**: Promise, async/await, Event Emitter, Streams, Worker Threads, Cluster - **Performance Optimization**: Memory
development
# Backend Development — Complete Guide > A comprehensive guide to backend engineering. Covers the fundamentals of HTTP, REST API design, databases, authentication, environment configuration, and algorithm proofs — everything needed to build robust server-side systems. ## Target Audience - Developers new to backend engineering - Frontend engineers expanding toward full-stack development - Engineers looking to solidify their understanding of server-side fundamentals ## Prerequisites - Basic p