tombinga/performance-hygiene-bloat-remover ? reverse-engineered prompt
Reverse engineered prompt
Build me a WordPress plugin that helps clean up common site bloat and improve performance without making anything risky by default.
I want it to have a settings page in the WordPress admin under Performance Hygiene, where I can turn individual cleanup features on or off, save settings, reset everything, and import or export the settings as JSON. Please make the defaults safe and sensible, and clearly label anything that could affect site behavior.
The plugin should be modular, with separate pieces for things like removing extra stuff from the page head, disabling emojis and embeds, trimming heartbeat and autosave, limiting revisions, hiding dashicons for visitors, removing duotone output, disabling block patterns, optionally disabling comments and feeds, and handling a few WooCommerce optimizations when WooCommerce is active.
Also include developer friendly filters so site owners can override feature flags and timing values in code if needed. If you need to check current WordPress guidance or edge cases, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit