Stable Frontend — AI skill for Claude Code
Frontend architecture and stability guidelines for AI coding agents in React and Next.js.
How to install Stable Frontend
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Nithwin/stable-frontend and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Stable Frontend does
Frontend architecture and stability guidelines for AI coding agents in React and Next.js.
Alternatives in AI
- Agency Agents — A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject 148k ★
- Artifacts Builder — Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech 97.5k ★
- Project Next 14 AI Prompt Sharing — Next.js recently became the official React framework as outlined in React docs 3k ★
README
stable-frontend
[](https://www.npmjs.com/package/stable-frontend)
Frontend architecture and stability rules for code generation in React and Next.js projects.
Overview
When coding agents generate frontend code, they frequently skip input validation, error states, accessibility tags, and testing. `stable-frontend` sets up structured engineering guidelines and folder conventions in your repository to keep generated code consistent and production ready.
Rules are organized as a modular index to minimize context window usage. Instead of loading an entire ruleset on every prompt, the main index directs tools to read only the guidelines relevant to the active task.
Usage
Run the setup command in the root of your project:
npx stable-frontend
Generated structure:
├── AGENTS.md # Main rule index and router
├── CLAUDE.md # Claude Code instructions
└── .agents/
└── rules/
├── 01-architecture.md # Feature-based structure and colocation
├── 02-validation.md # Schema validation and form lifecycles
├── 03-data-fetching.md# Async states and component boundaries
├── 04-testing.md # Testing pyramid and edge case checklists
└── 05-performance.md # Accessibility and layout stability
Adding Rules
To add a new rule:
- Create a template folder under
src/templates/rules/with aprompt.mdandindex.ts. - Register the template in
src/templates/index.ts. - Run
npm run build.
See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
Community
Contributions, issues, and feature proposals are welcome. Please read [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) before participating.
Related Skills
Arc Skill
Provide architecture guidelines and code templates for AI agents to scaffold and maintain production-ready Rea
Frontend Inspo MCP
Local MCP server that lets AI coding agents (Claude, Cursor, Kiro) discover and pull real frontend code & UI c
Modular Monolith Code Guide
Universal, product-agnostic AI coding guide for Go modular monolith backend, PostgreSQL, Next.js multi-domain
Style DNA Ghostwriter
Learn a codebase's unwritten conventions (Python, React, Next.js, TypeScript, Tailwind) and condition AI codin
Vibe Stack
29 .mdc architecture rules that prevent AI coding assistants from hallucinating insecure auth, deprecated impo
Rogue Web Artifacts Builder Skill
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
Related Agents
Senior Frontend Engineer
Senior Frontend Engineer specialising in React/TypeScript component architecture, accessibility, Core Web Vita
Frontend Developer
Frontend developer for React, Next.js, responsive layouts, and accessible UI components
Frontend
React/Next.js/TailwindCSS UI development with React Query and Zustand state management