deps
БесплатноБез исполняемых скриптовНе проверенAnalyze dependency usage for library/framework/SDK upgrades
Об этом скилле
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
- Check cache (skip if
--forceflag present) - Detect version from manifest files (package.json, Podfile, etc.)
- Search for upgrade rules using WebSearch (if version upgrade)
- Find all usage points using grep/Glob
- Categorize usage by API type
- Generate YAML report following output-template.md
- Verify output using verification-guide.md
- Auto-save to
.sourceatlas/deps/
Your Task
You are analyzing dependency usage to help users understand:
- Current state: Which version is installed, where it's used
- Upgrade impact: What needs to change for version upgrades
- Migration path: Step-by-step upgrade checklist
- 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:
- Detect upgrade type from
$ARGUMENTS - Generate rules preview (what to check, where to search)
- Use
AskUserQuestionto 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:
- Official migration guide
- Official changelog
- Community upgrade guides
- 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:
importstatements, API calls - Swift/iOS:
importstatements,#availablechecks - Android/Kotlin:
importstatements, 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
AskUserQuestionin Phase 0 to confirm rules before full analysis - Show user
Установить deps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashGlobGrepReadWriteWebSearchWebFetchВложенные файлы
FAQ
Что делает скилл deps?
Analyze dependency usage for library/framework/SDK upgrades
Как установить скилл deps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic