cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create comprehensive migration guides with step-by-step procedures, validation, and rollback strategies
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/migration-guideContext preview
What this command does when you run it.
Create comprehensive migration guides with step-by-step procedures, validation, and rollback strategies
allowed-tools: Read, Write, Edit, Bash argument-hint: [migration-type] | framework | database | cloud | architecture | --version-upgrade description: Create comprehensive migration guides with step-by-step procedures, validation, and rollback strategies
Create comprehensive migration guide: $ARGUMENTS
Generate systematic migration guide with comprehensive safety measures: $ARGUMENTS
1. **Migration Scope Analysis**
2. **Impact Assessment**
3. **Prerequisites and Requirements**
4. **Pre-Migration Preparation**
5. **Step-by-Step Migration Process**
**Example for Framework Upgrade:**
## Step 1: Environment Setup 1. Update development environment 2. Install new framework version 3. Update build tools and dependencies 4. Configure IDE and tooling ## Step 2: Dependencies Update 1. Update package.json/requirements.txt 2. Resolve dependency conflicts 3. Update related libraries 4. Test compatibility ## Step 3: Code Migration 1. Update import statements 2. Replace deprecated APIs 3. Update configuration files 4. Modify build scripts
6. **Breaking Changes Documentation**
**Example Breaking Change:**
### Removed: `oldMethod()` **Before:** ```javascript const result = library.oldMethod(param1, param2);
**After:**
const result = library.newMethod({
param1: param1,
param2: param2
});**Rationale:** Improved type safety and extensibility
7. **Configuration Changes**
- Document configuration file updates
- Explain new configuration options
- Provide configuration migration scripts
- Show environment-specific configurations
8. **Database Migration (if applicable)**
- Create database schema migration scripts
- Document data transformation requirements
- Provide backup and restore procedures
- Test migration with sample data
- Plan for zero-downtime migrations
9. **Testing Strategy**
- Update existing tests for new APIs
- Create migration-specific test cases
- Implement integration and E2E tests
- Set up performance and load testing
- Document test scenarios and expected outcomes
10. **Performance Considerations**
- Document performance changes and optimizations
- Provide benchmarking guidelines
- Identify potential performance regressions
- Suggest monitoring and alerting updates
- Include memory and resource usage changes
11. **Security Updates**
- Document security improvements and changes
- Update authentication and authorization code
- Review and update security configurations
- Update dependency security scanning
- Document new security best practices
12. **Deployment Strategy**
- Plan phased rollout approach
- Create deployment scripts and automation
- Set up monitoring and health checks
- Plan for blue-green or canary deployments
- Document rollback procedures
13. **Common Issues and Troubleshooting**
```markdown
## Common Migration Issues
### Issue: Import/Module Resolution Errors
**Symptoms:** Cannot resolve module 'old-package'
**Solution:**
1. Update import statements to new package names
2. Check package.json for correct dependencies
3. Clear node_modules and reinstall
### Issue: API Method Not Found
**Symptoms:** TypeError: oldMethod is not a function
**Solution:** Replace with new API as documented in step 314. **Team Communication and Training**
15. **Tools and Automation**
16. **Timeline and Milestones**
## Migration Timeline
### Phase 1: Preparation (Week 1-2)
- [ ] Environment setup
- [ ] Team training
- [ ] Development environment migration
### Phase 2: Development (Week 3-6)
- [ ] Core application migrationReady-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image