Cursor rule Cursor
App layer (API) contract for FastAPI endpoints in backend/apps. Parse/validate input, call services, map domain errors to HTTP, return JSONResponse on success.
Nexent is a zero-code platform for auto-generating production-grade AI agents using Harness Engineering principles — unified tools, skills, memory, and orchestration with built-in constraints, feedback loops, and control planes.
Cursor rule Cursor
App layer (API) contract for FastAPI endpoints in backend/apps. Parse/validate input, call services, map domain errors to HTTP, return JSONResponse on success.
Cursor rule Cursor
Database layer standards for models, CRUD, transactions, and exceptions.
Cursor rule Cursor
Service layer implements core business logic orchestration; raise custom exceptions; no HTTP handling.
Cursor rule Cursor
Enforce English-only comments and docstrings across the codebase.
Cursor rule Cursor
Centralize env var access in backend/consts/const.py; no direct os.getenv outside.
Cursor rule Cursor
Component layer rules for reusable and feature-specific UI components.
Cursor rule Cursor
Frontend overview - directory structure, layer responsibilities, and dependency rules.
Cursor rule Cursor
Hook layer rules for custom React hooks and state management.
Cursor rule Cursor
Page layer rules for Next.js App Router pages and layouts.
Cursor rule Cursor
Type layer rules for TypeScript type definitions and interfaces.
Cursor rule Cursor
Use Ant Design as primary UI library with minimal Tailwind CSS. Prioritize mature Ant Design solutions for responsive layouts. Avoid secondary encapsulation unless necessary.
Cursor rule Cursor
Pytest Unit Test Rules for this repository.