From superpowers-sage
Reviews Sage/Acorn projects for PHP/Blade/JS/CSS conventions, Service Providers, ACF/Composer blocks, Livewire components, Eloquent models, Acorn routes, plus security, performance, code quality checklists.
npx claudepluginhub codigodoleo/superpowers-sage --plugin superpowers-sageThis skill uses the workspace's default tool permissions.
Review code against Sage/Acorn conventions and verify alignment with design reference.
Guides Sage/Acorn WordPress projects with gerund workflows, Lando commands, architectural preferences, skill routing, Roots ecosystem conventions, and query-first patterns. Use first in relevant sessions.
Reviews code in AEM Edge Delivery Services projects for quality, performance, accessibility, and best practices. Use for self-review of working changes before commit or GitHub PR review with screenshots.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Review code against Sage/Acorn conventions and verify alignment with design reference.
$ARGUMENTS
If no scope specified, review all changed files (git diff against base branch).
ThemeServiceProvider extends Roots\Acorn\Sage\SageServiceProvider; other feature providers extend Illuminate\Support\ServiceProviderregister() only contains bindings (no hooks, no side effects)boot() contains hooks and initializationacf:block generatorwith() returns only data the view needsfields() uses Builder API$variable not get_field()@extends, @section, @yield)match($tone) → Tailwind class strings; no tone="*" props driving color; no hardcoded color utilities on h2/p/span → G10 violation (CRITICAL)<x-eyebrow> + <h2> when <x-section-header> exists; no raw <a> with button utilities when <x-button> exists → G9 violationnl2br() only on addTextarea()/addWysiwyg() fields, not addText() → G11 violationtext-[*px] or tracking-[*px] in block/component views → CRITICALregister_rest_route()@vite() or Vite::asset()add_action/add_filter in ServiceProvider boot()setup.php only for after_setup_theme essentialsconfig/poet.php (not register_post_type())If active plan has assets:
assets/## Review: {scope}
### Critical (must fix)
- **{file}:{line}** — {issue}. See `{skill}`.
### Improvement (should fix)
- **{file}:{line}** — {issue}. See `{skill}`.
### Good Practices Found
- {positive observation}
### Design Alignment
- {component}: {MATCH/DRIFT} — {details}
### Summary
{X} critical, {Y} improvements, {Z} good practices.
After sage-reviewer completes:
docs/plans/<active-plan>/assets/section-*-spec.md### Verification Inputs block — extract url, selector, ref
b. Dispatch visual-verifier agent with:
url: from spec Verification Inputsselector: from spec Verification Inputsspec: this spec file pathref: from spec Verification Inputs
c. Collect report: MATCH | DRIFT | MISSING | FAIL_ARBITRARY_VALUESfinishing-a-development-branchfinishing-a-development-branch for merge/PR workflowrequesting-code-review, receiving-code-review