A sanitized WordPress portfolio repository containing production-inspired maintenance scripts, SQL diagnostics, and operational runbooks for performance triage, cron health checks, database hygiene, and safer deployment workflows.
This screenshot is an example output of the WP CLI slow query check.

Suggested screenshot: terminal output from one WP-CLI script plus a short admin/system note page from your portfolio site.
Much of senior WordPress work happens outside theme templates and feature plugins.
In real production environments, the job often includes:
- tracking down autoload bloat
- cleaning expired transients
- validating scheduled events
- preparing safe staging migrations
- auditing plugins before changes
- checking database growth and operational risk
This repository extracts those patterns into a small, reviewable toolkit.
- WP-CLI fluency for repeatable maintenance tasks
- production-safe shell scripting with guardrails
- SQL diagnostics for common WordPress data problems
- operational awareness around cron, cache, and deployment workflows
- concise documentation for recurring support and maintenance tasks
- WordPress performance triage
- PHP worker capacity planning
- WooCommerce checkout diagnostics
- WordPress cron reliability
- Safe staging and migration workflows
- scripts are intentionally scoped and readable
- destructive actions are avoided or clearly labeled
- SQL files are diagnostic-first, not reckless cleanup shortcuts
- documentation reflects real operational decision points
- examples map to common WordPress, WooCommerce, and multisite maintenance concerns
To keep the repo small and reviewable, it intentionally does not include:
- live hosting credentials
- production server configuration
- customer-specific deployment details
- proprietary infrastructure notes
- one-click destructive cleanup tooling
- large Bash frameworks or full DevOps automation stacks
wp-performance-ops-toolkit-demo/
├── wp-cli/
│ ├── clean-expired-transients.sh
│ ├── cron-health-check.sh
│ ├── db-size-report.sh
│ ├── find-autoload-bloat.sh
│ └── multisite-slow-query-check.sh
│ ├── plugin-audit.sh
│ └── safe-search-replace-example.sh
├── sql/
│ ├── orphaned-postmeta-report.sql
│ ├── oversized-autoload-options.sql
│ └── stale-woocommerce-sessions.sql
├── docs/
│ ├── deployment-checklist.md
│ ├── caching-debug-notes.md
│ ├── multisite-maintenance-notes.md
│ ├── wordpress-performance-triage.md
│ ├── php-worker-capacity-notes.md
│ ├── woocommerce-checkout-triage.md
│ ├── wordpress-cron-reliability.md
│ └── safe-staging-migration-workflow.md
├── assets/
│ └── screenshots/
│ └── slow-query-check-cli-screen-shot.jpg
├── LICENSE
└── README.md
- These examples are designed for review and discussion, not blind execution.
- Commands assume a shell environment with WP-CLI already installed and pointed at a valid WordPress install.
- SQL files are intended for inspection and diagnosis first.
- Several examples reflect patterns common in WooCommerce and large plugin-heavy WordPress environments.
- investigating slow admin or front-end requests
- checking whether WP-Cron is running reliably
- identifying oversized autoloaded options
- reviewing plugin state before staging or rollback work
- preparing safer search-replace workflows during site moves
- triaging multisite maintenance issues
MIT