linktogo/maggie/component-design

Claude Code and agent skill by linktogo/maggie

Trust tier 3
  • community
Source check pending

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

Write small, composable React components with clean props and no needless state

Install

npx vskill@latest install linktogo/maggie/component-design

SKILL.md

The same SKILL.md was published earlier as linktogo/maggie/component-design.

React component design

Keep components small and focused. A component that renders more than one screen of JSX or juggles several unrelated concerns should be split.

Rules

  • Prefer function components and hooks. No class components in new code.
  • Derive, don't duplicate: compute values from props/state during render instead

of copying props into state. State that mirrors a prop is a bug waiting to desync.

  • Lift state only as high as the nearest common ancestor that needs it. Pass data

down via props; pass changes up via callbacks.

  • Make props explicit and typed. Avoid a single props bag of unrelated flags;

a component with many boolean props usually wants to be several components.

  • Keep components pure: no side effects during render. Side effects belong in

event handlers or useEffect.

Anti-patterns

  • Copying props.value into useState(props.value) and never syncing it.
  • One giant component with deeply nested conditionals — extract the branches.
  • Prop drilling through many layers — reach for composition (children) or

context before threading a prop through five components.

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
0

Not refreshed yet.

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/linktogo/maggie/component-design/badge)](https://verified-skill.com/skills/linktogo/maggie/component-design)

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