StarPillar Specification & Hub Directory

DESIGN.md System & UI/UX Generator

Semantic color tokens, component layout hierarchies, and strict negative design guardrails compatible with StitchMCP and modern LLMs.

Open Blank Studio Editor
Target: ./DESIGN.md
01 / SPECIFICATION & RUNTIME BEHAVIOR

How DESIGN.md Operates in Production

DESIGN.md serves as the single source of truth for your user interface design system and technical layout architecture. It ensures AI coding agents maintain consistent spacing, colors, typography, and strictly avoid forbidden UI anti-patterns.

Semantic Color Tokens & GuardrailsSpec Syntax

Machine-readable color tokens and negative layout constraints.

## Design Tokens
- Canvas: #09090B
- Card Surface: #18181B
- Negative Guardrail: Never nest card containers inside another card container.
02 / REPOSITORY PLACEMENT
./DESIGN.mdRepository Root

UI/UX design system tokens and component layout rules.

03 / PRESET SPOKE MATRIX

Available Tech Stack Presets (27)

Click any tech stack below to open the client-side editor preloaded with this verified configuration.

FrontendLaunch

Next.js 15 App Router

Generate production-grade Cursor rules (.mdc) for Next.js 15 App Router.

Enforced Invariant:

Enforce React Server Components (RSC) by default; restrict 'use client' strictly to interactive leaf components.

FrontendLaunch

React 19 & Vite

Generate production-grade Cursor rules (.mdc) for React 19 & Vite.

Enforced Invariant:

Use React 19 action hooks (useActionState, useOptimistic, useFormStatus) for async mutations.

BackendLaunch

Python FastAPI & Pydantic v2

Generate production-grade Cursor rules (.mdc) for Python FastAPI & Pydantic v2.

Enforced Invariant:

Use strict Pydantic v2 BaseModels with Field validation for all input and output schemas.

Fullstack & DBLaunch

Supabase & PostgreSQL

Generate production-grade Cursor rules (.mdc) for Supabase & PostgreSQL.

Enforced Invariant:

Always include `ENABLE ROW LEVEL SECURITY;` on every created table.

Fullstack & DBLaunch

Prisma ORM

Generate production-grade Cursor rules (.mdc) for Prisma ORM.

Enforced Invariant:

Always use `select` to specify required fields; avoid raw `findMany()` fetching unused relations.

Fullstack & DBLaunch

Drizzle ORM

Generate production-grade Cursor rules (.mdc) for Drizzle ORM.

Enforced Invariant:

Define schemas using pgTable/sqliteTable with explicit foreign keys and constraints.

BackendLaunch

Go (Golang) & Fiber

Generate production-grade Cursor rules (.mdc) for Go (Golang) & Fiber.

Enforced Invariant:

Check every `if err != nil` explicitly; never swallow errors or ignore returned values.

BackendLaunch

Rust & Axum

Generate production-grade Cursor rules (.mdc) for Rust & Axum.

Enforced Invariant:

Never call `.unwrap()` or `.expect()` in production route handlers; propagate errors via `Result<T, AppError>`.

FrontendLaunch

Tailwind CSS v4

Generate production-grade Cursor rules (.mdc) for Tailwind CSS v4.

Enforced Invariant:

Configure themes directly in globals.css using `@theme` and `@import 'tailwindcss';`.

FrontendLaunch

Vue 3 & Nuxt 3

Generate production-grade Cursor rules (.mdc) for Vue 3 & Nuxt 3.

Enforced Invariant:

Always use `<script setup lang='ts'>` and the Composition API; ban legacy Options API.

FrontendLaunch

SvelteKit 5 & Svelte 5

Generate production-grade Cursor rules (.mdc) for SvelteKit 5 & Svelte 5.

Enforced Invariant:

Use Svelte 5 runes: `$state()`, `$derived()`, and `$props()`.

Specialist PersonaLaunch

Universal Cursor Pro

Generate production-grade Cursor rules (.mdc) for Universal Cursor Pro.

Enforced Invariant:

Deliver surgical, targeted diffs; never replace entire files unnecessarily.

Specialist PersonaLaunch

Pragmatic Rapid Prototyping

Generate production-grade Cursor rules (.mdc) for Pragmatic Rapid Prototyping.

Enforced Invariant:

Prioritize working software over complex design patterns or deep inheritance hierarchies.

Specialist PersonaLaunch

Zero-Trust Security

Generate production-grade Cursor rules (.mdc) for Zero-Trust Security.

Enforced Invariant:

Flag and prevent any dynamic SQL query string interpolation.

DevOps & ToolingLaunch

Docker & CI/CD

Generate production-grade Cursor rules (.mdc) for Docker & CI/CD.

Enforced Invariant:

Always use multi-stage Docker builds to separate builder tools from the lean production image.

Specialist PersonaLaunch

Vitest & Playwright TDD

Generate production-grade Cursor rules (.mdc) for Vitest & Playwright TDD.

Enforced Invariant:

Write unit tests covering happy paths and at least two edge/error cases for every new function.

Specialist PersonaLaunch

Automated Code Reviewer

Generate production-grade Cursor rules (.mdc) for Automated Code Reviewer.

Enforced Invariant:

Scan repository manifests to map stack idioms before evaluating logic.

Specialist PersonaLaunch

Multi-Agent System Orchestration

Generate production-grade Cursor rules (.mdc) for Multi-Agent System Orchestration.

Enforced Invariant:

Define subagent roles: Lead Architect, Frontend Engineer, Backend Specialist, Security Reviewer.

BackendLaunch

Django 5 & Ninja / DRF

Generate production-grade Cursor rules (.mdc) for Django 5 & Ninja / DRF.

Enforced Invariant:

Use asynchronous ORM operations (aget(), acreate(), afirst()) inside async def view handlers.

BackendLaunch

Bun & Elysia / Hono

Generate production-grade Cursor rules (.mdc) for Bun & Elysia / Hono.

Enforced Invariant:

Use Elysia's native t schema builder (powered by TypeBox) for request body, query, and parameter validation.

FrontendLaunch

React Native & Expo Router

Generate production-grade Cursor rules (.mdc) for React Native & Expo Router.

Enforced Invariant:

Use Expo Router file-based filesystem routing (app/_layout.tsx, app/(tabs)/index.tsx); ban legacy React Navigation container boilerplate.

FrontendLaunch

Flutter 3 & Riverpod / Dart

Generate production-grade Cursor rules (.mdc) for Flutter 3 & Riverpod / Dart.

Enforced Invariant:

Always add const constructors wherever possible to maximize Flutter element rebuild caching.

DevOps & ToolingLaunch

Kubernetes & Helm Charts

Generate production-grade Cursor rules (.mdc) for Kubernetes & Helm Charts.

Enforced Invariant:

Always specify explicit resources.requests and resources.limits (both CPU and memory) on every container.

DevOps & ToolingLaunch

Terraform & OpenTofu IaC

Generate production-grade Cursor rules (.mdc) for Terraform & OpenTofu IaC.

Enforced Invariant:

Pin explicit version constraints for all providers and required Terraform/OpenTofu core versions (required_providers).

DevOps & ToolingLaunch

Playwright End-to-End Testing

Generate production-grade Cursor rules (.mdc) for Playwright End-to-End Testing.

Enforced Invariant:

Strictly ban hardcoded delays (page.waitForTimeout()); rely exclusively on Playwright web-first auto-waiting assertions (expect(locator).toBeVisible()).

BackendLaunch

Spring Boot 3 & Java 21

Generate production-grade Cursor rules (.mdc) for Spring Boot 3 & Java 21.

Enforced Invariant:

Use jakarta.* packages for persistence, validation, and servlets; ban legacy javax.* imports.

BackendLaunch

.NET 8 & C# 12 Minimal APIs

Generate production-grade Cursor rules (.mdc) for .NET 8 & C# 12 Minimal APIs.

Enforced Invariant:

Use modern C# 12 features: primary constructors, collection expressions, file-scoped namespaces, and nullable reference types (#nullable enable).

04 / BEST PRACTICES
Keep design tokens semantic (canvas, surface, border, accent).
List negative guardrails to prevent AI from introducing messy nested cards.
Ensure valid markdown compatible with StitchMCP and design tools.
Other Format DirectoriesHub Network
05 / FREQUENTLY ASKED QUESTIONS

Is DESIGN.md compatible with StitchMCP?

Yes, our generated DESIGN.md follows the standard StitchMCP specification with semantic tokens, typography scales, and negative guardrails.