# IDE rules for Backend and APIs

Rules for Backend and APIs: what each one does, an install command and example prompts.

69 cards · page 2 of 2

- HTML: https://affpapa.org/en/nevibecode/rules/topic/backend?page=2
- Instructions for agents: https://affpapa.org/en/nevibecode/agents.md

- [htmx-django-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/htmx-django-cursorrules-prompt-file.md) — rule · PatrickJS · Cursor · ★ 41011 — A Cursor rule that keeps the agent on Django rails while it writes HTMX code: templates, forms, CSRF, class-based views.
- [database](https://affpapa.org/en/nevibecode/rules/database.md) — rule · PatrickJS · Cursor · ★ 41011 — A Cursor rule with database practices for Prisma and Supabase: schemas, migrations, queries, RLS policies.
- [cursorrules-cursor-ai-wordpress-draft-macos-prompt](https://affpapa.org/en/nevibecode/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.md) — rule · PatrickJS · Cursor · ★ 41011 — A Cursor rule that describes the PressThat project: a system tray app that connects to WordPress and creates draft posts.
- [cloudflare-workers-hono-angular-saas-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/cloudflare-workers-hono-angular-saas-cursorrules-prompt-file.md) — rule · PatrickJS · Cursor · ★ 41011 — A Cursor rule that pins the stack and conventions for SaaS on Cloudflare Workers: Hono API, Angular, Drizzle, Clerk, Stripe.
- [zod](https://affpapa.org/en/nevibecode/rules/zod.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that sets conventions for Zod schemas: strict TypeScript, type inference from schemas and parsing untrusted data at the edge.
- [tornado](https://affpapa.org/en/nevibecode/rules/tornado.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins down Tornado code style: async/await for every I/O call, full type hints, and one shared error handler.
- [sqlalchemy](https://affpapa.org/en/nevibecode/rules/sqlalchemy.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that keeps Python database code on SQLAlchemy 2.x: typed models, context-managed sessions, select() instead of the legacy Query.
- [sentry](https://affpapa.org/en/nevibecode/rules/sentry.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins down how Sentry gets initialized in a project: entry point, env vars, context, and the cases where global init breaks things.
- [ruby](https://affpapa.org/en/nevibecode/rules/ruby.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins down Ruby style for the whole project: RuboCop, Rails conventions, N+1 queries and SQL injection.
- [pyramid](https://affpapa.org/en/nevibecode/rules/pyramid.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule with coding conventions for the Pyramid Python framework: project layout, configuration, transactions and view predicates.
- [prisma](https://affpapa.org/en/nevibecode/rules/prisma.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that keeps your agent honest about Prisma ORM: one client instance, narrow queries, sane migrations.
- [phoenix](https://affpapa.org/en/nevibecode/rules/phoenix.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that tells the agent how to write Phoenix apps in Elixir: contexts, formatting, Ecto queries.
- [notion-api](https://affpapa.org/en/nevibecode/rules/notion-api.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that shapes how your agent writes Notion API code: separate modules, tokens from environment variables, official SDKs, paginated queries.
- [nestjs](https://affpapa.org/en/nevibecode/rules/sanjeed5-nestjs.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that sets NestJS project structure: feature modules, explicit types, validated DTOs and global exception filters.
- [mongodb](https://affpapa.org/en/nevibecode/rules/mongodb.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that tells the agent how to model, query and index MongoDB.
- [microsoft-teams](https://affpapa.org/en/nevibecode/rules/microsoft-teams.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule with opinionated practices for Microsoft Teams apps: project structure, Fluent UI, Adaptive Cards and Microsoft Graph.
- [llama-index](https://affpapa.org/en/nevibecode/rules/llama-index.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule with code examples for LlamaIndex: modular functions, the Workflow API, LlamaCloud parsing and async index building.
- [httpx](https://affpapa.org/en/nevibecode/rules/httpx.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins down how to use httpx in Python: reuse one client, enable HTTP/2, set timeouts.
- [ffmpeg](https://affpapa.org/en/nevibecode/rules/ffmpeg.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that tells the agent how to work with FFmpeg: libav* API calls, two-pass encoding, and pinned builds in CI.
- [drizzle](https://affpapa.org/en/nevibecode/rules/drizzle.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that hands your agent a fixed set of Drizzle ORM conventions: split schema files, explicit column constraints, consistent naming.
- [django-rest-framework](https://affpapa.org/en/nevibecode/rules/django-rest-framework.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that gives the agent one consistent way to build Django REST Framework APIs: project layout, serializers, ViewSets.
- [datadog](https://affpapa.org/en/nevibecode/rules/datadog.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that sets Datadog standards: required service, env and version tags, structured logs, and a naming scheme for custom metrics.
- [clerk](https://affpapa.org/en/nevibecode/rules/clerk.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins down how Clerk auth should be wired: PKCE, server-side checks, short-lived tokens.
- [bottle](https://affpapa.org/en/nevibecode/rules/bottle.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that lays out how to structure a Bottle project: modules instead of one app.py, config through app.config, Pydantic validation.
- [aws](https://affpapa.org/en/nevibecode/rules/aws.md) — rule · sanjeed5 · Cursor · ★ 3579 — Tells the agent how to build on AWS: CDK v2 only, Lambda environment reuse, idempotent handlers and least-privilege IAM.
- [aws-amplify](https://affpapa.org/en/nevibecode/rules/aws-amplify.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that sets conventions for AWS Amplify Gen 2: split resource files, single-purpose functions, typed data access.
- [asyncio](https://affpapa.org/en/nevibecode/rules/asyncio.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule for async Python: one entry point, tasks that don't get garbage collected, and no blocking of the event loop.
- [apollo-graphql](https://affpapa.org/en/nevibecode/rules/apollo-graphql.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that puts the GraphQL schema before the resolvers in Apollo projects.
- [aiohttp](https://affpapa.org/en/nevibecode/rules/aiohttp.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins down how to write aiohttp client code: one long-lived session, explicit timeouts, typed request helpers.

## Refine
[python](https://affpapa.org/en/nevibecode/tag/python.md) · [typescript](https://affpapa.org/en/nevibecode/tag/typescript.md) · [csharp](https://affpapa.org/en/nevibecode/tag/csharp.md) · [dotnet](https://affpapa.org/en/nevibecode/tag/dotnet.md) · [async](https://affpapa.org/en/nevibecode/tag/async.md) · [php](https://affpapa.org/en/nevibecode/tag/php.md) · [database](https://affpapa.org/en/nevibecode/tag/database.md) · [java](https://affpapa.org/en/nevibecode/tag/java.md) · [serverless](https://affpapa.org/en/nevibecode/tag/serverless.md) · [go](https://affpapa.org/en/nevibecode/tag/go.md) · [gradle](https://affpapa.org/en/nevibecode/tag/gradle.md) · [api](https://affpapa.org/en/nevibecode/tag/api.md)

## Narrow this list
Parameters: `?platform=<claude-code|codex|cursor|copilot|gemini-cli|windsurf|…>`, `&topic=<…>`, `&sort=installs|stars|new|updated` — values in https://affpapa.org/en/nevibecode/agents.md

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
