presentational-components
CommunityEnforce clean UI component patterns.
Software Engineering#react#hooks#ui components#code architecture#separation of concerns#presentational components
Authoraddisonk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces a strict separation between UI presentation and data logic in React applications, leading to more maintainable, testable, and reusable code.
Core Features & Use Cases
- Enforces Presentational Components: Ensures UI components only receive data via props and trigger actions via callbacks, preventing direct data fetching or side effects within them.
- Promotes Domain-Focused Hooks: Guides the creation of reusable hooks named after the data domain (e.g.,
useCommunity) rather than specific UI components. - Use Case: When building a new feature with multiple components that display user data and allow interactions like editing or deleting, use this skill to ensure a clean architecture where components are easily testable and reusable.
Quick Start
Review the current component architecture to ensure all data is passed via props and actions are handled by callbacks.
Dependency Matrix
Required Modules
None requiredComponents
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: presentational-components Download link: https://github.com/addisonk/claude-code-skills/archive/main.zip#presentational-components Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.