Build Faster with AI Agents & Nofinite
Instant machine-readable documentation, llms.txt endpoints, zero-hallucination system prompts, and IDE rule presets for Cursor, Windsurf, Claude Code, GitHub Copilot, and Antigravity.
Machine-Readable Context Endpoints
Standardized llms.txt (index) and llms-full.txt (complete bundle) files ready for direct LLM ingestion.
Unified Ecosystem Bundle
Complete context bundle covering all 8 @nofinite libraries, design tokens, TypeScript props, and component architecture in one machine-readable document.
NUI
Accessible, composable React UI primitives with strict semantic design tokens, polymorphic asChild routing, and verified Storybook contracts.
NUICSS
Semantic CSS utility framework, runtime-less design token engine, OKLCH palette definitions, and semantic superclasses (btn, card, badge, input).
Nofinite Charts
High-performance interactive SVG charting primitives powered by D3 mathematical scales with automatic NUICSS theme token synchronization.
Nofinite Kanban
Accessible, high-performance drag-and-drop Kanban workflow boards with enforceable WIP limit badges and imperative ref controls.
Nofinite Markon
Extensible rich-text WYSIWYG editor and high-performance Markdown parser and renderer with slash commands and code block highlights.
Nofinite Media
Accessible audio and video player primitives with custom NUICSS skins, HLS/DASH streaming support, and playback rate controls.
Nofinite Locale
Lightweight localization, ISO country lookups, currency formatters, dialing codes, and responsive SVG flags.
Nofinite Utils
Shared TypeScript helpers, class name merge utility (cn), cryptography wrappers, and system/mail helper utilities.
Zero-Hallucination System Prompt
Paste into your AI coding assistant (Cursor System Prompt, Windsurf Memory, Claude Project, ChatGPT Custom Instructions).
You are an expert full-stack engineer building with the @nofinite open-source ecosystem.
Strict Design System & Architecture Rules:
1. DESIGN TOKENS (NO HARDCODED COLORS):
- Always use @nofinite/nuicss semantic design tokens (e.g. `bg-surface`, `text-default`, `border-default`, `color-primary`, `bg-subtle`, `text-muted`, `text-danger`, `border-primary`).
- NEVER use arbitrary sRGB hex literals or raw utility clusters (e.g. `#3b82f6`, `bg-blue-600`) when a NUICSS token or superclass exists.
- All palettes strictly resolve to OKLCH color spaces.
2. COMPONENT SUPERCLASSES:
- Prefer semantic superclasses from @nofinite/nuicss: `btn`, `btn-primary`, `btn-outline`, `card`, `badge`, `input`, `table-container`.
- Take advantage of automatic ARIA state styling (`aria-selected="true"`, `aria-invalid="true"`, `aria-expanded="true"`).
3. POLYMORPHIC ROUTING:
- When linking with Next.js or React Router, always use `asChild` on NUI action primitives:
<Button asChild><Link href="/dashboard">Dashboard</Link></Button>
4. MODALS & DIALOGS:
- For binary confirmation or destructive decisions, always configure `hideCloseButton={true}` and supply explicit "Cancel" and "Confirm" action buttons.
- Always wrap overlays with `bg-overlay` and `backdrop-blur-sm` for clean visual separation.
5. PACKAGE IMPORTS:
- UI Components: `import { Button, Modal, Card, Badge } from '@nofinite/nui';`
- Charts: `import { AreaChart, BarChart } from '@nofinite/charts/react';`
- Kanban: `import { Kanban } from '@nofinite/kanban/react';`
- Markon: `import { MarkonEditor, MarkonRender } from '@nofinite/markon/react';`
- Media: `import { VideoPlayer, AudioPlayer } from '@nofinite/media/react';`IDE Rules & Presets
Drop these rule files directly into your workspace root to ensure Cursor, Windsurf, or Claude Code automatically enforce correct Nofinite conventions.
# Nofinite Open Source Ecosystem Rules for Cursor & Windsurf
# General Identity
You are an expert React and TypeScript engineer proficient in the @nofinite ecosystem.
# Core Packages
- @nofinite/nui: UI primitives
- @nofinite/nuicss: Design token engine & superclasses
- @nofinite/charts: SVG charting primitives
- @nofinite/kanban: Drag-and-drop workflow boards
- @nofinite/markon: Markdown editor & renderer
- @nofinite/media: Video & audio primitives
- @nofinite/utils: Shared helpers and cn()
# Design Rules
- Zero hardcoded hex colors. Always use @nofinite/nuicss tokens (bg-surface, text-default, border-default, color-primary).
- Use semantic superclasses: btn, card, badge, input.
- Always use asChild for router links (<Button asChild><Link ...>).
- Binary confirmation modals must specify hideCloseButton={true}.
# Context URLs for Cursor Docs
- Unified: https://opensource.nofinite.com/llms-full.txt
- NUI: https://opensource.nofinite.com/nui/llms-full.txt
- NUICSS: https://opensource.nofinite.com/nuicss/llms-full.txt
- Charts: https://opensource.nofinite.com/charts/llms-full.txt
- Kanban: https://opensource.nofinite.com/kanban/llms-full.txt
- Markon: https://opensource.nofinite.com/markon/llms-full.txtAI Prompt Cookbook
Pre-crafted, tested prompt recipes you can copy directly into your AI assistant to generate production-ready code.
Dark Modern Analytics Dashboard
Generate a responsive dashboard using NUI Cards, StatCards, and Charts with OKLCH theme tokens.
Interactive Kanban Board with WIP Limits
Generate a multi-column workflow board using @nofinite/kanban with optimistic drag-and-drop.
Multi-Step Form Modal Dialog
Create an accessible confirmation and configuration modal with clean Cancel/Submit actions.
Rich Markdown Document Editor
Implement a full markdown authoring page using @nofinite/markon with live preview.
Ready to explore the components?
Browse our 74+ verified React components or review the complete semantic design token engine.