一键导入
wp-plugin-qa-auditor
WP plugin security + code quality audit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
WP plugin security + code quality audit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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