Ghost

struxadotcloud/struxa

public
Fork0
CodeIssues0Pull requests0
1branch
struxa.claudeskillsvercel-composition-patternsrules_sections.md
initial commitd4cb9e15 months ago29 lines · 829 B
1# Sections
2
3This file defines all sections, their ordering, impact levels, and descriptions.
4The section ID (in parentheses) is the filename prefix used to group rules.
5
6---
7
8## 1. Component Architecture (architecture)
9
10**Impact:** HIGH
11**Description:** Fundamental patterns for structuring components to avoid prop
12proliferation and enable flexible composition.
13
14## 2. State Management (state)
15
16**Impact:** MEDIUM
17**Description:** Patterns for lifting state and managing shared context across
18composed components.
19
20## 3. Implementation Patterns (patterns)
21
22**Impact:** MEDIUM
23**Description:** Specific techniques for implementing compound components and
24context providers.
25
26## 4. React 19 APIs (react19)
27
28**Impact:** MEDIUM
29**Description:** React 19+ only. Don't use `forwardRef
`
; use
`
use()
`
instead of
`
useContext()
`
.