com um clique
dependency-management
Evaluate, update, and audit project dependencies
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Evaluate, update, and audit project dependencies
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Review pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity
| name | dependency-management |
| version | 1.0.0 |
| description | Evaluate, update, and audit project dependencies |
| uses | ["analysis/research"] |
| requires | {"tools":[],"env":[]} |
| security | {"risk_level":"write","capabilities":["file:read","file:write","command:execute"],"requires_approval":false} |
Evaluate, update, and audit project dependencies. This skill covers the full dependency lifecycle — adding new dependencies, updating existing ones, auditing for security vulnerabilities, and removing unused dependencies.
This is an agent-handled skill (handler: type: agent). When manage_dependencies is invoked, you (the agent) apply the methodology below using your reasoning capabilities. There is no backing code — you follow these instructions directly. The tool schema in tool.yaml defines the external contract; this document guides how you fulfill it.
Before adding any dependency, assess:
| Criterion | Question | Red Flag |
|---|---|---|
| Necessity | Can we do this without a dependency? | Simple functionality that's easy to implement |
| Maintenance | Is it actively maintained? | No commits in 12+ months |
| Popularity | Is it widely used? | Very few downloads or stars |
| Size | How large is it? | Massive dependency for a small feature |
| License | Is the license compatible? | GPL in a proprietary project |
| Security | Are there known vulnerabilities? | Unpatched CVEs |
| Quality | Is the code well-tested? | No tests, no CI |
| Alternatives | Are there better options? | Standard library covers this |
Decision rule: Don't add a dependency for something you can write in 50 lines of well-tested code. Dependencies are liabilities, not assets.
When updating:
npm outdated, pip list --outdated, cargo outdated, etc.)Regularly audit for known vulnerabilities:
npm audit, pip-audit, cargo audit, etc.Identify and remove dependencies that are no longer used:
When dependencies conflict:
## Dependency Management: [Project]
### Current State
- Package manager: [npm/pip/cargo/etc.]
- Total dependencies: [count]
- Outdated: [count]
- Vulnerable: [count]
### Actions Taken
| Action | Package | From | To | Reason |
|--------|---------|------|----|--------|
| [add/update/remove/audit] | [name] | [old version] | [new version] | [why] |
### Security Audit
| Package | Severity | CVE | Status |
|---------|----------|-----|--------|
| [name] | [critical/high/medium/low] | [CVE-ID] | [fixed/pending/no-patch] |
### Verification
- Tests: [pass/fail]
- Build: [pass/fail]
- Deprecation warnings: [none/list]
### Recommendations
- [prioritized action items]
npm update or pip install --upgrade on everything simultaneously. If tests break, you won't know which update caused it.Dependency management is complete when: