frontend-dev-guidelines
Skill by sickn33
Sets React and TypeScript frontend conventions for creating components, pages, features, and data fetching. Written for teams building long-lived production React apps with MUI v7 and TanStack tools.
Install frontend-dev-guidelines
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/frontend-dev-guidelines ~/.claude/skills/frontend-dev-guidelinesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install frontend-dev-guidelines in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/frontend-dev-guidelines ~/.gemini/antigravity-cli/skills/frontend-dev-guidelinesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install frontend-dev-guidelines in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant a set of frontend development rules for React and TypeScript projects. It favors Suspense-based data fetching with useSuspenseQuery, feature-based code organization, strict TypeScript typing, and lazy loading of heavy components and routes. It also covers import aliases, component structure order, TanStack Router file-based routing, and MUI v7 styling rules, including the v7 Grid syntax.
The guidelines include checklists for new components and new features, a canonical file structure, and an example component template. They also list anti-patterns to avoid, such as early loading returns, inline API calls, and untyped responses. The skill is aimed at developers working on production React codebases that need long-term maintenance. Project-specific helpers such as SuspenseLoader and useMuiSnackbar must be supplied by the user.
Written from the project's SKILL.md and checked against it.
What it can do
- Component and page guidanceSets rules for building React components and pages, including props typing and component structure order.
- Feature-based organizationDescribes how to structure a feature folder with api, components, hooks, helpers, types, and an index file.
- Suspense data fetchingDirects use of useSuspenseQuery with typed responses and forbids isLoading checks and manual spinners.
- Lazy loadingCovers lazy loading routes, feature entries, data grids, charts, editors, and large dialogs.
- Routing standardsExplains folder-based routing with TanStack Router and breadcrumb metadata through loaders.
- MUI v7 stylingSets rules for inline sx styles versus separate style files and the MUI v7 Grid size syntax.
- TypeScript disciplineRequires strict mode, no any, explicit return types, and import type statements.
- Feasibility scoringProvides an FFCI scoring table to judge whether a component or feature should proceed, be simplified, or be redesigned.
- Performance defaultsRecommends useMemo, useCallback, React.memo, debounced search, and effect cleanup where appropriate.
What you need
- React
- TypeScript
- MUI v7
- TanStack Query
- TanStack Router
Try asking
- Create a new feature folder for user invoices using these frontend guidelines
- Review this React component for early returns and Suspense usage
- Set up a lazy loaded route with a breadcrumb loader in TanStack Router
Good to know
- Examples are illustrative. SuspenseLoader, useMuiSnackbar, useAuth and apiClient must be provided or adapted by the user.
- FFCI is an advisory heuristic, not a validated feasibility or performance gate.
- Suspense does not itself prevent layout shift, so matching fallback space must be reserved.
- TypeScript does not validate network data, and server authorization and runtime validation are still required.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/frontend-dev-guidelines/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
resources/common-patterns.md9 KB -
resources/complete-examples.md25 KB -
resources/component-patterns.md11 KB -
resources/data-fetching.md20 KB
Show all 11 files
-
resources/file-organization.md12 KB -
resources/loading-and-error-states.md12 KB -
resources/performance.md10 KB -
resources/routing-guide.md8 KB -
resources/styling-guide.md8 KB -
resources/typescript-standards.md9 KB
Alternatives to frontend-dev-guidelines
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
frontend-dev-guidelines: common questions
Does this skill require a specific stack?
The examples use React, TypeScript, MUI v7 and TanStack tools. The source says existing project requirements take precedence and a stack migration should not be imposed.
Does the skill ban useQuery and early returns?
The source says regular useQuery and early returns are valid when hooks are unconditional and loading, error, and empty states are handled. The main doctrine still prefers Suspense and avoids early loader returns.
What is the FFCI score?
FFCI is a 1 to 5 scoring table used to judge feasibility before building a component or feature. The source describes it as an advisory heuristic rather than a validated gate.
How do I install frontend-dev-guidelines?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is frontend-dev-guidelines free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is frontend-dev-guidelines safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to frontend-dev-guidelines?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
