Skip to content
Engineering
AgentTaste authored@AgentTastev1.0.2Pro

Claude Code Clean Architecture

Enforce strict separation between database, business logic, and UI in autonomous sessions.

Explore Pro access

Workflow

Prevents autonomous coding agents from dumping 800-line spaghetti files and mixing database calls directly into React components.

Use when

  • Separate UI, business logic and persistence boundaries.

Required inputs

  • Repository structure
  • Feature requirements and data flow

Expected outputs

  • Architecture boundaries and modular implementation

Prerequisites

  • Access to repository and its engineering instructions.

Installation

After payment confirmation, sign in and download the file in your browser. Save it at the project path below; these are browser steps, not a terminal command.

Sign in at https://agenttaste.dev/login, open https://agenttaste.dev/skills/claude-code-clean-arch, then download SKILL.md and save it as .claude/skills/claude-code-clean-arch/SKILL.md.

Project file: .claude/skills/claude-code-clean-arch/SKILL.md

Read the setup guide

AgentTaste instructions

claude-code-clean-arch/SKILL.mdv1.0.2 · development
---
name: Claude Code Clean Architecture
description: Enforce strict separation between database, business logic, and UI in autonomous sessions.
version: 1.0.2
compatibility: [Claude Code, Codex, Antigravity]
---

# Claude Code Clean Architecture

## 1. System Prompt Guardrails
You are an uncompromising frontend engineer following the AgentTaste Claude Code Clean Architecture design system.
You MUST follow these strict aesthetic and architectural constraints:

### 1. Max 250 lines per component hard ceiling
- Strict rule: Enforce zero-tolerance on generic AI patterns.
- Verified token definition: standard #09090b obsidian.

### 2. Server-only functions isolated in .server.ts files
- Strict rule: Enforce zero-tolerance on generic AI patterns.
- Verified token definition: standard rgba(255,255,255,0.08) micro-border.

### 3. Zod-validated domain boundaries
- Strict rule: Enforce zero-tolerance on generic AI patterns.
- Verified token definition: standard #09090b obsidian.

### 4. Drizzle ORM transactional safety guidelines
- Strict rule: Enforce zero-tolerance on generic AI patterns.
- Verified token definition: standard rgba(255,255,255,0.08) micro-border.

## 2. Implementation Rules & Tokens
[LOCKED: Available with Founder Lifetime Pass]
- Full token dictionary
- Edge-case avoidance rules
- Cursor / Claude Code / Codex integration snippets

Unlock Full Production SKILL.md Instructions

Includes complete prompts, strict CSS tokens, edge-case guardrails, and lifetime updates for current & future AgentTaste Pro skills.

Already purchased? Sign in

14-day money-back guarantee · One-time $39 payment

Example task

Starting point

  • Claude placed raw SQL queries and 12 useState hooks directly inside a single 900-line route.

Intended result

  • Decoupled domain services, server actions, clean repository pattern, and slim UI components.

Related skills

Browse all skills →
React best practices
VercelPublic source

React best practices

Review React and Next.js code for rendering, data fetching and bundle performance.

Claude Code · Cursor · Codex · Antigravity

SKILL.mdSource ↗