wp-wpcli-and-ops
Manage WordPress Sites with WP-CLI Commands
WordPress site management requires command-line expertise and knowledge of best practices. This skill provides WP-CLI command guidance, operational procedures, and troubleshooting workflows for WordPress administrators.
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "wp-wpcli-and-ops". Show me how to safely update all plugins
Resultado esperado:
- Create full site backup before proceeding
- Check current plugin status: wp plugin list
- Update all plugins: wp plugin update --all
- Verify site functionality after updates
- Enable maintenance mode during update process
A utilizar "wp-wpcli-and-ops". How do I search and replace URLs in my database?
Resultado esperado:
- Backup database first using wp db export
- Dry run command: wp search-replace 'old.com' 'new.com' --dry-run
- Review affected tables and row counts
- Execute: wp search-replace 'old.com' 'new.com' --skip-columns=guid
- Clear cache after completion: wp cache flush
A utilizar "wp-wpcli-and-ops". Debug slow cron jobs on my WordPress site
Resultado esperado:
- List all scheduled events: wp cron event list
- Check for stuck or overdue cron jobs
- Test specific event: wp cron event run <hook>
- Review cron schedule intervals and frequencies
- Consider server-level cron for high-traffic sites
Auditoria de Segurança
SeguroStatic analysis flagged 118 patterns, primarily false positives from documentation examples. The backtick patterns are markdown code blocks in reference docs, not executable Ruby code. The 'weak crypto' alerts are false positives from MD5 mentions in WordPress contexts (checksums, not authentication). The external command patterns in scripts/wpcli_inspect.mjs are legitimate WP-CLI wrapper functionality for a WordPress operations skill.
Problemas de Baixo Risco (1)
Fatores de risco
⚙️ Comandos externos (1)
Pontuação de qualidade
O Que Você Pode Construir
Automate Plugin Updates Across Sites
Generate safe batch update commands with backup procedures for managing plugins across multiple WordPress installations.
Database Migration and URL Changes
Create search-replace commands for site migrations and domain changes while preserving serialized data integrity.
WordPress Performance Optimization
Configure caching strategies, optimize database tables, and automate maintenance tasks using WP-CLI workflows.
Tente Estes Prompts
What WP-CLI commands should I use to check the health of my WordPress site including plugin status, database integrity, and core files?
Help me create a safe procedure for updating all plugins on my WordPress site using WP-CLI with proper backup and rollback steps.
I need to migrate my WordPress site from oldsite.com to newsite.com. What WP-CLI search-replace commands do I need with safety checks?
Guide me through converting my single WordPress site to multisite network using WP-CLI including database conversion and configuration steps.
Melhores Práticas
- Always create complete backups before running database modification commands
- Use dry-run flags to preview changes before executing search-replace operations
- Test WP-CLI commands on staging environments before production execution
Evitar
- Running search-replace commands without backup or dry-run preview
- Executing plugin updates during high-traffic periods without maintenance mode
- Modifying production databases without testing commands on staging copy first