← Back to list

add-dependency
by aiskillstore
Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.
⭐ 102🍴 3📅 Jan 23, 2026
SKILL.md
name: add-dependency description: Add a new third-party dependency to the project following the version catalog and approval workflow.
Add Third-Party Dependency
This skill outlines the necessary steps to validly adding a new dependency to the project.
Workflow
-
Verify Necessity:
- Goal: Ensure the dependency is absolutely necessary.
- Action: Avoid adding new third-party dependencies unless there is no tailored solution available or implementing it manually helps the project significantly.
- Action: You MUST get user approval before adding any new third-party dependency. Explain why it is needed and what alternatives were considered.
-
Find Latest Version:
- Goal: Use the most up-to-date stable version.
- Action: Perform a web search to determine the latest stable version of the library.
- Example:
search_web(query="latest version of retrofit")
-
Update Version Catalog:
- Goal: Centralize dependency management.
- Action: Add the dependency to
gradle/libs.versions.toml. - Format:
[versions] libraryName = "1.2.3" [libraries] library-artifact = { group = "com.example", name = "library-artifact", version.ref = "libraryName" }
-
Sync and Build:
- Goal: Verify the dependency is resolved correctly.
- Action: Run a build or sync command to ensure the new dependency doesn't break the build.
- Command:
./gradlew assembleDebug(or relevant task).
Guidelines
- Approval First: Do not modify files before getting confirmation from the user (unless in a fully autonomous mode where this is pre-approved).
- No Hardcoding: Never put version numbers directly in
build.gradle.ktsfiles. Always use the version catalog (libs.versions.toml).
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 100以上
+5
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon
