skills/smithery.ai/refactor-boundaries

refactor-boundaries

Installation
SKILL.md

Refactor Server/Client Boundaries

Refactor Server/Client boundaries in: $ARGUMENTS

Analysis

  1. Identify current state:

    • Which components have 'use client'?
    • Why is each Client Component necessary?
    • What could be Server Components?
  2. Find violations:

    • Client Components doing data fetching
    • Server logic mixed with UI
    • Unnecessary 'use client' directives

Refactoring Strategy

Pattern 1: Split Data Fetching from UI

Installs
1
First Seen
Mar 21, 2026