Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add AbdulmalekAlshugaa/claude-agents-fullstack --skill component-designgit clone --depth 1 https://github.com/AbdulmalekAlshugaa/claude-agents-fullstackWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/abdulmalekalshugaa/claude-agents-fullstack/component-design)<a href="https://agentmods.dev/skills/abdulmalekalshugaa/claude-agents-fullstack/component-design"><img src="https://agentmods.dev/badge/skills/abdulmalekalshugaa/claude-agents-fullstack/component-design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/abdulmalekalshugaa/claude-agents-fullstack/component-design"><img src="https://agentmods.dev/badge/skills/abdulmalekalshugaa/claude-agents-fullstack/component-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.00775 |
| Opus 5.5 | $0.00016 | $0.00310 |
| Sonnet 5.5 | $0.00008 | $0.00155 |
| Haiku 4.5 | $0.00004 | $0.00077 |
Grade A, and why
component-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Component design (Next.js App Router)
Server vs client
- Default to server components. Add
'use client'only for state, effects, event handlers, or browser APIs — and put the directive on the smallest leaf that needs it, not the page. - Static/one-shot data: fetch in server components (call services directly) and
pass plain serializable props down. Never pass raw DB rows or Mongoose docs;
prefer ISO
strings over Dates; ObjectIds must be
.toString()ed. - Data the client interacts with (refetch, pagination, mutation): the server
component prefetches via
queryClient.query()+HydrationBoundary, the client component consumes withuseSuspenseQuery— see thetanstack-queryskill. NeveruseEffect+fetch. - Fresh data after a mutation →
invalidateQueriesin the mutation'sonSuccess(plusrevalidatePathin the action if RSC-rendered data changed) — never manual refetch loops orrouter.refresh()as a fix.
Component structure
- Smart/dumb split: pages and feature containers fetch and decide; leaf
components in
modules/<feature>/components/are prop-driven and presentational. - Props are explicit and typed inline or as
type Props = { ... }above the component. NoReact.FC. - Discriminated unions over optional-prop bags when a component has modes:
type Props = | { state: 'loading' } | { state: 'error'; message: string } | { state: 'ready'; items: Item[] } - Never spread props into custom components (
<Card {...props}>hides the contract). - Callbacks named
onX, handlers namedhandleX.
Async UI states — every data-driven view handles all four
- Loading —
loading.tsxor Suspense boundary with a skeleton - Error —
error.tsxor an inline error state with a retry path - Empty — a designed empty state, never a blank region
- Populated
Forms
- shadcn/ui
form(react-hook-form +zodResolver) submitting throughuseMutationfor the standard case;useActionStatefor simple RSC-only forms with no client cache to reconcile. - Validate with the same Zod schema on client (nice errors) and server (security).
- Disable the submit button while
isPending; surface field-level errors.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +1 lines f68dacd63957
- 1mo ago First seen · 67 lines · 39 tokens per session scan A 5895888a07ce
component-design is a skill published in the GitHub repository AbdulmalekAlshugaa/claude-agents-fullstack (4 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 775 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
ui-checkstyle
Run the exact ESLint + Prettier + organize-imports sequence that CI's UI Checkstyle workflow runs — on just the files the PR changed — and fail the task if any file ends up with a diff. Invoke after authoring or modifying any .ts, .tsx, .js, .jsx, or .json file under openmetadata-ui/src/main/resources/ui/src/…
tamagui-v6-config
Tamagui v6 theme system: the light/dark/accent/brand/inverse/level/active theme family, the background-active one-off key, and recipe-tree authoring with createV6Config. Use when choosing a theme for a surface, building a selected/emphasis state, or authoring a custom v6 colors pack.
tamagui-theme-generator
Generate custom Tamagui themes, color palettes, and preview URLs. Use when creating or refining a color scheme, authoring light/dark palettes with brand accents, or previewing generated themes in the browser.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
building-landing-home
Compose a product or documentation home page from the @lobehub/ui/awesome landing components: LandingHero, AgentSkillCard, LogoMarquee, LandingSection, BentoGrid/BentoCard, CodeShowcase, FeatureGrid, InstallBanner and FluidGradient. Covers page structure, the lobedocs homePage hook, router links, theming the accent…