setup-react-rules
CommunityEnforce React/TS rules for safer frontend code.
Authormalinskibeniamin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enforce React/TS/security rules via PostToolUse hooks to ban unsafe patterns, reduce XSS risks, and standardize component-library usage across code changes.
Core Features & Use Cases
- Enforced rules cover HTML usage, TS escape hatches, dangerouslySetInnerHTML, eval/new Function, barrel imports, and missing passive listeners.
- Automatic checks run during Edit/Write to skip component-library directories as needed, ensuring consistent coding standards.
- Use cases include code reviews, CI gate checks, and contributor onboarding to maintain a secure, accessible UI codebase.
Quick Start
Install and enable the skill in your Claude environment to automatically enforce React rules during edits.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: setup-react-rules Download link: https://github.com/malinskibeniamin/skills/archive/main.zip#setup-react-rules 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 510,000+ vetted skills library on demand.