calcosmic/aether/react

Claude Code and agent skill by calcosmic/aether

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.

Use when the project uses React for building user interfaces

Install

npx vskill@latest install calcosmic/aether/react

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

SKILL.md

The same SKILL.md was published earlier as calcosmic/aether/react.

React Best Practices

Component Design

Prefer function components with hooks over class components. Keep components small and focused on a single responsibility. If a component file exceeds 200 lines, it likely needs splitting.

Extract custom hooks when you find yourself reusing stateful logic across components. Name hooks with the use prefix and keep them in a dedicated hooks/ directory.

State Management

Use useState for local UI state, useReducer for complex state transitions, and context for cross-cutting concerns like themes or auth. Avoid putting everything in global state -- most state is local.

Lift state up only when two sibling components need the same data. If prop drilling goes deeper than 2-3 levels, consider context or composition patterns instead.

Performance Gotchas

Wrap expensive computations in useMemo and callback references in useCallback, but only when you measure an actual performance problem. Premature memoization adds complexity without benefit.

Never create new objects or arrays inline as props -- this triggers unnecessary re-renders. Define defaults outside the component body.

Avoid anonymous functions in useEffect dependency arrays. Extract effect logic into named functions for clarity and stable references.

Keys and Lists

Always use stable, unique identifiers as keys in lists -- never array indices (unless the list is static and will never reorder). Bad keys cause subtle bugs with component state getting mixed up between items.

Error Boundaries

Wrap major UI sections in error boundaries. A crash in a sidebar widget should not take down the entire page. Use react-error-boundary or build your own class component for this.

File Organization

Group by feature, not by type. Colocate a component with its tests, styles, and hooks rather than having separate components/, styles/, and tests/ trees. This makes features self-contained and easy to move or delete.

Security

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

Quality evaluation

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

Source

Popularity

7-day trend score
5

Not refreshed yet.

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/calcosmic/aether/react/badge)](https://verified-skill.com/skills/calcosmic/aether/react)

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