From superpowers-sage
Audits Sage/Acorn project files against convention checklists: ACF Composer, Blade, Livewire, Eloquent, routes, Tailwind v4. Dispatches a reviewer agent before PR merge.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-sage:reviewing [file path or scope][file path or scope]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review code against Sage/Acorn conventions and verify alignment with design reference.
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-reviewnpx claudepluginhub hekivo/superpowers-sageRoutes architectural decisions and skill selection for Sage/Acorn WordPress projects. Covers Lando commands, design tool URLs, MCP patterns, and Livewire vs Blade or Acorn vs WordPress tradeoffs.
Conducts 7-phase frontend design review with WCAG 2.1 AA accessibility checks, responsive testing, visual polish for PR reviews, UI audits, layout issues.
Audits frontend code for design consistency, accessibility (WCAG AA), responsive behavior, and UI/UX best practices before deployment or after design system changes.