sanuu7/androidharness/react-frontend

Claude Code and agent skill by sanuu7/androidharness

Trust tier 3
  • community
Source check pending

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

React, Next.js or Vite apps. Performance-first patterns, correct data fetching, clean state.

Install

npx vskill@latest install sanuu7/androidharness/react-frontend

SKILL.md

React frontend

Performance rules before polish. Most React slowness is waterfalls, barrel imports, and effect-driven state.

When to use

  • Building or refactoring React / Next.js / Vite components
  • Slow pages, big bundles, unnecessary re-renders
  • User says React, Next, JSX, hooks, Tailwind app

When not to use

  • Single static HTML mockup (web-design)
  • Backend/API work only (node-api)

Procedure

  1. env_status once. Node lives in the Linux environment; if missing, tell the user to install it from Settings -> Terminal, then stop.
  2. Existing app? shell: cat package.json to detect the framework and scripts. Empty workspace? Ask which: Vite (npm create vite@latest app -- --template react) or Next (npx create-next-app@latest). Do not pick for them.
  3. Data fetching: parallelize independent requests with Promise.all. Never chain awaits that could run together. In Next, prefer server components fetching directly; pass only minimal props to client components.
  4. Imports: import directly from module files, not barrel index.js files. Load heavy widgets with next/dynamic / React.lazy.
  5. State: derive during render instead of syncing with useEffect. Functional setState for stable callbacks. Pass a function to useState for expensive initial values. Hoist default object props out of the component.
  6. Styling: reuse the project's tokens; Tailwind if present. No inline hex soup.
  7. Verify: npm run build must pass. Then npm run dev -- --host and give the user the localhost URL; on this device the server and Chrome share the phone, so http://localhost:PORT opens directly.

Pitfalls

  • Sequential awaits that form a waterfall.
  • Effects that mirror props into state.
  • Installing packages without telling the user what was added.

Verification

Build passes, the first meaningful paint needs one round trip, and the URL you gave opens in the phone's browser.

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

Repository stars
81
Repository forks
20
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. 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/sanuu7/androidharness/react-frontend/badge)](https://verified-skill.com/skills/sanuu7/androidharness/react-frontend)

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