Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

deps

БесплатноБез исполняемых скриптовНе проверен

Analyze dependency usage for library/framework/SDK upgrades

lis186от lis186★ 49 звёзд на GitHub14 установок в других каталогах

Об этом скилле

SourceAtlas: Dependencies

Constitution: ANALYSIS_CONSTITUTION.md v1.1

Context

Target: $ARGUMENTS (library name, version upgrade, or iOS minimum version) Goal: Analyze dependency usage and provide upgrade guidance Time Limit: 5-15 minutes

Quick Start

  1. Check cache (skip if --force flag present)
  2. Detect version from manifest files (package.json, Podfile, etc.)
  3. Search for upgrade rules using WebSearch (if version upgrade)
  4. Find all usage points using grep/Glob
  5. Categorize usage by API type
  6. Generate YAML report following output-template.md
  7. Verify output using verification-guide.md
  8. Auto-save to .sourceatlas/deps/

Your Task

You are analyzing dependency usage to help users understand:

  1. Current state: Which version is installed, where it's used
  2. Upgrade impact: What needs to change for version upgrades
  3. Migration path: Step-by-step upgrade checklist
  4. Risk assessment: How complex is the upgrade

Upgrade Types You Handle

Input Pattern Type Focus
iOS 17, iOS 16 → 17 iOS Minimum Version Upgrade Removable #available, deprecated APIs, new opportunities
iOS SDK 26, Xcode 16 SDK/Compiler Upgrade Compilation warnings, Swift version, new syntax
react 17 → 18, pandas 1.x → 2.x Major Version Upgrade Breaking changes, deprecated APIs, new patterns
react, pandas (no version) Usage Inventory List usage points only

Core Workflow

Execute these phases in order. See workflow.md for complete details.

Phase 0: Rule Confirmation (1-2 minutes)

Purpose: Identify upgrade type and confirm analysis rules with user before proceeding.

Steps:

  1. Detect upgrade type from $ARGUMENTS
  2. Generate rules preview (what to check, where to search)
  3. Use AskUserQuestion to confirm rules

→ See workflow.md#phase-0

Phase 1: Detect Current Version (1 minute)

Purpose: Find current dependency version from manifest files.

Manifest files by ecosystem:

  • Node.js: package.json, package-lock.json
  • iOS: Podfile, Package.swift
  • Android: build.gradle, build.gradle.kts

→ See workflow.md#phase-1

Phase 2: Search for Upgrade Guide (2-3 minutes)

Purpose: Find official migration guide using WebSearch.

Search for:

  1. Official migration guide
  2. Official changelog
  3. Community upgrade guides
  4. GitHub release notes

→ See workflow.md#phase-2

Phase 3: Find All Usage Points (3-5 minutes)

Purpose: Locate every place the dependency is used.

Search patterns:

  • JavaScript/TypeScript: import statements, API calls
  • Swift/iOS: import statements, #available checks
  • Android/Kotlin: import statements, API level checks

→ See workflow.md#phase-3

Phase 4: Categorize API Usage (2-3 minutes)

Purpose: Group usage by category and match against upgrade rules.

Categories:

  • Hooks (React), Components, Utilities (JavaScript)
  • Frameworks, APIs (iOS/Android)
  • Availability checks (iOS)
  • Deprecated APIs (all platforms)

→ See workflow.md#phase-4

Phase 5: Generate Analysis Report

Purpose: Output complete YAML analysis following template.

→ See output-template.md for complete format


Output Format

Your analysis should follow this YAML structure:

dependency_analysis:
  target: "${ARGUMENTS}"
  type: "[library|sdk|framework|runtime]"
  analysis_time: "[ISO 8601 timestamp]"
  constitution_version: "1.1"

version_info:
  current: "[detected version]"
  source: "[manifest file]"
  target: "[target version if upgrade]"

rules_applied:
  source: "[built-in|web_search|user_provided]"
  rule_count: [number]

# Required changes for upgrade
required_changes:
  removable_availability_checks: [...]
  deprecated_api_usages: [...]
  breaking_change_impacts: [...]

# Optional modernization opportunities
modernization_opportunities:
  items: [...]

# Complete usage inventory
usage_inventory:
  total_files: [number]
  total_usage_points: [number]
  by_category: [...]

# Step-by-step migration guide
migration_checklist:
  estimated_effort: "[low|medium|high]"
  recommended_approach: "[description]"
  steps: [...]

# Risk evaluation
risk_assessment:
  overall_risk: "[🟢 low|🟡 medium|🔴 high]"
  factors: [...]
  recommendations: [...]

→ See output-template.md for complete specification and examples


Critical Rules

1. Rule Confirmation Required

  • Always use AskUserQuestion in Phase 0 to confirm rules before full analysis
  • Show user
Полный SKILL.md на GitHub

Установить deps в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Glob
Grep
Read
Write
WebSearch
WebFetch

Вложенные файлы

output-template.mdreference.mdverification-guide.mdworkflow.md

FAQ

Что делает скилл deps?

Analyze dependency usage for library/framework/SDK upgrades

Как установить скилл deps?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл deps запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить deps с