# Warplogic AI — Enterprise Zero-Trust Envoy Gateway & Cursor Rules Hub

> Warplogic AI is a cloud-native Zero-Trust API Gateway and Envoy v3 xDS Policy Control Plane featuring automated SPIFFE/SPIRE X.509 mTLS workload attestation, browser-based RBAC packet simulation, per-identity token-bucket rate limiting, 1-click SOC2 Type II & PCI-DSS v4.0 auditor evidence export, and 41+ production `.cursorrules` system prompts.

## Core Platform Documentation & APIs
- [Live SecOps Control Plane & Landing](https://www.warplogicai.com/): Interactive Zero-Trust Mesh Topology, RBAC Simulator, Envoy v3 xDS Compiler, and SOC2 Compliance Center.
- [Stack Templates Catalog](https://www.warplogicai.com/templates): Canva-style directory of 13+ production stack templates with .cursorrules and AWS ECS configurations.
- [Full LLM Knowledge Corpus](https://www.warplogicai.com/llms-full.txt): Complete unabridged text of all 41+ production .cursorrules blueprints and Zero-Trust architecture specifications.
- [Programmatic Cursor Rules JSON API](https://www.warplogicai.com/api/v1/prompts): Machine-readable JSON feed of all 41+ framework rules.
- [Zero-Trust Mesh Topology API](https://www.warplogicai.com/api/v1/topology): Live microservice SPIFFE SVID nodes and mTLS RBAC edges.
- [SOC2 Type II & PCI-DSS v4.0 Compliance API](https://www.warplogicai.com/api/v1/compliance/report): Real-time cryptographic readiness scorecard.
- [XML Sitemap](https://www.warplogicai.com/sitemap.xml): Complete list of 60+ canonical URLs.

## Programmatic Developer Stack Templates (13 Blueprints — Canva Model)
- [Next.js 15 App Router & Supabase RLS Cursor Rules](https://www.warplogicai.com/templates/nextjs-15-supabase-cursorrules): (NEXTJS + SUPABASE | MTLS, DOCKER, OAUTH) Production-ready .cursorrules for Next.js 15 Server Components with Supabase Row Level Security and Zero-Trust mTLS.
- [Next.js 15 & Prisma PostgreSQL Production Cursor Rules](https://www.warplogicai.com/templates/nextjs-15-prisma-postgres-cursorrules): (NEXTJS + PRISMA | DOCKER, OAUTH) Battle-tested .cursorrules for Next.js 15 Server Actions, Prisma interactive transactions, and Docker container hardening.
- [Next.js 15 & Drizzle ORM Type-Safe Cursor Rules](https://www.warplogicai.com/templates/nextjs-15-drizzle-orm-cursorrules): (NEXTJS + DRIZZLE | DOCKER) Zero-overhead .cursorrules for Next.js 15 with Drizzle ORM schema validation, PgBouncer pooling, and clean architecture.
- [Next.js 15 & LangGraph Multi-Agent Cursor Rules](https://www.warplogicai.com/templates/nextjs-langchain-langgraph-agent-cursorrules): (NEXTJS + SUPABASE | MTLS, DOCKER) Full-stack AI agent .cursorrules combining Next.js 15 streaming UI with LangGraph stateful multi-agent workflows and vector search.
- [FastAPI Python 3.12 & PostgreSQL Async Cursor Rules](https://www.warplogicai.com/templates/fastapi-pydantic-postgres-cursorrules): (FASTAPI + POSTGRES | MTLS, DOCKER) Production-grade Python 3.12 FastAPI .cursorrules with Pydantic v2 validation, SQLAlchemy 2.0 async sessions, and Docker non-root users.
- [FastAPI & Supabase JWT Auth Zero-Trust Cursor Rules](https://www.warplogicai.com/templates/fastapi-supabase-auth-cursorrules): (FASTAPI + SUPABASE | MTLS, DOCKER, OAUTH) Secure FastAPI microservice .cursorrules with Supabase asymmetric JWT verification, Zero-Trust mTLS headers, and OpenAI SDK v4.
- [FastAPI & LangChain RAG Vector Pipeline Cursor Rules](https://www.warplogicai.com/templates/fastapi-langchain-rag-agent-cursorrules): (FASTAPI + POSTGRES | DOCKER) High-performance AI backend .cursorrules for FastAPI LCEL chains, pgvector similarity search, and asynchronous streaming endpoints.
- [Express TypeScript & Prisma Hardened Microservice Cursor Rules](https://www.warplogicai.com/templates/express-typescript-prisma-docker-cursorrules): (EXPRESS + PRISMA | DOCKER, OAUTH) Production Express.js TypeScript ESM .cursorrules with Prisma transaction boundaries, non-root Docker builds, and centralized error handling.
- [Express & LangGraph Stateful Agent Microservice Cursor Rules](https://www.warplogicai.com/templates/express-langgraph-ai-agent-cursorrules): (EXPRESS + SUPABASE | MTLS, DOCKER) Microservice .cursorrules for running stateful LangGraph agent loops in Express with webhook event triggers and token-bucket rate limits.
- [Go Fiber & PostgreSQL High-Concurrency Cursor Rules](https://www.warplogicai.com/templates/go-fiber-postgres-docker-cursorrules): (GO + POSTGRES | MTLS, DOCKER) Ultra-fast Go Fiber .cursorrules with pgx connection pooling, minimal scratch Docker containerization, and explicit error handling idioms.
- [Go Microservice Zero-Trust SPIFFE & Envoy Sidecar Rules](https://www.warplogicai.com/templates/go-zero-trust-envoy-sidecar-cursorrules): (GO + NONE | MTLS, DOCKER, OAUTH) Production Go service .cursorrules enforcing TLS 1.3 SPIFFE X.509 SVID authentication, Envoy sidecar routing on port 15001, and SOC2 evidence logging.
- [AWS ECS Fargate Two-Way Envoy mTLS Sidecar Task Definition Template](https://www.warplogicai.com/templates/aws-ecs-fargate-envoy-mtls-template): (FASTAPI + POSTGRES | MTLS, DOCKER) Production AWS ECS awsvpc Task Definition JSON generator with Envoy sidecar, Secrets Manager SVID references, and App Mesh replacement architecture.
- [SOC2 Type II & PCI-DSS v4.0 Container Hardening Cursor Rules](https://www.warplogicai.com/templates/soc2-pci-dss-docker-hardening-cursorrules): (NEXTJS + POSTGRES | MTLS, DOCKER, OAUTH) Auditor-verified .cursorrules enforcing non-root users, SHA-256 base image digests, network isolation, and technical control evidence mapping.

## Indexed Production `.cursorrules` Blueprints (41 Rules)
- [Production Cursor Rules for Python FastAPI & Pydantic v2](https://www.warplogicai.com/prompts/python-fastapi-pydantic-cursorrules): (FastAPI / Python 3.12) Optimal .cursorrules file for Python FastAPI, Pydantic v2 models, and Async SQLAlchemy 2.0 in Cursor IDE.
- [Cursor Rules for Pytest, Asyncio & FastAPI Test Coverage](https://www.warplogicai.com/prompts/pytest-asyncio-fastapi-cursorrules): (Pytest / FastAPI / Python 3.12) Production .cursorrules for automated Pytest fixtures, AsyncClient integration testing, and mock overrides in FastAPI.
- [Cursor Rules for Django Ninja & OpenAPI Schema Design](https://www.warplogicai.com/prompts/django-ninja-cursorrules): (Django Ninja / Python 3.12) Optimal .cursorrules for Django Ninja REST APIs, Pydantic schemas, and Django ORM async integration.
- [Cursor Rules for Flask Application Factory & Flask-SQLAlchemy](https://www.warplogicai.com/prompts/flask-factory-sqlalchemy-cursorrules): (Flask / Python 3.12) Clean .cursorrules for Flask application factory pattern, Blueprint modularity, and Alembic migrations.
- [Cursor Rules for Advanced Pydantic v2 Custom Validators & Serialization](https://www.warplogicai.com/prompts/pydantic-v2-data-validation-cursorrules): (Pydantic v2 / Python 3.12) Optimal .cursorrules for Pydantic v2 model_validator, field_validator, and custom JSON encoders.
- [Cursor Rules for SQLAlchemy 2.0 Async Session & Repository Pattern](https://www.warplogicai.com/prompts/sqlalchemy-2-async-orm-cursorrules): (SQLAlchemy 2.0 / Python 3.12) Production .cursorrules for SQLAlchemy 2.0 async engine, Mapped typing, and AsyncSession repository pattern.
- [Cursor Rules for Celery & Redis Asynchronous Task Queues](https://www.warplogicai.com/prompts/celery-redis-background-tasks-cursorrules): (Celery / Redis / Python 3.12) Clean .cursorrules for Celery background tasks, Redis message broker, beat scheduling, and exponential backoff retry.
- [Cursor Rules for Poetry Dependency Management & Packaging](https://www.warplogicai.com/prompts/poetry-python-packaging-cursorrules): (Poetry / Python 3.12) Optimal .cursorrules for pyproject.toml configuration, Poetry virtual environments, and CI lockfile verification.
- [Cursor Rules for Multi-Stage Docker & Compose Python Deployments](https://www.warplogicai.com/prompts/docker-python-fastapi-cursorrules): (Docker / Compose / Python 3.12) Production .cursorrules for small multi-stage Dockerfiles, non-root user execution, and docker-compose healthchecks.
- [Cursor Rules for High-Performance Asyncpg & PostgreSQL Query Pooling](https://www.warplogicai.com/prompts/asyncpg-postgres-raw-sql-cursorrules): (Asyncpg / Python 3.12) Optimal .cursorrules for high-throughput raw SQL execution using asyncpg connection pools in Python.
- [Next.js App Router, React 19 & Tailwind CSS v4 Cursor Rules](https://www.warplogicai.com/prompts/nextjs-14-15-app-router-cursorrules): (Next.js (App Router) / TypeScript 5.5 / React 19) Production .cursorrules file for Next.js App Router, React Server Components (RSC), TypeScript, and Tailwind CSS v4.
- [React Hook Form, Zod v3 & Type-Safe Validation Cursor Rules](https://www.warplogicai.com/prompts/react-hook-form-zod-cursorrules): (React 19 / Next.js / TypeScript) Copy-paste .cursorrules file for React Hook Form, Zod schema validation, and server action handling.
- [Shadcn UI, Radix Primitives & Tailwind CSS v4 Cursor Rules](https://www.warplogicai.com/prompts/shadcn-ui-tailwind-cursorrules): (Tailwind / Shadcn UI / TypeScript) Production .cursorrules file for Shadcn UI components, Radix accessibility primitives, and Tailwind CSS v4.
- [Zustand State Management & Slice Pattern Cursor Rules](https://www.warplogicai.com/prompts/zustand-react-state-cursorrules): (Zustand / React / TypeScript) Copy-paste .cursorrules file for Zustand lightweight global state management and persistent middleware.
- [TanStack React Query v5 & Async Data Fetching Cursor Rules](https://www.warplogicai.com/prompts/tanstack-react-query-cursorrules): (TanStack Query / TypeScript) Production .cursorrules file for TanStack React Query v5, optimistic updates, and cache invalidation.
- [Cursor Rules for Docker Multi-Stage Builds & Python Security](https://www.warplogicai.com/prompts/docker-multi-stage-python-cursorrules): (Docker / Docker Compose v2 / Dockerfile / Bash) Production .cursorrules file for multi-stage Docker builds, non-root user security, and layer caching optimization in Python.
- [Cursor Rules for Terraform AWS Infrastructure as Code](https://www.warplogicai.com/prompts/terraform-aws-infrastructure-cursorrules): (Terraform 1.8+ / AWS / HCL) Production .cursorrules file for Terraform AWS modules, S3 remote state locking, and variable validation rules.
- [Cursor Rules for PostgreSQL Indexing & Prisma Migrations](https://www.warplogicai.com/prompts/postgresql-prisma-cursorrules): (PostgreSQL 16 / Prisma ORM / SQL / TypeScript) Production .cursorrules file for PostgreSQL 16 index optimization, JSONB GIN indexing, and zero-downtime Prisma migrations.
- [Cursor Rules for Redis Caching & Sliding Window Rate Limiting](https://www.warplogicai.com/prompts/redis-cache-ratelimit-cursorrules): (Redis 7 / TypeScript / Lua) Production .cursorrules file for Redis 7 key eviction, sliding-window rate limiters, and atomic Lua scripts.
- [Cursor Rules for GitHub Actions CI/CD Pipeline Hardening](https://www.warplogicai.com/prompts/github-actions-cicd-cursorrules): (GitHub Actions / YAML) Production .cursorrules file for GitHub Actions CI/CD pipeline security, commit SHA action pinning, and OIDC auth.
- [Cursor Rules for Node.js Express & TypeScript](https://www.warplogicai.com/prompts/node-express-typescript-cursorrules): (Express.js / TypeScript / Node.js) Production .cursorrules file for Node.js, Express, TypeScript, and Async Controller middleware.
- [Cursor Rules for NestJS Enterprise Architecture & DI](https://www.warplogicai.com/prompts/nestjs-architecture-di-cursorrules): (NestJS / TypeScript / Node.js) Production .cursorrules file for NestJS, TypeScript, Modules, Controllers, and Guards.
- [Cursor Rules for Prisma ORM & Type-Safe Database Queries](https://www.warplogicai.com/prompts/prisma-orm-typescript-cursorrules): (Prisma ORM / TypeScript) Copy-paste .cursorrules file for Prisma ORM schema design, transactions, and migrations.
- [Cursor Rules for Zod Schema Validation & Inference](https://www.warplogicai.com/prompts/zod-validation-typescript-cursorrules): (Zod / TypeScript) Optimal .cursorrules file for Zod type inference, custom refinements, and API boundaries.
- [Cursor Rules for tRPC End-to-End Type-Safe APIs](https://www.warplogicai.com/prompts/trpc-type-safe-api-cursorrules): (tRPC / TypeScript) Production .cursorrules file for tRPC router setup, procedure middleware, and TanStack Query.
- [Production Cursor Rules for LangChain & LangGraph Agents](https://www.warplogicai.com/prompts/langchain-python-agent-cursorrules): (LangChain / Python 3.12) Copy-paste .cursorrules file for LangChain v0.2+, LangGraph stateful agents, and LCEL chains in Python.
- [Cursor Rules for LlamaIndex RAG & VectorStore Pipelines](https://www.warplogicai.com/prompts/llamaindex-rag-vectorstore-cursorrules): (LlamaIndex / Python 3.12) Copy-paste .cursorrules file for LlamaIndex RAG architectures, document chunking, and query engines.
- [Cursor Rules for OpenAI SDK v4 & Structured Outputs](https://www.warplogicai.com/prompts/openai-sdk-v4-typescript-cursorrules): (OpenAI SDK / TypeScript 5.4) Production .cursorrules for OpenAI Node.js/TypeScript SDK v4, JSON structured outputs, and streaming.
- [Cursor Rules for Anthropic Claude SDK & Prompt Caching](https://www.warplogicai.com/prompts/anthropic-claude-sdk-cursorrules): (Anthropic SDK / Python 3.12 / TS) Copy-paste .cursorrules file for Anthropic Claude 3.5 Sonnet SDK, prompt caching, and tool use.
- [Cursor Rules for Pinecone Vector DB & Hybrid Search](https://www.warplogicai.com/prompts/pinecone-vector-database-cursorrules): (Pinecone / Python 3.12) Production .cursorrules file for Pinecone v3 Python SDK, metadata filtering, and hybrid vector search.
- [Zero-Trust API Gateway mTLS & Envoy Sidecar Enforcement Rules](https://www.warplogicai.com/prompts/zerotrust-gateway-mTLS-cursorrules): (Envoy Proxy v1.29+ / SPIFFE SPIRE / YAML / JSON) Production .cursorrules dataset for zero-trust microservice architecture, strict TLS 1.3 mutual TLS, SPIFFE/SPIRE ID validation, and Envoy sidecar rate limiting.
- [Multi-Cloud Terraform AWS EKS & GCP GKE Federated Module Rules](https://www.warplogicai.com/prompts/multicloud-terraform-eks-gke-cursorrules): (HashiCorp Terraform 1.8+ / HCL) Production .cursorrules dataset for multi-cloud IaC module design, Terraform AWS/GCP provider constraints, and OIDC dynamic credential execution.
- [Kubernetes Helm 3 Chart Templating & GitOps ArgoCD Release Rules](https://www.warplogicai.com/prompts/kubernetes-helm-chart-release-cursorrules): (Helm 3 / ArgoCD / YAML / Go Templates) Production .cursorrules dataset for Helm 3 values schema validation, ArgoCD GitOps deployment synchronization, and security context hardening.
- [OAuth2 PKCE Authorization Code Flow Rules](https://www.warplogicai.com/prompts/oauth2-pkce-authorization-code-cursorrules): (Next.js / Express / TypeScript) Production .cursorrules file for OAuth2 PKCE Authorization Code flow, SHA-256 code challenge generation, and anti-CSRF state token verification.
- [Express JWT Rotation & Middleware Rules](https://www.warplogicai.com/prompts/express-jwt-rotation-middleware-cursorrules): (Express.js / TypeScript) Production .cursorrules file for Express.js JWT authentication, asymmetric key verification, and refresh token rotation with Redis family tracking.
- [Terraform AWS ECS Fargate Module Rules](https://www.warplogicai.com/prompts/terraform-aws-ecs-fargate-module-cursorrules): (Terraform 1.8+ / AWS / HCL) Production .cursorrules file for Terraform AWS ECS Fargate modules, IAM task privilege separation, and KMS log encryption.
- [Docker Compose Production Hardening Rules](https://www.warplogicai.com/prompts/docker-compose-production-hardening-cursorrules): (Docker Compose v2 / YAML) Production .cursorrules file for hardened Docker Compose setups, read-only root filesystems, resource limits, and healthcheck polling.
- [SvelteKit 5 Runes & Tailwind v4 Production Cursor Rules](https://www.warplogicai.com/prompts/sveltekit-5-runes-tailwind-v4-cursorrules): (SvelteKit / TypeScript) Production-ready .cursorrules for SvelteKit 5 using $state, $derived, and $effect runes with Tailwind CSS v4 and strict TypeScript.
- [React Native Expo Router v4 Production Cursor Rules](https://www.warplogicai.com/prompts/react-native-expo-router-cursorrules): (React Native / TypeScript) Battle-tested .cursorrules for Expo Router v4 file-based routing, native gestures, and cross-platform TypeScript.
- [Rust Axum 0.7 & Tokio Async Microservice Cursor Rules](https://www.warplogicai.com/prompts/rust-axum-tokio-sqlx-cursorrules): (Axum / Rust) Zero-overhead Rust Axum .cursorrules with SQLx compile-time query verification, Tokio multi-threading, and non-root Docker builds.
- [Flutter 3.24 & BLoC Clean Architecture Cursor Rules](https://www.warplogicai.com/prompts/flutter-bloc-clean-architecture-cursorrules): (Flutter / Dart) Clean architecture .cursorrules for Flutter 3 with BLoC state management, freezed data models, and repository pattern.
- [Elixir Phoenix LiveView 1.0 Production Cursor Rules](https://www.warplogicai.com/prompts/elixir-phoenix-liveview-cursorrules): (Phoenix LiveView / Elixir) Production .cursorrules for Phoenix LiveView 1.0 components, PubSub real-time sockets, and resilient OTP supervision trees.