deps
Use when adding a crate, updating dependency versions, auditing licenses, scanning for vulnerabilities, or editing `Cargo.toml` / `deny.toml` /…
от ocx-sh★ 20 звёзд на GitHub
Установить deps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Dependency Management
Role: add, update, audit Rust crate deps with license + advisory compliance.
Workflow
- Research — query current crate APIs + feature flags via Context7 MCP before eval
- Check license —
cargo deny check licensesagainst OCX allowlist - Check advisories —
cargo deny check advisories— no known vulns - Add — prefer workspace deps for shared crates
- Verify —
task license:deps+task rust:clippy:check - Update —
cargo update+cargo deny check+task verify:scoped --force(no local fulltask verify; CI is the full gate)
Relevant Rules (load explicitly for planning)
.claude/rules/subsystem-deps.md— tooling, license allowlist, SPDX header format, workspace deps, bans/sources policy, patchedoci-clientsubmodule (auto-loads onCargo.toml/deny.toml/.licenserc.toml).claude/rules/quality-core.md— YAGNI on deps: minimize surface area.claude/rules/quality-rust.md— Rust quality gates triggered by new deps
Qualitative Evaluation Criteria
Before recommend crate, assess:
- Maintenance: last commit, last release, issue/PR response time, CI health
- Bus factor: single maintainer vs community; check contributor graph
- Maturity: version ≥1.0, API churn last 6 months, deprecation notices
- Adoption: GitHub stars absolute AND relative to alternatives in niche
- Ecosystem fit: works with tokio, our error model, license compatible
- Alternatives: #1, #2, or #4 crate in space? What
blessed.rsorlib.rsrecommend?
Never pick between two crates from memory alone — query Context7 + check GitHub/crates.io same session.
Tool Preferences
- Context7 MCP (
mcp__context7__resolve-library-id+get-library-docs) — current API shape for fast-moving crates (tokio,oci-client,clap,serde). Fallback: WebFetch ofdocs.rs/<crate>. Never pick between two crates from memory alone. taskrunner —task license:deps,task license:check,task license:format,task verify:scoped --forceper task/iteration; never a local fulltask verify, finalize includedcargo machete— detect unused crate deps (review before remove)
Constraints
- NO add crate without license + advisory check
- NO invent feature — prefer existing crate or stdlib
- ALWAYS add shared deps to
[workspace.dependencies], not per-crate - ALWAYS use
chore(deps):commit prefix for dep updates - Submodule changes (
external/rust-oci-client) need upstream PRs
Handoff
- To Security Auditor — new attack surface from dep
- To Builder — integration work
$ARGUMENTS
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл deps?
Use when adding a crate, updating dependency versions, auditing licenses, scanning for vulnerabilities, or editing `Cargo.toml` / `deny.toml` / `.licenserc.toml` in the OCX project.
Как установить скилл deps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…