backend-saas
SaaS backend development patterns including API design, multi-tenancy, authentication, and scalability.
Skill by queen-of-code
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/queen-of-code-backend-saas
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/backend-saas
What's inside
- Skill name
backend-saas- Description
- SaaS backend development patterns including API design, multi-tenancy, authentication, and scalability. Use when building backend services, APIs, SaaS infrastructure, or designing system architecture.
- License
- MIT
- Instructions
- 405 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- api-structure.md · examples/
- csharp.md · examples/
- python.md · examples/
SKILL.md (first lines)
# SaaS Backend Development
## When to Use
- Building backend APIs
- Designing multi-tenant systems
- Implementing authentication/authorization
- Setting up observability
- Planning for scale
- Handling background jobs
## API Design
### RESTful Conventions
| Method | Path | Action | Status Codes |
|--------|------|--------|--------------|
| GET | /resources | List all | 200, 204 |
| GET | /resources/:id | Get one | 200, 404 |
| POST | /resources | Create | 201, 400, 422 |
| PUT | /resources/:id | Replace | 200, 404 |
| PATCH | /resources/:id | Update | 200, 404 |
| DELETE | /resources/:id | Remove | 204, 404 |
### Response Format
```json
{
"data": { ... },
"meta": {
"page": 1,
"per_page": 20,
"total": 100
}
}
```
### Error Format
```json
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Email is invalid",
"details": [
{ "field": "email", "message": "must be a valid email" }
]
}
}
```
### Pagination
```
GET /api/users?page=2&per_page=20
GET /api/users?cursor=abc123&limit=20 (cursor-based)
```
### Filtering and Sorting
```
GET /api/users?status=active&role=admin
GET /api/users?sort=-created_at,name (- for descending)
```
## Multi-Tenancy
### Strategies
| Strategy | Isolation | Complexity | Cost |
|----------|-----------|------------|------|
| **Shared DB, Shared Schema** | Low | Low | Low |
| **Shared DB, Separate Schema** | Medium | Medium | Medium |
| **Separate Database** | High | High | High |
### Row-Level Security (Shared Schema)
```sql
-- Every table has tenant_id
CREATE TABLE users (
id UUID PRIMARY KEY,
tenant_id UUID NOT NULL REFERENCES tenants(id),
email VARCHAR(255) NOT NULL,
-- ...
);
-- RLS policy
ALTER TABLE users ENABLE ROW LEVEL SECURITY;
CREATE POLICY tenant_isolation ON users
USING (tenant_id = current_setting('app.tenant_id')::UUID);
-- Set tenant context per request
SET app.tenant_id = 'tenant-uuid-here';
```
### Application-Level Filtering
```python
class TenantMiddleware:
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
# Extract tenant from subdomain, header, or JWT
tenant_id = self.extract_tenant(request)
request.tenant_id = tenant_id
return self.get_response(request)
class TenantQuerySet:
def get_queryset(self):
return super().get_queryset().filter(
tenant_id=self.request.tenant_id
)
```
## Authentication & Authorization
### JWT StructureFrom queen-of-code/AI-DLC, MIT.
More from queen-of-code/AI-DLC
- 0.625score
build
queen-of-code
AIDLC Build + Test orchestrator (TDD).
SkillAFreshness: A★ 9Claude Code +9 - 0.625score
design
queen-of-code
AIDLC Design phase — Tech Spec under feature/<slug>/, review passes, human gate before /build.
SkillAFreshness: A★ 9Claude Code +9 - 0.625score
agent-product-manager
queen-of-code
Writes feature spec drafts using the product template.
SkillAFreshness: A★ 9Claude Code +9 - 0.595score
agent-reviewer
queen-of-code
Review Orchestrator.
SkillAFreshness: A★ 9Claude Code +9 - 0.538score
frontend-web
queen-of-code
Modern web development patterns for React, Vue, and vanilla JS including component architecture, state management, and performance.
SkillCFreshness: C★ 9Claude Code +9 - 0.535score
agent-issue-tracker-setup
queen-of-code
Onboards AIDLC issue-tracker choice for a consumer repo: fills AGENTS.md Issue tracker (AIDLC) table, checklists for GitHub vs Linear vs Jira paths, and links…
SkillCFreshness: C★ 9Claude Code +9 - 0.473score
architecture
queen-of-code
Apply software architecture best practices and design patterns.
SkillDFreshness: D★ 9Claude Code +9 - 0.473score
blog-writing
queen-of-code
Write blog posts in Melissa Benua's voice and style, saved to external-brain/blog-posts.
SkillDFreshness: D★ 9Claude Code +9 - 0.470score
agent-devops-review
queen-of-code
DevOps review pass for PRs — CI/CD, containers, workflows, rollout, rollback, monitoring vs Tech Spec.
SkillDFreshness: D★ 9Claude Code +9 - 0.470score
agent-learn
queen-of-code
Captures learnings after a feature or incident completes.
SkillDFreshness: D★ 9Claude Code +9 - 0.470score
agent-security-review
queen-of-code
Lightweight security review pass for PRs — secrets, auth/access, dependencies, web/data safety, config.
SkillDFreshness: D★ 9Claude Code +9 - 0.440score
agent-synthesizer
queen-of-code
Combines outputs from multiple agents or sources into a single coherent result.
SkillDFreshness: D★ 9Claude Code +9
Signals
- Stars
- 9
- Forks
- 13
- Open issues
- 0
- Last commit (this folder)
- Apr 13, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/queen-of-code/AI-DLC
- Website
- queenofcode.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.246score
backend-saas
csackrider
SaaS backend development patterns including API design, multi-tenancy, authentication, and scalability.
SkillDFreshness: DClaude Code +9 - 0.246score
backend-saas
nathan-oakes
SaaS backend development patterns including API design, multi-tenancy, authentication, and scalability.
SkillDFreshness: DClaude Code +9
More from queen-of-code
- 0.625score
agent-product-manager
queen-of-code
Writes feature spec drafts using the product template.
SkillAFreshness: A★ 9Claude Code +9 - 0.625score
build
queen-of-code
AIDLC Build + Test orchestrator (TDD).
SkillAFreshness: A★ 9Claude Code +9 - 0.625score
design
queen-of-code
AIDLC Design phase — Tech Spec under feature/<slug>/, review passes, human gate before /build.
SkillAFreshness: A★ 9Claude Code +9 - 0.595score
agent-reviewer
queen-of-code
Review Orchestrator.
SkillAFreshness: A★ 9Claude Code +9 - 0.538score
frontend-web
queen-of-code
Modern web development patterns for React, Vue, and vanilla JS including component architecture, state management, and performance.
SkillCFreshness: C★ 9Claude Code +9 - 0.535score
agent-issue-tracker-setup
queen-of-code
Onboards AIDLC issue-tracker choice for a consumer repo: fills AGENTS.md Issue tracker (AIDLC) table, checklists for GitHub vs Linear vs Jira paths, and links…
SkillCFreshness: C★ 9Claude Code +9
Cite this page
backend-saas skill. Agent Mart. https://agentmart.dev/skills/queen-of-code-backend-saas (last updated 2026-10-24)