frontend-implementation-guard

Official

Keep React components focused and well-structured.

Authorlgerard314
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Component logic often sprawls across render methods and event handlers, making components hard to test and reuse. This guard helps keep React components focused, with business logic moved to hooks, and with state placed at the appropriate scope.

Core Features & Use Cases

  • Enforces single-responsibility component design and clean separation of concerns.
  • Encourages moving business logic to custom hooks or services, and using TanStack Query for server data.
  • Guides proper state placement, avoids overuse of Context for frequently-updated data, and promotes discriminated props for variant rendering.
  • Applies to writing or reviewing component-level code, hooks, and client-side data fetching in React projects.

Quick Start

Create or review a small React component that follows the guard's rules for focused state, hook discipline, and client-side data fetching.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: frontend-implementation-guard
Download link: https://github.com/lgerard314/global-plugin/archive/main.zip#frontend-implementation-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.