# build screaming frontend features

> Build domain-driven React features using Screaming Architecture, Zod validation, and structured mapping.

build screaming frontend features is a paid AI agent skill on Agensi by Mattias Alexandre Duarte Aparicio, in Frontend & Web Apps. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Mattias Alexandre Duarte Aparicio](https://www.agensi.io/creators/mattias-alexandre-duarte-aparicio)
- Category: [Frontend & Web Apps](https://www.agensi.io/skills/frontend-web-apps)
- Version: 1.0
- Last updated: 2026-10-19
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/build-screaming-frontend-features
- Tags: ai-agents, react, typescript, clean-architecture, nextjs, zod

## About this skill

Stop building messy, flat React directories where business logic leaks into UI components. This skill enforces Screaming Architecture by organizing code into domain-driven modules that express exactly what your application does. It eliminates the friction of tight coupling between your API responses and your views.

### What it does
- **Enforces domain boundaries** by separating internal entities from external contracts and technical types.
- **Validates runtime data** using Zod schemas for forms, URL parameters, and external API responses.
- **Maps data structures** with pure, deterministic mappers that convert raw payloads into stable application entities.
- **Architects feature slices** including hooks for orchestration, server actions for I/O, and thin presentation components.
- **Integrates shared infrastructure** by managing shadcn primitives, layouts, and providers without domain contamination.

### How it works
1. **Analyze Environment:** The skill inspects `package.json`, router configurations, and local conventions to detect if you are using TanStack Start, Next.js App Router, or a custom stack.
2. **Define the Slice:** It identifies domain names, use cases (CRUD, filters, lists), and data sources before generating code.
3. **Implement Inside-Out:** It builds the vertical slice starting from constants and entities, moving through schemas and mappers, up to server functions and UI components.

### Frameworks & tools
React, TypeScript, Zod, TanStack Start, Next.js App Router, React Hook Form, and shadcn/ui.

### Why this beats prompting it yourself
Standard prompts often produce "spaghetti" React code with API logic inside `useEffect`. This skill follows a rigorous multi-step blueprint that ensures `shared/` never imports from features and every mutation includes proper validation, mapping, and cache invalidation.

### Use cases
- Generating a complete vertical CRUD feature for a new domain entity.
- Refactoring a monolithic component into a domain-driven module with separated hooks and mappers.
- Implementing complex forms with validation schemas and server-side mutation handling.
- Scaffolding a new project structure with clean architectural boundaries and shared UI primitives.

### Known limitations
Requires specific reference files like `architecture.md` or `feature-blueprint.md` in the repository to function at full capacity. It does not replace existing global styles or data strategies unless explicitly instructed.

## Requires

- Node.js
- shadcn

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the build screaming frontend features skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill improve my existing React project structure?

This skill solves the 'spaghetti code' problem by enforcing Screaming Architecture, ensuring your folder structure reflects your business domain rather than generic React patterns, and strictly separating API logic from UI components.

### Can I use this skill with both Next.js and TanStack Start projects?

Yes, it is designed to detect and adapt to Next.js App Router, TanStack Start, and custom React setups, automatically adjusting its output for Server Actions or specific routing conventions.

### What specific files or layers are generated when I build a new feature?

The skill generates a complete vertical slice including Zod schemas for validation, deterministic data mappers, custom hooks for orchestration, and thin shadcn-based presentation components.

### Do I need to prepare my repository in a specific way before using this skill?

For the best results, you should have a basic 'architecture.md' or 'feature-blueprint.md' file in your repo so the agent can align its output with your project's specific naming conventions and style guides.

### How is this different from just asking a standard AI to 'write a React component'?

Unlike basic prompts, this skill uses a multi-step architectural blueprint to ensure 'shared' directories remain pure and that every mutation includes built-in validation and cache invalidation logic.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
