backend-dev-guidelines

Guide Supabase backend development with TypeScript, RLS, and Edge Functions.

4|1|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/DojoCodingLabs/claude-code-waypoint --skill backend-dev-guidelines-dojocodinglabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-dev-guidelines
Source: https://github.com/DojoCodingLabs/claude-code-waypoint/tree/main/.claude/skills/backend-dev-guidelines
Command: npx skills add https://github.com/DojoCodingLabs/claude-code-waypoint --skill backend-dev-guidelines-dojocodinglabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of best practices and patterns for building robust, secure, and scalable backends using Supabase, PostgreSQL, and TypeScript, eliminating common pitfalls and ensuring consistency.

Core Features & Use Cases

  • Standardized Stack: Opinionated scaffold for Supabase Edge Functions, PostgreSQL with RLS, Supabase Auth, Resend, and Stripe.
  • Best Practices: Enforces secure coding standards, input validation (Zod), RLS policies, and error handling.
  • Use Case: When developing a new feature that involves creating a Supabase Edge Function to process a payment via Stripe, this Skill will guide you through setting up the function, validating input, verifying authentication, implementing RLS for data access, and handling potential errors.

Quick Start

Use the backend-dev-guidelines skill to generate a new Supabase Edge Function for user authentication.

Frequently Asked Questions about backend-dev-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Row-Level Security (RLS) policies in PostgreSQL using Supabase?

Row-Level Security (RLS) policies in Supabase restrict data access directly within PostgreSQL by enforcing rules based on the authenticated user. You define these policies to secure your data tables.

What is the best way to structure a Supabase Edge Function for Stripe payments?

The best way to structure a Supabase Edge Function for Stripe payments is to validate input with Zod, verify user authentication, process the Stripe transaction, and handle potential errors systematically.

How do I validate input in TypeScript Supabase Edge Functions?

You validate input in TypeScript Supabase Edge Functions using Zod. It enforces secure coding standards by parsing and validating incoming requests before the data reaches your business logic.

Does Supabase Auth integrate with Resend for transactional emails?

Yes, Supabase Auth integrates with Resend for transactional emails. This standardized stack approach provides comprehensive patterns for authentication flows and email delivery within your backend.

What are common pitfalls when designing PostgreSQL databases for Supabase backends?

Common pitfalls when designing PostgreSQL databases for Supabase include neglecting RLS policies, skipping input validation, and poor error handling. Comprehensive guidelines help eliminate these issues and ensure secure database design.