site-maintenance
WordPress site maintenance and health monitoring. Manage updates, scheduled tasks, performance optimization, and system health checks.
SKILL.mdskills/admin/site-maintenance/SKILL.md
GitHubSite Maintenance
Comprehensive WordPress site maintenance and health management.
When to Use This Skill
- Managing plugin updates
- Updating themes
- Monitoring site health
- Managing scheduled tasks
- Clearing cache and transients
- Optimizing performance
- Fixing rewrite/permalink issues
Core Capabilities
Updates
- Plugin updates with
wp_plugins - Theme updates with
wp_themes - Compatibility checking
- Update scheduling
Health Monitoring
- Site health checks with
wp_site_health - Performance monitoring
- Security status
- Configuration issues
Optimization
- Transient cache management with
wp_transients - Scheduled task optimization with
wp_cron - URL rewrite management with
wp_rewrite - Database optimization
Maintenance Checklist
Weekly Tasks
- Check for plugin updates
- Check for theme updates
- Review site health status
- Check error logs
- Clear expired transients
Monthly Tasks
- Full plugin compatibility check
- Database optimization
- Review scheduled tasks
- Performance audit
- Backup verification
Quarterly Tasks
- Unused plugin removal
- Unused theme removal
- Full security audit
- SEO audit
- Performance optimization
Workflow
Update Process
Assessment
- List available updates with
wp_plugins - Check compatibility notes
- Review changelog
- List available updates with
Backup
- Ensure recent backup exists
- Verify backup integrity
- Document current state
Update
- Update one at a time (major)
- Update in batches (minor)
- Test after each update
Verify
- Run site health check
- Test critical functionality
- Check error logs
Performance Optimization
Transient Cleanup
- Clear expired transients
- Review transient size
- Identify problematic transients
Cron Optimization
- Review scheduled tasks
- Remove orphaned tasks
- Optimize task frequency
Rewrite Refresh
- Flush rewrite rules
- Verify permalink structure
- Test redirects
Site Health Checks
Critical Issues
- Debug mode enabled on production
- Security vulnerabilities detected
- PHP version outdated
- WordPress core outdated
- SSL not configured
Recommended Improvements
- Persistent object cache not detected
- Background updates disabled
- File editing enabled
- Debug logging enabled
- Weak passwords in use
Performance Items
- Slow database queries
- Large autoload options
- Excessive transients
- Unoptimized images
Best Practices
- Never update production without backup
- Update during low-traffic periods
- Test on staging first (if available)
- One major update at a time
- Document all changes
- Monitor after updates
- Keep update history
Troubleshooting
After Failed Update
- Deactivate problematic plugin/theme
- Check error logs
- Restore from backup if needed
- Report issue to developer
- Find alternative if critical
Broken Permalinks
- Flush rewrite rules with
wp_rewrite - Check .htaccess permissions
- Verify permalink settings
- Check for conflicting rules
Slow Performance
- Clear transients
- Review cron tasks
- Check database size
- Review active plugins
- Check external API calls