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.

React architecture refactoring v1.0.0

Use this resource to refactor the architecture of a React application or an oversized component

New

  • 477 downloads
  • 176 likes
  • 106 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install react-architecture-refactoring

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 applies 40 rules ranked by impact to split components, extract hooks, reduce coupling between modules and separate containers from presentation. You get a React architecture that is easier to test and evolve.

Mostly picked by

Updated November 2, 2026

Card for the “React architecture refactoring” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from component architecture to safety
  • references/arch-render-props-to-hooks.md: from render props to hooks; references/arch-container-presentational.md: containers and presentation

Good fit for

  • A component of several hundred lines mixes data and display
  • You are extracting reusable logic shared across several screens

Not for

    Tags

    • react
    • architecture
    • refactoring
    • hooks

    About

    You say

    “Split this 400-line React component and extract the loading logic into a hook.”

    Card for the “React architecture refactoring” skill

    Skill published by pproenca 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 refactor the architecture of a React application or an oversized component
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md8.7 KB
    • assets/templates/_template.md0.6 KB
    • LICENSE1.1 KB
    • metadata.json0.8 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • README.md4.5 KB
    • references/_sections.md1.9 KB
    • references/arch-composition-over-props.md2.9 KB
    • references/arch-compound-components.md3.1 KB
    • references/arch-container-presentational.md3.1 KB
    • references/arch-feature-colocation.md2.1 KB
    • references/arch-headless-pattern.md3.6 KB
    • references/arch-interface-segregation.md2.9 KB
    • references/arch-push-client-low.md3.3 KB
    • references/arch-render-props-to-hooks.md2 KB
    • references/couple-barrel-free-features.md2.6 KB
    • references/couple-break-circular-deps.md2.5 KB
    • references/couple-dependency-injection.md2.4 KB
    • references/couple-stable-imports.md2.5 KB
    • references/data-context-module-pattern.md3.3 KB
    • references/data-granular-error-boundaries.md2.7 KB
    • references/data-server-first-fetch.md2.9 KB
    • references/data-tanstack-query-client.md2.8 KB
    • references/decomp-complete-extraction.md2.9 KB
    • references/decomp-extract-by-change-reason.md3.7 KB
    • references/decomp-extract-pure-functions.md3.4 KB
    • references/decomp-inline-premature.md3.2 KB
    • references/decomp-scroll-test.md4 KB
    • references/decomp-separate-view-logic.md3.8 KB
    • references/hook-avoid-object-deps.md2.4 KB
    • references/hook-composition-over-nesting.md2.7 KB
    • references/hook-dependency-stability.md2.8 KB
    • references/hook-extract-when-nameable.md2.8 KB
    • references/hook-naming-conventions.md2.5 KB
    • references/hook-single-responsibility.md3.3 KB
    • references/safety-characterization-tests.md2.6 KB
    • references/safety-extract-pure-testability.md3.1 KB
    • references/safety-integration-over-unit.md3.2 KB
    • references/safety-snapshot-free.md2.5 KB
    • references/safety-test-behavior.md2.5 KB
    • references/state-colocate-with-consumers.md2.1 KB
    • references/state-context-for-static.md2.9 KB
    • references/state-derive-dont-sync.md2.3 KB
    • references/state-lift-only-when-shared.md2 KB
    • references/state-machines-for-workflows.md3.7 KB
    • references/state-reducer-for-complex.md3.2 KB
    • references/state-url-as-state.md3.7 KB
    • SKILL.md9.3 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/react-refactor
    Licence
    MIT

    Notice

    « react-refactor » (pproenca, 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.