with one click
sql
Runs SQL queries against the WordPress development database. Use when inspecting tables, checking event data, or debugging database issues.
Menu
Runs SQL queries against the WordPress development database. Use when inspecting tables, checking event data, or debugging database issues.
Adds changelog entries to readme.txt following keepachangelog format. Use when updating the Unreleased section or documenting changes for a release.
Reproducibly capture in-product UI screenshots (admin popovers, settings teasers, dashboard widgets) used as embedded images in premium upsell teasers. Use whenever a teaser image needs refreshing after the underlying UI changes.
Guides implementation of structured action links on log events. Use when adding get_action_links() to a logger or migrating from get_log_row_details_output().
Enforces active voice for logger messages and the Event Details API. Use when writing a new logger class or modifying message arrays in getInfo().
How to design and regenerate marketing screenshots for the wordpress.org plugin page (banner-1544x500.png, screenshot-1.png, etc). Covers the event mix that converts, the reproducible WordPress Playground pipeline that bakes it, and every non-obvious gotcha from previous shoots. Use when refreshing screenshot-1.png, banners, or any image showing the Simple History event log.
Guidance for writing and running tests in Simple History. Covers which framework to use, how to run existing tests, and how to create new ones (including the codegen recording workflow).
| name | sql |
| description | Runs SQL queries against the WordPress development database. Use when inspecting tables, checking event data, or debugging database issues. |
| disable-model-invocation | true |
| allowed-tools | Read, Bash |
Run SQL queries against the WordPress development database.
Security: Development database only. Always confirm UPDATE/DELETE with user first.
docker compose exec mariadb mysql -u<USER> -p<PASSWORD> <DATABASE> -e "YOUR_SQL_HERE"
Credentials are in CLAUDE.local.md under "Database Access".
# Show all tables
docker compose exec mariadb mysql -u<USER> -p<PASSWORD> <DATABASE> -e "SHOW TABLES;"
# Recent Simple History events
docker compose exec mariadb mysql -u<USER> -p<PASSWORD> <DATABASE> -e "SELECT * FROM wp_simple_history ORDER BY id DESC LIMIT 10;"
# Describe table structure
docker compose exec mariadb mysql -u<USER> -p<PASSWORD> <DATABASE> -e "DESCRIBE wp_simple_history;"
| Prefix | Installation |
|---|---|
wp_ | Main install |
wp_nightly_ | Nightly build |
wp_multisite_ | Multisite |
wp_simple_history - Main events tablewp_simple_history_contexts - Event context/metadataCLAUDE.local.md