← スキル一覧に戻る

extract-dependencies
by mvillmow
Training framework written in Mojo
⭐ 11🍴 4📅 2026年1月24日
SKILL.md
name: extract-dependencies description: "Analyze imports and identify all module dependencies. Use when mapping project structure." mcp_fallback: none category: analysis tier: 2 user-invocable: false
Extract Dependencies
Analyze import statements and identify all external and internal module dependencies in codebase.
When to Use
- Understanding module coupling
- Planning dependency updates
- Identifying circular dependencies
- Generating dependency graphs
Quick Reference
# Python dependency extraction
grep -r "^import\|^from" --include="*.py" . | sort | uniq
# Generate dependency graph
pipdeptree
# Check for circular dependencies
python3 -c "import ast; [print(f.name) for f in ast.walk(ast.parse(open('file.py').read())) if isinstance(f, ast.Import)]"
Workflow
- Scan imports: Extract all import statements from codebase
- Categorize dependencies: Separate external, internal, standard library
- Map relationships: Create graph of which modules import which
- Identify chains: Trace dependency chains (A→B→C)
- Report analysis: Document dependency structure and issues
Output Format
Dependency analysis:
- External dependencies (with versions)
- Internal module dependencies
- Dependency graph (text or ASCII art)
- Circular dependencies (if found)
- Recommended import order
- Unnecessary or redundant dependencies
References
- See
check-dependenciesskill for validation - See
analyze-code-structureskill for module organization - See pixi.toml for declared project dependencies
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です