diegosouzapw/awesome-omni-skill/frontend-patterns-besync-labs

Claude Code and agent skill by diegosouzapw/awesome-omni-skill

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Frontend development patterns for React and modern frameworks

Install

npx vskill@latest install diegosouzapw/awesome-omni-skill/frontend-patterns-besync-labs

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Frontend Patterns Skill

Purpose: Apply modern frontend development patterns

Overview

This skill provides best practices for building maintainable, performant frontend applications.


Component Architecture

Atomic Design
atoms/ → Button, Input, Label
molecules/ → FormField, SearchInput
organisms/ → LoginForm, Header
templates/ → PageLayout, DashboardLayout
pages/ → LoginPage, DashboardPage
Feature-Based Structure
src/
├── features/
│ ├── auth/
│ │ ├── components/
│ │ ├── hooks/
│ │ ├── api/
│ │ └── index.ts
│ └── dashboard/
│ ├── components/
│ ├── hooks/
│ └── index.ts
├── shared/
│ ├── components/
│ ├── hooks/
│ └── utils/
└── App.tsx

React Patterns

Custom Hooks
tsx
function useLocalStorage<T>(key: string, initialValue: T) {
const [value, setValue] = useState<T>(() => {
const stored = localStorage.getItem(key);
return stored ? JSON.parse(stored) : initialValue;
});
useEffect(() => {
localStorage.setItem(key, JSON.stringify(value));
}, [key, value]);
return [value, setValue] as const;
}
Compound Components
tsx
<Select value={selected} onChange={setSelected}>
<Select.Trigger>Choose option</Select.Trigger>
<Select.Options>
<Select.Option value="a">Option A</Select.Option>
<Select.Option value="b">Option B</Select.Option>
</Select.Options>
</Select>
Render Props
tsx
<DataFetcher url="/api/users">
{({ data, loading, error }) =>
loading ? <Spinner /> : <UserList users={data} />
}
</DataFetcher>

State Management

SolutionUse Case
useStateLocal component state
useReducerComplex local state
ContextTheme, auth, i18n
ZustandSimple global state
ReduxComplex global state
React QueryServer state

Performance

Memoization
tsx
// Expensive calculation
const sortedItems = useMemo(
() => items.sort((a, b) => a.name.localeCompare(b.name)),
[items],
);
// Callback stability
const handleClick = useCallback(() => {
onClick(id);
}, [id, onClick]);
// Component memoization
const UserCard = memo(({ user }) => <div>{user.name}</div>);

Quick Reference

PatternUsage
Custom HooksReusable logic
CompoundFlexible APIs
Render PropsDynamic rendering
HOCCross-cutting concerns
ContextGlobal state
MemoizationPerformance

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
15
Repository forks
5
7-day trend score
14

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Apr 2026, 7 months ago.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diegosouzapw/awesome-omni-skill/frontend-patterns-besync-labs/badge)](https://verified-skill.com/skills/diegosouzapw/awesome-omni-skill/frontend-patterns-besync-labs)

Something wrong with this skill or its page? Tell us.