Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Split React components and hooks v1.0.0

Use this resource to split, review or refactor React components and hooks

New

  • 573 downloads
  • 132 likes
  • 188 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install react-component-hook-boundaries

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent decides whether logic belongs in a page, a hook, a presentational component or lib/utils. It narrows prop width, clarifies state flow and flags coupling between UI and logic.

Mostly picked by

Updated November 2, 2026

Card for the “Split React components and hooks” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: decision and execution rules for review, refactoring and implementation
  • references/react-component-hook-rules.md: detailed rules for components and hooks

Good fit for

  • A component mixes business logic with rendering
  • A component's props keep growing

Not for

    Tags

    • react
    • components
    • hooks
    • refactoring
    • props

    About

    You say

    “Split this dashboard component and move the logic into a hook.”

    Card for the “Split React components and hooks” skill

    Skill published by yangsonhung under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to split, review or refactor React components and hooks
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/react-component-hook-rules.md8.1 KB
    • SKILL.md5 KB

    Origin and licence

    Listed unmodified

    Author
    yangsonhung
    Source
    github.com/yangsonhung/awesome-agent-skills/tree/cb9d2b21801a687d4bd8e52b2c88e8ec9c0e48af/skills/en/react-component-hook-guidelines
    Licence
    MIT

    Notice

    « react-component-hook-guidelines » (yangsonhung, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.