atelier
Atelier's Sovereign AI Quality Platform

Quality for all AI Code

Building the sovereign quality architecture for AI-generated software. Fine-tuned models, gradeable critic rulesets, and native IDE agents built in India for the world.

npx -y atelier-quality-gate install
DEVELOPERS & AGENTS BUILD WITH ATELIER
CURSOR
WINDSURF
CLAUDE CODE
ANTIGRAVITY
GITHUB COPILOT
NEXT.JS
N8N
APPLE MLX
Interactive AST Critic

Try the Live Quality Gate in Your Browser

Paste your component or backend handler below, or select a failure preset to see the mechanical AST rule engine detect violations and generate concrete repairs.

source_snippet.tsx
AST Parser: Compiler API v2.0.0Type directly to test your own code
Quality Gate Result
Score: 65/100REJECTED
Violations
2
Spacing Scale FAIL
Focus Indicators OK
Secret Leak Protection OK
Schema Validation OK
BASE-UI-101CRITICAL
Arbitrary 8px Spacing Grid Violation

Values 19px and 13px violate the 4px/8px design system harmonic token scale.

Fix: Snap 19px to 20px (p-5) and 13px to 12px (m-3) or 16px (m-4).
BASE-UI-105WARNING
Decorative Ceiling Policy Exceeded

Multiple nested rainbow gradient fills and heavy drop shadows create cognitive clutter.

Fix: Replace multi-stop gradients with solid refined surfaces (e.g. bg-zinc-900 border border-zinc-800).
Universal IDE Compatibility

1-Click Setup Across Any AI Editor

Select your preferred development environment to copy the exact configuration or run the single automated installation command.

Cursor IDE Configuration

Connect Atelier MCP server over stdio and bind cursor rules with automatic project-level overrides.

~/.cursor/mcp.json & .cursorrules
1-Liner Terminal Install
npx -y atelier-quality-gate install cursor
Config File Contents
{
  "mcpServers": {
    "atelier": {
      "command": "npx",
      "args": ["-y", "atelier-quality-gate", "serve"],
      "env": {
        "ATELIER_LLM_PROVIDER": "heuristic"
      }
    }
  }
}
ARCHITECTURAL POSITIONING

Why Code Minimalism Rules Alone Are Not Enough

Existing tools enforce brevity only. Atelier establishes an end-to-end quality critic that grades design precision and backend soundness before code reaches production.

DIMENSIONGENERIC / STATIC RULESATELIER TWO-AGENT GATE
Scope of Quality Gate
Code minimalism & token reduction only
Two-Agent Critic: UI/UX Quality Gate + Backend Architecture Guard
Rule Verification Method
Subjective text instructions with non-deterministic compliance
36 mechanically gradeable checks (AST parsing, Regex, Schema validation)
Execution Model
Static prompt injected into context window
Self-hostable fine-tuned Qwen 1.5B/7B + MCP Stdio Server + Frontier fallback
Design & UX Enforcement
None (ignores spacing scale, contrast, focus states, and cliches)
Rigorous 8px grid, WCAG AA contrast, focus rings, and decorative ceiling bounds
Backend & Systems Soundness
None (ignores hardcoded secrets, rate limits, and orphan paths)
Prevents plain-text tokens, unhandled HTTP retries, and missing catch branches
Automated Remediation
Manual developer intervention
1-click automated fix engine via `atelier fix` and MCP `generate_fix`
SYSTEM ARCHITECTURE

How the Two-Agent Quality Gate Operates

Every file generated by your AI coding assistant is intercepted, evaluated across two specialized critic layers, and graded against 36 rule signatures.

Atelier Two-Critic Pipeline Flow
UI/UX Aesthetic Layer
Backend Soundness Layer
Remediation Diff Generator
INTERACTIVE CRITIQUE INSPECTION

Real-World Before / Critique / After

Witness how Atelier evaluates flawed vibe-coded snippets, extracts mechanical rule violations, and yields unified remediation diffs.

FLAWED INPUT
3 VIOLATIONS
1: export const AnalyticsCard = ({ title, count }) => {
2:   return (
3:     <div className="p-[19px] bg-gradient-to-r from-purple-500 to-indigo-600 rounded-lg shadow-2xl">
4:       <h3 className="text-white text-lg font-bold">{title}</h3>
5:       <p className="text-gray-300 text-2xl">{count}</p>
6:       <button className="mt-4 px-4 py-2 bg-black text-white hover:opacity-80">
7:         Inspect Metric
8:       </button>
9:     </div>
10:  );
11: };
INPUT: Next.js / Tailwind UI Component
ATELIER CRITIC
GRADE: 40/100
BASE-UI-101CRITICAL (L3)
Arbitrary 8px Spacing Grid Violation
Value `p-[19px]` is not aligned to the 4px/8px design system token scale.
Fix: Replace `p-[19px]` with standard Tailwind scale token `p-5` (20px).
BASE-UI-106WARNING (L3)
Forbidden Rainbow Gradient Cliché
Using multi-hue saturated color transitions (`from-purple-500 to-indigo-600`) without semantic basis.
Fix: Replace with disciplined surface color `bg-[#0a1017] border border-[#182430]`.
NEXT-UI-105WARNING (L6)
Missing Focus-Visible Outline Indicator
Interactive button lacks explicit keyboard focus-visible styling.
Fix: Add `focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#00e5ff]`.
AUTO-REMEDIATION READY VIA `ATELIER FIX`
REMEDIATED OUTPUT
1: export const AnalyticsCard = ({ title, count }) => {
2:   return (
3:     <div className="p-5 bg-white border border-gray-200 rounded-2xl shadow-sm">
4:       <h3 className="text-gray-900 text-base font-semibold">{title}</h3>
5:       <p className="text-gray-500 text-2xl font-mono mt-1">{count}</p>
6:       <button className="mt-4 px-4 py-2 rounded-full border border-gray-200 bg-gray-50 text-gray-900 hover:bg-gray-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-900 transition-colors font-sans text-xs font-medium">
7:         Inspect Metric
8:       </button>
9:     </div>
10:  );
11: };
SCORE: 100/100 PASSZERO REGRESSIONS
CANONICAL RULE SPECIFICATION

36 Mechanically Gradeable Quality Checks

Every rule is defined in skills/atelier/SKILL.md with exact pass/fail signatures, AST labeling checks, and automated fixes.

BASE-UI-101UI / UX

Arbitrary 8px Spacing Grid

Forbids ad-hoc pixel margins/paddings (`p-[19px]`, `gap-[13px]`). Enforces strict 4px/8px modular scale.

CHECK: AST / REGEX100% Deterministic
BASE-UI-102UI / UX

Fluid Responsive Layout Scaling

Guarantees components adapt from mobile (375px) to 4K displays without horizontal content clipping.

CHECK: AST / REGEX100% Deterministic
BASE-UI-103UI / UX

WCAG AA Contrast Ratio (4.5:1)

Enforces minimum 4.5:1 text-to-background contrast across all interactive and informative states.

CHECK: AST / REGEX100% Deterministic
BASE-UI-104UI / UX

Typography & Line-Height Bounds

Disallows oversized untracked type; requires proportional line heights (`leading-relaxed`, `leading-snug`).

CHECK: AST / REGEX100% Deterministic
BASE-UI-105UI / UX

Visual Hierarchy & Token Discipline

Restricts page to 2 font families, maximum 3 font weights, and semantic tokenized surface colors.

CHECK: AST / REGEX100% Deterministic
BASE-UI-106UI / UX

Anti-Cliché Decorative Ceiling

Rejects unsemantic rainbow gradients, glowing borders, icon-stuffed bento boxes, and headline biscuit pills.

CHECK: AST / REGEX100% Deterministic
NEXT-UI-101UI / UX

No Raw <img> Without Next/Image

Mandates next/image with explicit width, height, and priority tags to prevent Layout Shift (CLS).

CHECK: AST / REGEX100% Deterministic
NEXT-UI-102UI / UX

Client Boundary Minimization

Enforces default React Server Components; limits 'use client' strictly to interactive leaves.

CHECK: AST / REGEX100% Deterministic
NEXT-UI-103UI / UX

Semantic Heading Hierarchy (Single H1)

Ensures strictly one H1 per page followed by logically ordered H2-H6 heading tags for accessibility.

CHECK: AST / REGEX100% Deterministic
NEXT-UI-104UI / UX

Clean CSS Token Architecture

Forbids arbitrary ad-hoc inline styles; requires Tailwind design tokens defined in theme config.

CHECK: AST / REGEX100% Deterministic
NEXT-UI-105UI / UX

Focus-Visible Indicator Enforcement

Interactive buttons, inputs, and links must define explicit focus-visible rings for keyboard navigation.

CHECK: AST / REGEX100% Deterministic
NEXT-UI-106UI / UX

Fluid Container Breakpoints

Rejects hardcoded container widths (`w-[980px]`) in favor of fluid `max-w-7xl px-4 sm:px-6` constraints.

CHECK: AST / REGEX100% Deterministic
BASE-BE-101BACKEND

Zero Plaintext Secrets / Tokens

Scans for hardcoded JWTs, AWS keys, Stripe tokens, and connection strings; mandates environment configs.

CHECK: AST / REGEX100% Deterministic
BASE-BE-102BACKEND

Transient Error Retries & Backoff

All external network I/O calls must configure timeouts and exponential backoff on 5xx responses.

CHECK: AST / REGEX100% Deterministic
BASE-BE-103BACKEND

Atomic Multi-Entity Transactions

Database mutations touching multiple tables must run within explicit ACID transaction boundaries.

CHECK: AST / REGEX100% Deterministic
BASE-BE-104BACKEND

Exhaustive Error Catch Boundaries

Guarantees all asynchronous promises and route handlers catch errors and emit structured JSON.

CHECK: AST / REGEX100% Deterministic
BASE-BE-105BACKEND

Strict Input Sanitization & Schemas

Requires runtime validation (e.g. Zod, Joi) on all external parameters and request payloads.

CHECK: AST / REGEX100% Deterministic
BASE-BE-106BACKEND

Explicit Rate Limiting & Throttling

Public API endpoints must define rate limit headers, bucket sizes, and 429 status handlers.

CHECK: AST / REGEX100% Deterministic
N8N-BE-101BACKEND

Credential Separation via Vaults

Forbids inline API keys in n8n Function/Code nodes; enforces n8n credential vault references.

CHECK: AST / REGEX100% Deterministic
N8N-BE-102BACKEND

Deterministic Schema Assertions

Requires node output schemas to be strictly defined before downstream JSON mapping.

CHECK: AST / REGEX100% Deterministic
N8N-BE-103BACKEND

Pagination & Batch Size Caps

Loops fetching external APIs must specify maximum batch sizes (default 50) and cursor pagination.

CHECK: AST / REGEX100% Deterministic
N8N-BE-104BACKEND

Idempotent Webhook Processing

Webhook receivers must check unique idempotency keys to prevent duplicate transaction execution.

CHECK: AST / REGEX100% Deterministic
N8N-BE-105BACKEND

Exhaustive Error Trigger Branches

Requires 'On Error: Continue' nodes to wire into dedicated notification/dead-letter queue branches.

CHECK: AST / REGEX100% Deterministic
N8N-BE-106BACKEND

Sanitized Logging (No PII Leakage)

Logs emitted to external monitoring tools must mask sensitive personal and financial attributes.

CHECK: AST / REGEX100% Deterministic
EMPIRICAL BENCHMARK SCOREBOARD

Rigorous Empirical Recall Across All 36 Rules

Evaluated against the synthetic validation suite of 1,659 golden triples containing intentional violations and remediated ground-truth code.

EVALUATOR / CRITIC ARCHITECTUREPRECISIONRECALLF1 SCOREP95 LATENCYCOST / 1K RUNS
Atelier Deterministic EngineDEFAULT CRITIC
AST / Regex Heuristic Engine
100.0%100.0%100.0%12 ms$0.00
Atelier Fine-Tuned Model (Qwen 1.5B/7B)SELF-HOSTED
Self-Hostable MLX / GGUF LoRA
94.8%92.1%93.4%420 ms$0.00 (Local GPU)
Frontier Teacher (Claude 3.5 Sonnet)FRONTIER FALLBACK
Cloud API Fallback
98.2%95.7%96.9%1,480 ms$15.00 / 1k runs
Ponytail / Static Rule BaselineSTATIC PROMPT
Prompt-Only Injection
31.2%24.3%27.3%N/A (Upstream LLM)Variable
Atelier Benchmark Scoreboard Chart
Empirical Evaluation Metric: Overall Recall % on 1,659 Golden Triples
UNIVERSAL COMPATIBILITY

Plugs into Your Favorite AI Coding Tool

All 5 editor adapters are automatically generated and synchronized against SKILL.md to guarantee zero drift.

CursorSYNCED
.cursorrules & .cursor/rules/atelier.mdc
Canonical MDC & Rules
WindsurfSYNCED
.windsurfrules
Windsurf Directives
Claude CodeSYNCED
CLAUDE.md & AGENTS.md
Modular Skills
AntigravitySYNCED
.agents/rules/atelier.md
Native Agent Gate
GitHub CopilotSYNCED
.github/copilot-instructions.md
Workspace Rules
Automated CI Check: node scripts/check-sync.js
100% MATCH
THE ARCHITECT BEHIND ATELIER

Engineered & Developed by Ansh Rajore

Ansh Rajore is a software engineer and AI systems researcher dedicated to building robust autonomous coding environments, mechanical quality gates, and edge-deployable AI models.

Frustrated by how modern vibe-coding tools chronically hallucinate uncalibrated UI layouts, arbitrary padding, unsemantic gradients, and brittle backend architecture, Ansh architected Atelier to bridge the gap between creative AI code generation and rigorous production engineering standards.

Deterministic Quality
Moving beyond subjective prompts to gradeable AST rules.
Local Apple Silicon MLX
Zero-marginal-cost edge critique using fine-tuned LoRA models.
AR
Ansh Rajore
Creator & Lead Architect
OPEN SOURCE
36
Ruleset Checks
Mechanical AST & Regex Checks
1,659
Training Dataset
Curated Golden Instruction Triples
5
Editor Adapters
Native IDE Rulesets Synchronized
12ms
Engine Latency
Deterministic Zero-Cost Heuristics
“AI should elevate software quality, not erode it. Atelier is designed to ensure every vibe-coded application ships with production-grade craft and architectural resilience.”
INSTANT ONBOARDING

Get Started in Under 60 Seconds

Run standalone via terminal CLI, start the MCP stdio daemon, or add Atelier directly to your Claude Desktop or Cursor configuration.

Terminal CLI
# 1. Audit any directory or component for 36 quality violations
npx -y atelier-quality-gate audit ./src/components/Hero.tsx

# 2. Automatically repair violations in-place
npx -y atelier-quality-gate fix ./src/components

# 3. Install quality gate adapters across all local editors
npx -y atelier-quality-gate install all
Step-by-Step Guide

How to Use Atelier

From zero to fully integrated quality gate in under 5 minutes. Follow each step to set up audit, auto-fix, IDE adapters, and MCP.

Step 1 of 6

Install the CLI

One command — zero config. Works on macOS, Linux & Windows.

Atelier runs as a global npx command. No signup, no API key, no config files. It downloads once and caches automatically.

Pro Tip

The -y flag auto-confirms the install prompt. Works in CMD, PowerShell, Git Bash, WSL, and all Unix terminals.

terminal
1# Install & run (auto-caches after first use)
2npx -y atelier-quality-gate help
3
4# Verify installation — shows version + system info
5npx -y atelier-quality-gate info