1 line
1.9 KiB
JSON
1 line
1.9 KiB
JSON
{"content": "---\nallowed-tools: Read, Write, Edit, Bash\nargument-hint: [update-strategy] | --patch | --minor | --major | --security-only\ndescription: Update and modernize project dependencies with comprehensive testing and compatibility checks\n---\n\n# Update Dependencies\n\nUpdate and modernize project dependencies with safety checks: **$ARGUMENTS**\n\n## Current Dependencies State\n\n- Package manager: @package.json or @requirements.txt or @Cargo.toml (detect package manager)\n- Outdated packages: !`npm outdated 2>/dev/null || pip list --outdated 2>/dev/null || echo \"Manual check needed\"`\n- Security issues: !`npm audit --audit-level=moderate 2>/dev/null || pip check 2>/dev/null || echo \"Run security audit\"`\n- Lock files: @package-lock.json or @poetry.lock or @Cargo.lock\n\n## Task\n\nSystematically update project dependencies with comprehensive testing and compatibility validation:\n\n**Update Strategy**: Use $ARGUMENTS to specify patch updates, minor updates, major updates, or security-only updates\n\n**Update Process**:\n1. **Dependency Analysis** - Audit current versions, identify outdated packages, assess security vulnerabilities\n2. **Impact Assessment** - Check changelogs, breaking changes, deprecation warnings, compatibility matrix\n3. **Staged Updates** - Apply patch updates first, then minor, finally major versions with testing between stages\n4. **Testing & Validation** - Run full test suite, build verification, integration testing, performance checks\n5. **Rollback Strategy** - Document changes, create restore points, maintain rollback procedures\n6. **Documentation Updates** - Update README, dependencies list, migration guides, team notifications\n\n**Safety Features**: Automated testing between updates, dependency conflict resolution, security vulnerability prioritization.\n\n**Output**: Updated dependency manifest with comprehensive testing results, security audit report, and upgrade documentation."} |