Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

backend-dev

Skill by marmelab

Provides backend development conventions for Atomic CRM, covering when backend logic is needed and how to build Supabase views, triggers, RLS policies and edge functions. Aimed at developers working on the Atomic CRM backend.

  • Score 83
  • 1.5k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install backend-dev

Built from the published package, never by AI.

git clone --depth 1 https://github.com/marmelab/atomic-crm /tmp/atomic-crm && mkdir -p ~/.claude/skills && cp -r /tmp/atomic-crm/.claude/skills/backend-dev ~/.claude/skills/backend-dev

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install backend-dev in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The backend-dev skill is a reference for backend conventions in Atomic CRM. It states that there is no custom backend server and that all server-side logic uses Supabase, including PostgreSQL, the Auth API, Storage and Edge Functions. It also explains when a change needs backend logic, with a default preference for frontend solutions.

The skill covers creating and modifying database views, triggers, RLS policies and migrations, plus edge functions that follow a CORS, authenticate and handler chain. It lists security rules for row-limit counts and WITH CHECK clauses. It is aimed at developers who write backend code for Atomic CRM and points to the writing-migrations and frontend-dev skills for related work.

Written from the project's SKILL.md and checked against it.

What it can do

  • Backend necessity checkDecides whether a change needs backend logic or can stay on the frontend.
  • Database viewsGuides creating views with CREATE OR REPLACE VIEW and keeping summary views in sync.
  • Edge functionsDescribes writing Supabase edge functions in Deno with shared utilities.
  • RLS policiesExplains RLS policies for new tables and the auto-set sales_id trigger.
  • Limit enforcementExplains using SECURITY DEFINER with a fixed search_path for row-counting limits.
  • WITH CHECK constraintsExplains constraining every column a non-admin can set, not only ownership.

What you need

  • Supabase project
  • Deno (for edge functions)
  • Atomic CRM codebase

Try asking

  • Should this feature in Atomic CRM use a view or an edge function?
  • Write an RLS policy for a new table with the sales_id trigger.
  • Review this WITH CHECK clause for privilege escalation risks.

Good to know

  • No custom backend server. All server-side logic runs on Supabase.
  • Edge functions use verify_jwt = false, so JWT checks must be done manually via authenticate().
  • Stored procedures via RPC are less preferred than edge functions.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/backend-dev/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB

Alternatives to backend-dev

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

backend-dev: common questions

Does Atomic CRM have a custom backend server?

No. The source states there is no custom backend server, and server-side logic uses Supabase PostgreSQL, Auth, Storage and Edge Functions.

Why does a row-counting limit sometimes never fire?

A SECURITY INVOKER count runs under the caller's RLS and sees only rows that caller can read, so it under-counts. The source says such limit checks must be SECURITY DEFINER with a fixed search_path.

What order should edge functions use for requests?

The source says to follow CORS preflight, then authenticate(), then the handler.

How do I install backend-dev?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is backend-dev free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is backend-dev safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to backend-dev?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

backend-dev Install

Add to stack

Loading.