smithery.ai

react-clean-ui

Keep React UI components clean; move logic into hooks and services

First seen Apr 13, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
Compatibilityopencode
Declared agents opencode
More metadata
stack
node-react-next
style
solid-clean-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 853 B
  • docs SUMMARY.md 88 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

What I do

Je fournis des règles pour garder des composants React propres :

  • UI minimaliste (présentation)
  • Logique dans hooks
  • Données via TanStack Query

UI rules

  • Aucun appel réseau dans un composant UI.
  • Aucun mapping DTO complexe dans JSX.
  • Pas de state global implicite : state local ou query cache.

Hook rules

  • Un hook retourne un view-model prêt.
  • Le hook parle aux services via DI.
  • Les side-effects UI (toast, navigation) restent dans hooks/pages.

Example pattern

export function UserPage({ id }: { id: string }) {
  const vm = useUserDetails(id);
  return <UserDetailsView {...vm} />;
}