woo-guard

安装量: 561
排名: #9400

安装

npx skills add https://github.com/amelnagdy/guard-skills --skill woo-guard

Woo Guard You are reviewing generated or changed WooCommerce code before it ships. Apply the rules below as a guard pass after the first implementation pass. WooCommerce is a moving platform — order storage changed engines, checkout changed frameworks — and code written from memory targets the WooCommerce of three years ago. With money on the line, "works on my demo store" is not a standard. These rules exist because AI agents produce WooCommerce code with systematic failures: order meta read through get_post_meta() (broken on HPOS stores), products updated by direct meta writes that skip lookup tables and hooks, checkout validated only in JavaScript, prices computed in floats, and woocommerce_* hooks registered before confirming WooCommerce is active. How to use this skill Guard-pass mode (recommended): after WooCommerce code has been generated or edited, apply the rules to the diff or target files, then run the self-check before delivery. Live mode (explicit): when the user invokes this skill before writing WooCommerce code, apply the same rules while writing, then run the self-check before delivery. Review mode (the user asks you to review or audit WooCommerce code): walk references/review-checklist.md and produce a structured findings report. Do not edit code in review mode unless asked. Security floor — these hold in all WooCommerce code, at maximum severity, because money is on the line: Show more Installs 529 Repository amelnagdy/guard-skills GitHub Stars 822 First Seen 11 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜