with one click
wp-plugin-qa-auditor
WP plugin security + code quality audit
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
WP plugin security + code quality audit
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
PublishPress Future code style
Launch coding agent for PublishPress Future
Prep CHANGELOG.md for release
WP plugin security audit
Bump plugin version via composer set:version
| name | wp-plugin-qa-auditor |
| description | WP plugin security + code quality audit |
Activate on security audit or code quality review request. Output GHSA findings + spreadsheet metrics.
Audit security, code quality, maintainability. Produce:
Read .cursor/skills/_fragments/exclude-dirs.md before grep/search/phpmetrics.
Delegate to security-audit skill. Read .cursor/skills/security-audit/SKILL.md. GHSA files + Security Score. Return score + critical findings.
find . -name "*.php" -not -path "*/vendor/*" -not -path "*/tests/*" -exec wc -l {} \; (>700 lines — legacy function-only files too)Scale: 5.0 excellent → 4.0 healthy threshold → 2.5 needs-work → <2.5 critical
global $$wpdb countTODO|FIXME|HACK|XXX (exclude vendor/tests)Scale: 5.0 excellent → 4.0 healthy threshold → 2.5 needs-work → <2.5 critical
Scale: 5.0 excellent → 4.0 healthy threshold → 2.5 needs-work → <2.5 critical
Code Quality Score: (Architecture + Maintainability + Documentation) ÷ 3
composer.json:
Payment (if applicable): Stripe SDK/API/PCI/webhooks; PayPal IPN/webhook; API keys in wp_options/constants not plaintext; no card data (PCI)
phpmetrics --report-html=metrics --exclude=vendor,lib/vendor,tests,dist,dev-workspace .
Extract: Violations, LOC, Classes, Avg Cyclomatic Complexity, Avg Bugs by Class.
Read .cursor/skills/_fragments/audit-report-qa.md when generating the report.
Read .cursor/skills/_fragments/ghsa-template.md when generating advisories. Per vuln → .md in /security-audit/ (from security-audit skill).
Naming: [plugin-name]-[###]-[SEVERITY]-[short-description].md
Rules: sequential 001+, SEVERITY uppercase, kebab description, only if vulns found.
Reporting: 1-2 sentences Notes column; snippets with file:line; brief report / detail in GHSA.
.cursor/skills/security-audit/SKILL.md, score + GHSA