Skip to content
Agent Workspaces
Skill

/react

React component development guide. Use when working with React components (.tsx files), creating UI, using @lobehub/ui components, implementing routing, or building frontend features. Triggers on React component creation, modification, layout implementation, or navigation tasks.

From plugin
spark-agent
12125 skills

Claude Code

$ npx -y skills add alexanderizh/spark-agent --skill react --agent claude-code

SKILL.md

react.SKILL.md
name: react
description: React component development guide. Use when working with React components (.tsx files), creating UI, using @lobehub/ui components, implementing routing, or building frontend features. Triggers on React component creation, modification, layout implementation, or navigation tasks.

React Component Writing Guide

  • Use antd-style for complex styles; simple cases use inline `style`.
  • Use `Flexbox` and `Center` from `@lobehub/ui` for layouts (see references/layout-kit.md).
  • Component priority: `src/components` > installed packages > `@lobehub/ui` > antd.
  • Use selectors to access zustand store data.

@lobehub/ui

Search existing code for usage. Common: ActionIcon, Block, Button, Icon; Avatar, Collapse, Empty, Highlighter, Markdown, Tag, Tooltip; CodeEditor, CopyButton, EditableText, Form, FormModal, Input, SearchBar, Select; Alert, Drawer, Modal; Center, DraggablePanel, Flexbox, Grid, Header, MaskShadow; Burger, Dropdown, Menu, SideNav, Tabs. Reference: node_modules/@lobehub/ui/es/index.mjs.

Routing

Hybrid: Next.js App Router (auth: login, signup, oauth) in `src/app/[variants]/(auth)/`; React Router DOM (main SPA) in desktopRouter.config.tsx.

  • Entry: src/app/[variants]/page.tsx. Desktop: desktopRouter.config.tsx. Mobile: (mobile)/router/mobileRouter.config.tsx. Utils: src/utils/router.tsx.
  • Use `dynamicElement`, `redirectElement`, `ErrorBoundary` from @/utils/router.
  • **Navigation:** For SPA use `Link` and `useNavigate` from `react-router-dom`, NOT `next/link`. From stores: useGlobalStore.getState().navigate?.(path).
Read more
@alexanderizh
Ships withspark-agent

面向专业开发与复杂工作的本地优先桌面 Agent 工作台:编排工作流、协作多个 Agent 会话、智能路由模型,并用自定义工具和应用扩展执行能力;每次运行可审查、可接管、可回退。 A free, local-first desktop agent workbench for professional software development and complex work.

Stars on GitHub

Momentum

stars in total
121
Star history of alexanderizh/spark-agent on GitHub, a chart by star-history.com

Other skills on spark-agent.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

gitnexus-guide

gitnexus-guide

Use when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or…

More skills from other plugins.

hud

hud

Set up, check, change, preview, or report a problem with the claude-hud status line. Use when the user mentions the HUD or status…

@jarrodwatts@jarrodwattsInstall Skill
paseo

paseo

Paseo reference for managing hosts, projects, workspaces, workspace scripts, agents, schedules, and heartbeats.

paseo6d24k
@getpaseo@getpaseoInstall Skill
10x
Auto-invoked

10x

Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…

paradev4d16k
@superset-sh@superset-shInstall Skill

Questions about react.

Which coding agents can use react?
react installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.