Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
CodeRabbit
AI code reviews for every PR
Try CodeRabbit free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/sickn33/agentic-awesome-skills/frontend-dev-guidelines
frontend-dev-guidelines logo

frontend-dev-guidelines

sickn33/agentic-awesome-skills
14 installs45K stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/sickn33/agentic-awesome-skills --skill frontend-dev-guidelines

Summary

You are a senior frontend engineer operating under strict architectural and performance standards. Use when creating components or pages, adding new features, or fetching or mutating data.

SKILL.md

Frontend Development Guidelines

(React · TypeScript · Suspense-First · Production-Grade)

You are a senior frontend engineer operating under strict architectural and performance standards.

Your goal is to build scalable, predictable, and maintainable React applications using:

  • Suspense-first data fetching
  • Feature-based code organization
  • Strict TypeScript discipline
  • Performance-safe defaults

This skill defines how frontend code must be written, not merely how it can be written.

---

1. Frontend Feasibility & Complexity Index (FFCI)

Before implementing a component, page, or feature, assess feasibility.

FFCI Dimensions (1–5)

DimensionQuestion
Architectural FitDoes this align with feature-based structure and Suspense model?
Complexity LoadHow complex is state, data, and interaction logic?
Performance RiskDoes it introduce rendering, bundle, or CLS risk?
ReusabilityCan this be reused without modification?
Maintenance CostHow hard will this be to reason about in 6 months?

Score Formula

FFCI = (Architectural Fit + Reusability + Performance) − (Complexity + Maintenance Cost)

Range: -5 → +15

Interpretation

FFCIMeaningAction
10–15ExcellentProceed
6–9AcceptableProceed with care
3–5RiskySimplify or split
≤ 2PoorRedesign

---

2. Core Architectural Doctrine (Non-Negotiable)

1. Suspense Is the Default

  • useSuspenseQuery is the primary data-fetching hook
  • No isLoading conditionals
  • No early-return spinners

2. Lazy Load Anything Heavy

  • Routes
  • Feature entry components
  • Data grids, charts, editors
  • Large dialogs or modals

3. Feature-Based Organization

  • Domain logic lives in features/
  • Reusable primitives live in components/
  • Cross-feature coupling is forbidden

4. TypeScript Is Strict

  • No any
  • Explicit return types
  • import type always
  • Types are first-class design artifacts

---

When to Use

Use frontend-dev-guidelines when:

  • Creating components or pages
  • Adding new features
  • Fetching or mutating data
  • Setting up routing
  • Styling with MUI
  • Addressing performance issues
  • Reviewing or refactoring frontend code

---

3. Quick Start Checklists

New Component Checklist

  • [ ] React.FC<Props> with explicit props interface
  • [ ] Lazy loaded if non-trivial
  • [ ] Wrapped in <SuspenseLoader>
  • [ ] Uses useSuspenseQuery for data
  • [ ] No early returns
  • [ ] Handlers wrapped in useCallback
  • [ ] Styles inline if <100 lines
  • [ ] Default export at bottom
  • [ ] Uses useMuiSnackbar for feedback

---

New Feature Checklist

  • [ ] Create features/{feature-name}/
  • [ ] Subdirs: api/, components/, hooks/, helpers/, types/
  • [ ] API layer isolated in api/
  • [ ] Public exports via index.ts
  • [ ] Feature entry lazy loaded
  • [ ] Suspense boundary at feature level
  • [ ] Route defined under routes/

---

4. Import Aliases (Required)

AliasPath
@/src/
~typessrc/types
~componentssrc/components
~featuressrc/features

Aliases must be used consistently. Relative imports beyond one level are discouraged.

---

5. Component Standards

Required Structure Order

  1. Types / Props
  2. Hooks
  3. Derived values (useMemo)
  4. Handlers (useCallback)
  5. Render
  6. Default export

Lazy Loading Pattern

const HeavyComponent = React.lazy(() => import('./HeavyComponent'));

Always wrapped in <SuspenseLoader>.

---

6. Data Fetching Doctrine

Primary Pattern

  • useSuspenseQuery
  • Cache-first
  • Typed responses

Forbidden Patterns

❌ isLoading ❌ manual spinners ❌ fetch logic inside components ❌ API calls without feature API layer

API Layer Rules

  • One API file per feature
  • No inline axios calls
  • No /api/ prefix in routes

---

7. Routing Standards (TanStack Router)

  • Folder-based routing only
  • Lazy load route components
  • Breadcrumb metadata via loaders
export const Route = createFileRoute('/my-route/')({
  component: MyPage,
  loader: () => ({ crumb: 'My Route' }),
});

---

8. Styling Standards (MUI v7)

Inline vs Separate

  • <100 lines: inline sx
  • >100 lines: {Component}.styles.ts

Grid Syntax (v7 Only)

<Grid size={{ xs: 12, md: 6 }} /> // ✅
<Grid xs={12} md={6} />          // ❌

Theme access must always be type-safe.

---

9. Loading & Error Handling

Absolute Rule

❌ Never return early loaders ✅ Always rely on Suspense boundaries

User Feedback

  • useMuiSnackbar only
  • No third-party toast libraries

---

10. Performance Defaults

  • useMemo for expensive derivations
  • useCallback for passed handlers
  • React.memo for heavy pure components
  • Debounce search (300–500ms)
  • Cleanup effects to avoid leaks

Performance regressions are bugs.

---

11. TypeScript Standards

  • Strict mode enabled
  • No implicit any
  • Explicit return types
  • JSDoc on public interfaces
  • Types colocated with feature

---

12. Canonical File Structure

src/
  features/
    my-feature/
      api/
      components/
      hooks/
      helpers/
      types/
      index.ts

  components/
    SuspenseLoader/
    CustomAppBar/

  routes/
    my-route/
      index.tsx

---

13. Canonical Component Template

import React, { useState, useCallback } from 'react';
import { Box, Paper } from '@mui/material';
import { useSuspenseQuery } from '@tanstack/react-query';
import { featureApi } from '../api/featureApi';
import type { FeatureData } from '~types/feature';

interface MyComponentProps {
  id: number;
  onAction?: () => void;
}

export const MyComponent: React.FC<MyComponentProps> = ({ id, onAction }) => {
  const [state, setState] = useState('');

  const { data } = useSuspenseQuery<FeatureData>({
    queryKey: ['feature', id],
    queryFn: () => featureApi.getFeature(id),
  });

  const handleAction = useCallback(() => {
    setState('updated');
    onAction?.();
  }, [onAction]);

  return (
    <Box sx={{ p: 2 }}>
      <Paper sx={{ p: 3 }}>
        {/* Content */}
      </Paper>
    </Box>
  );
};

export default MyComponent;

---

14. Anti-Patterns (Immediate Rejection)

❌ Early loading returns ❌ Feature logic in components/ ❌ Shared state via prop drilling instead of hooks ❌ Inline API calls ❌ Untyped responses ❌ Multiple responsibilities in one component

---

15. Integration With Other Skills

  • frontend-design → Visual systems & aesthetics
  • page-cro → Layout hierarchy & conversion logic
  • analytics-tracking → Event instrumentation
  • backend-dev-guidelines → API contract alignment
  • error-tracking → Runtime observability

---

16. Operator Validation Checklist

Before finalizing code:

  • [ ] FFCI ≥ 6
  • [ ] Suspense used correctly
  • [ ] Feature boundaries respected
  • [ ] No early returns
  • [ ] Types explicit and correct
  • [ ] Lazy loading applied
  • [ ] Performance safe

---

17. Skill Status

Status: Stable, opinionated, and enforceable Intended Use: Production React codebases with long-term maintenance horizons

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Score

0–100
56/ 100

Grade

C

Popularity8/30

14 installs — early adoption. Source repo has 44,773 GitHub stars.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Frontend Dev Guidelines skill score badge previewScore badge

Markdown

[![Frontend Dev Guidelines skill](https://www.claudemarket.ai/skills/sickn33/agentic-awesome-skills/frontend-dev-guidelines/badges/score.svg)](https://www.claudemarket.ai/skills/sickn33/agentic-awesome-skills/frontend-dev-guidelines)

HTML

<a href="https://www.claudemarket.ai/skills/sickn33/agentic-awesome-skills/frontend-dev-guidelines"><img src="https://www.claudemarket.ai/skills/sickn33/agentic-awesome-skills/frontend-dev-guidelines/badges/score.svg" alt="Frontend Dev Guidelines skill"/></a>

Frontend Dev Guidelines FAQ

How do I install the Frontend Dev Guidelines skill?

Run “npx skills add https://github.com/sickn33/agentic-awesome-skills --skill frontend-dev-guidelines” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Frontend Dev Guidelines skill do?

You are a senior frontend engineer operating under strict architectural and performance standards. Use when creating components or pages, adding new features, or fetching or mutating data. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Frontend Dev Guidelines skill free?

Yes. Frontend Dev Guidelines is a free, open-source skill published from sickn33/agentic-awesome-skills. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Frontend Dev Guidelines work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Frontend Dev Guidelines works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
frontend-design logo

frontend-design

anthropics/skills

765K installsInstall
web-design-guidelines logo

web-design-guidelines

vercel-labs/agent-skills

533K installsInstall
design-taste-frontend logo

design-taste-frontend

leonxlnx/taste-skill

348K installsInstall
imagegen-frontend-web logo

imagegen-frontend-web

leonxlnx/taste-skill

205K installsInstall
imagegen-frontend-mobile logo

imagegen-frontend-mobile

leonxlnx/taste-skill

200K installsInstall
design-taste-frontend-v1 logo

design-taste-frontend-v1

leonxlnx/taste-skill

160K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

Guide10 Openclaw Skills Every Nextjs Developer NeedsGuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before Installing

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed