fswp-reviewer

Revisão independente de plugins WordPress, temas, add-ons ou patches do Core, focando em segurança, qualidade e enxugamento, com relatórios de alta confiança.

O que é fswp-reviewer?

O FSWP Reviewer é uma skill de agente especializada em realizar revisões independentes de código WordPress, atuando como uma etapa de verificação após a validação do fswp-qa-engineer. Ela aplica lentes de segurança (vulnerabilidades específicas do WordPress, autorização REST/AJAX com mapa de risco, riscos de código gerado por IA), qualidade (tratamento de erros, segurança de dados e upgrades, desempenho, i18n, acessibilidade, precisão de comentários, lacunas de teste, design de classes/tipos, escopo) e uma lente opcional de enxugamento (lean) para remover superengenharia. O revisor pontua cada candidato de 0 a 100 e relata apenas descobertas com confiança >= 80 (Críticas ou Importantes), usando um formato fixo que inclui arquivo, linha, evidência, impacto e correção. A skill é invocada pelo agente fswp-code-reviewer e pode ser consultada diretamente para revisar ou otimizar qualquer código WordPress. Ela suporta Claude Code, Cursor e Codex, e sua independência é garantida pela não leitura do log de compilação.

Funciona com✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/syncwin/fswp-developer/tree/main/skills/fswp-reviewer

Installed? Explore more Programação e Desenvolvimento skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

FSWP Reviewer

Revise o código como um estranho faria: leia o que está lá, não como foi construído. Somente leitura; nunca edite. Execute após fswp-qa-engineer estar verde para que o tempo seja gasto no que scripts não conseguem ver. A lente lean pode rodar sozinha em qualquer código existente.

Procedimento

  1. Liste os arquivos. Leia o PRD ou resumo da mudança, se houver, e sinalize qualquer coisa entregue que não foi solicitada. Sem resumo (código de terceiros, auditoria lean), pule esta verificação ao invés de inventar escopo.
  2. Identifique o tipo de código (plugin, tema, add-on, patch do Core) e aplique as lentes fornecidas: segurança e/ou qualidade (references/security-lens.md, references/quality-lens.md), lean (references/lean-lens.md). Qualquer combinação é permitida. Se docs/review-rules.json existir, também o aplique (references/project-rules.md).
  3. Pontue cada candidato de segurança/qualidade de 0 a 100 quanto à confiança de que é um defeito real neste código. Relate apenas 80 ou mais: Crítico (90-100), Importante (80-89). Descarte nicas de estilo e qualquer coisa que um scanner já reporte. Descobertas lean usam seu próprio formato.
  4. Apenas lente de segurança: adicione Suspeitas não verificadas (no máximo 5, uma linha cada) para candidatos com pontuação abaixo de 80 que uma pessoa deva dar uma olhada. Perder uma vulnerabilidade custa mais do que uma linha extra.
  5. Se nada ultrapassar o limite, diga o que foi verificado e pare. Sem enchimento, sem elogios.

Formato de descoberta

[Crítico|Importante] <título>  (confiança NN, CWE-NNN se segurança)
Arquivo: caminho:linha
Evidência: o código ou comportamento exato
Impacto: uma frase concreta
Correção: a menor mudança que resolve

Veredito

Segurança/qualidade: uma linha final, ship ou fix first, com as contagens de Crítico e Importante. Auditoria lean: o total de linhas e dependências que seriam removidas se cada descoberta fosse aplicada; nenhum veredito ship/fix-first, pois uma auditoria lean não é um portão de liberação.

Independência

Esta skill nunca lê o log de compilação. No Claude Code, o agente fswp-code-reviewer garante isso. Sem agentes, divulgue a execução como uma auto-revisão.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

fswp-api-developer

Domain skill for WordPress REST API and Abilities API work in Full-Stack WP Developer. Covers registering routes with schemas, argument validation and sanitization, permission callbacks, controller classes, exposing post types and meta, authentication (cookie nonce, application passwords), pagination and errors, and registering abilities with input and output schemas and safety annotations. Use for any custom endpoint or machine-readable capability in a plugin or theme.

fswp-architect

Planning stage of Full-Stack WP Developer. Classifies the work (new plugin, new theme, update to an existing plugin or theme, add-on for another product, or WordPress Core patch), triages existing code with a bundled detection script, asks one round of essential questions, does competitive research, and produces one reviewable PRD or change brief with a single approval gate. Also covers Migration mode and multi-session handoff docs. Invoked by fswp-developer before any code is written; consult directly for PRD, change-brief, or handoff-doc questions.

fswp-block-developer

Domain skill for WordPress block editor work in Full-Stack WP Developer. Covers building custom Gutenberg blocks (block.json, static and dynamic rendering, attributes, supports, InnerBlocks, variations, deprecations, block bindings), block patterns, and the Interactivity API (data-wp directives, stores, server-side state), with the @wordpress/scripts build workflow. Use for any custom block, pattern, or front-end interactivity in a plugin or theme.

fswp-core-contributor

WordPress Core contribution stage of Full-Stack WP Developer. Guides a contributor through finding or filing a Trac ticket, setting up the wordpress-develop checkout and test environment, writing a patch or GitHub pull request that follows Core coding standards, inline documentation, backward compatibility and tests, and preparing the ticket comment; also routes block-editor changes to the Gutenberg repository and security reports to the private process. Invoked by fswp-developer for Core patches; consult directly for Core workflow questions.

fswp-devops-engineer

Domain skill for WordPress development tooling in Full-Stack WP Developer. Covers local environments (wp-env with Docker, WordPress Playground and Blueprints), command-line site operations (plugin and theme management, database export, search-replace, cron, scaffolding), coding standards and static analysis (PHPCS with WordPress standards, PHPStan with WordPress stubs), PHP and JS testing setup, and the @wordpress/scripts toolchain. Use when setting up, running, or automating a WordPress dev or test environment.

fswp-maintainer

Change stage for existing WordPress code in Full-Stack WP Developer. Updates, fixes, refactors, and upgrades existing plugins and themes without breaking them, and builds add-ons for products you do not own (WooCommerce extensions, page-builder elements, extensions of other plugins) using hooks instead of edits to third-party files. Covers reading before changing, parity lists, deprecation, host compatibility, upgrade paths, and patch delivery. Invoked by fswp-developer after an approved change brief; consult directly for safe-change or add-on questions.

fswp-qa-engineer

Verification stage of Full-Stack WP Developer. Runs the mechanical gate for plugins and themes (house-rule scripts, PHP lint, PHPCS with WordPress standards, PHP compatibility, PHPStan with WordPress stubs), the manual checklist, PRD or change-brief scenario tests, and the pre-release check. Reports PASS, FAIL, or NOT RUN and never implies a skipped check passed. Invoked by fswp-developer after a build and again before delivery; consult directly to audit any plugin or theme folder.

fswp-theme-developer

Theme build stage of Full-Stack WP Developer. Builds custom WordPress themes - block themes (theme.json, templates, template parts, patterns, style variations), classic themes (template hierarchy, functions.php, theme supports), hybrids, and child themes - with accessibility, escaping, and directory readiness built in, plus a scaffold script. Invoked by fswp-developer after an approved PRD for a new theme; consult directly for a specific theme pattern. For changes to an existing theme use fswp-maintainer.

syncwin/fswp-plugin-developer

Plugin build stage of Full-Stack WP Developer. House standards and code templates for real WordPress plugins (not shortcode snippets) - folder anatomy, activation/uninstall lifecycle, custom post types and tables, admin UI tiers, front-end output on the Atomic Framework, REST and cron, i18n, distribution, and the Tier 3 React admin stack - plus a scaffold script. Also the base structure for add-ons. Invoked by fswp-developer after an approved PRD; consult directly for a specific plugin build pattern.

Habilidades Relacionadas