Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:49:08 +08:00
commit 3e5634bde6
6 changed files with 160 additions and 0 deletions

27
commands/analyze-deps.md Normal file
View File

@@ -0,0 +1,27 @@
---
description: Analyze project dependencies for security vulnerabilities and outdated packages
---
# Dependency Analysis Command
Analyze project dependencies for security issues and version updates.
## Context
- Current directory: !`pwd`
- Package files: !`find . -maxdepth 2 -name "package.json" -o -name "requirements.txt" -o -name "go.mod" -o -name "Cargo.toml" 2>/dev/null`
## Your Task
1. Identify the project's dependency management system
2. Check for:
- Security vulnerabilities in dependencies
- Outdated packages
- Dependency conflicts
3. Provide a clear summary with:
- Total dependencies
- Number of vulnerabilities (if any)
- Critical updates recommended
4. Suggest commands to update or fix issues
Use appropriate tools like `npm audit`, `pip-audit`, or equivalent for the detected project type.