Chalk Labs
Need help deploying react-patterns?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nth5693-react-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
react-patterns- Description
- None
- License
- MIT
- Instructions
- 84 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- missing YAML frontmatter
- name: missing
- description: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# React Patterns Skill
## Overview
Modern React patterns, hooks, and state management principles.
## Core Principles
### 1. Component Composition
- Prefer composition over inheritance
- Use children prop for flexibility
- Create compound components for related UI
### 2. Hooks Best Practices
```tsx
// Custom hook pattern
function useUser(userId: string) {
const [user, setUser] = useState<User | null>(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<Error | null>(null);
useEffect(() => {
fetchUser(userId)
.then(setUser)
.catch(setError)
.finally(() => setLoading(false));
}, [userId]);
return { user, loading, error };
}
```
### 3. State Management
- **Local state:** useState for component-level
- **Shared state:** Context + useReducer
- **Server state:** React Query, SWR
- **Global state:** Zustand, Jotai
### 4. Performance Patterns
```tsx
// Memoization
const MemoizedComponent = React.memo(({ data }) => {
return <div>{data.name}</div>;
});
// useMemo for expensive computations
const sortedItems = useMemo(() => {
return items.sort((a, b) => a.name.localeCompare(b.name));
}, [items]);
// useCallback for stable references
const handleClick = useCallback(() => {
doSomething(id);
}, [id]);
```
### 5. Error Boundaries
```tsx
class ErrorBoundary extends React.Component {
state = { hasError: false };
static getDerivedStateFromError(error) {
return { hasError: true };
}
componentDidCatch(error, errorInfo) {
logError(error, errorInfo);
}
render() {
if (this.state.hasError) {
return <FallbackUI />;
}
return this.props.children;
}
}
```
## Anti-Patterns to Avoid
- ❌ Prop drilling (use Context instead)
- ❌ Mutating state directly
- ❌ Missing dependency arrays
- ❌ Over-using useEffect
- ❌ Inline function definitions in renderFrom nth5693/gemini-kit, MIT.
More from nth5693/gemini-kit
- 0.541score
supabase
nth5693
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
SkillDFreshness: D★ 371Claude Code +9 - 0.536score
code-review
nth5693
Systematic multi-perspective code review with consistent quality gates.
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
compound-docs
nth5693
Document solved problems for knowledge persistence
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
file-todos
nth5693
Manage file-based todo tracking in the todos/ directory
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
session-resume
nth5693
Resume context from previous session
SkillDFreshness: D★ 371Claude Code +9 - 0.532score
debug
nth5693
Systematic debugging with structured reproduction and root cause analysis.
SkillDFreshness: D★ 371Claude Code +9 - 0.511score
testing
nth5693
Unified testing commands and patterns across frontend and backend.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
tailwind
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
api-design
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
docker
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
mobile
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
performance
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9
Signals
- Stars
- 371
- Forks
- 32
- Open issues
- 3
- Last commit (this folder)
- Jan 22, 2026 (9 months ago)
- Last release
- Jan 22, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nth5693/gemini-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nth5693
- 0.541score
supabase
nth5693
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
SkillDFreshness: D★ 371Claude Code +9 - 0.536score
code-review
nth5693
Systematic multi-perspective code review with consistent quality gates.
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
compound-docs
nth5693
Document solved problems for knowledge persistence
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
file-todos
nth5693
Manage file-based todo tracking in the todos/ directory
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
session-resume
nth5693
Resume context from previous session
SkillDFreshness: D★ 371Claude Code +9 - 0.532score
debug
nth5693
Systematic debugging with structured reproduction and root cause analysis.
SkillDFreshness: D★ 371Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get react-patterns running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
react-patterns skill. Agent Mart. https://agentmart.dev/skills/nth5693-react-patterns (last updated 2026-10-24)