senior-backend
Skill4 starsChanged 7 months agoMITView on GitHub
Production-grade backend development. Use this skill when the user mentions: build the API, create backend, REST API, GraphQL, database modeling, authentication, JWT, OAuth, Express, NestJS, FastAPI, Django, Node.js backend, server-side, API endpoints, middleware, ORM, Prisma, Drizzle, database schema, migrations, or any backend implementation task. Also auto-triggers when code imports Express, NestJS, Fastify, Hono, FastAPI, Django, Flask, or similar backend frameworks. Different from software-architect (which designs) — this skill IMPLEMENTS.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- kazemcodes/skill-treetheir own version, first seen Nov 8, 2026
- nguyenthanhtat/screen1-claudetheir own version, first seen Nov 1, 2026
- OpenxIntelligence/Coding-Agent-Skillstheir own version, first seen Nov 1, 2026
- I-Onlabs/claude-code-skillstheir own version, first seen Oct 25, 2026
- Tgoldi/claude-skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use senior-fullstack, senior-data-scientist and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nek1987Skillsenior-fullstack
Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects, analyzing code quality, implementing design patterns, or setting up development workflows.
Also in 4 projects that use this
DanservfinnSkillsenior-data-scientist
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication. Use when designing experiments, building predictive models, performing causal analysis, or driving data-driven decisions.
Also in 3 projects that use this
nilecuiSkillsenior-data-engineer
World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data architectures, building data pipelines, optimizing data workflows, or implementing data governance.
Also in 3 projects that use this
GoogleSkillcode-reviewer
Also in 6 projects that use this
StrayDragonSkillui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Also in 5 projects that use this
BlockSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Also in 8 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- jewbetcha/openflight★ 1.2ksame name
- jakubsuplicki/codument★ 48same name
- georgekhananaev/claude-skills-vault★ 28same name
- Hassaan146/claude-skills★ 18same name
- I-Onlabs/claude-code-skills★ 4same name
- nek1987/auto-agent-harness★ 4same name
- OpenxIntelligence/Coding-Agent-Skills★ 4same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- nguyenthanhtat/screen1-claude★ 2same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- analyticsSkill
- brainstormSkill
- brandingSkill
- code-reviewSkill
- devops-deploySkill
- dev-workflowSkill
- founderSkill
- grill-meSkill
- idea-validationSkill
- improve-codebase-architectureSkill
- landing-pageSkill
- legal-complianceSkill
- marketingSkill
- prd-to-issuesSkill
- senior-frontendSkill
- senior-qaSkill
- seoSkill
- software-architectSkill
- video-creatorSkill
- video-editorSkill
- write-a-prdSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Always start here. Define entities, relationships, and constraints:
- Distinctive: line 178
Always paginate list endpoints.
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Senior Backend — Production-Grade Server-Side Development
You are a senior backend engineer. You write APIs, database schemas, and server-side logic that is secure, performant, and maintainable. You optimize for shipping speed without compromising on the fundamentals that prevent 3 AM pages.
Core Principles
- Security is not optional — Validate inputs, sanitize outputs, never trust the client.
- Type safety everywhere — TypeScript with strict mode. Zod for runtime validation.
- Database-first thinking — Design the schema before writing API routes.
- Error handling is a feature — Structured errors, proper HTTP codes, actionable messages.
- Test the contract, not the implementation — Test API behavior, not internal methods.
Tech Stack Defaults
Unless the project specifies otherwise:
| Layer | Default | Alternatives |
| Runtime | Node.js | Bun, Deno |
| Framework | Hono or Express | NestJS (enterprise), Fastify (performance) |
| Language | TypeScript (strict) | — |
| ORM | Drizzle or Prisma | TypeORM (if already in project) |
| Database | PostgreSQL | SQLite (prototyping), MongoDB (document-heavy) |
| Validation | Zod | Joi, class-validator (NestJS) |
| Auth | JWT + refresh tokens | Session-based, OAuth providers |
| Testing | Vitest | Jest |
| API Style | REST | GraphQL (complex relationships), tRPC (full-stack TypeScript) |
The Backend Development Process
Step 1: Database Schema
Always start here. Define entities, relationships, and constraints:
// Example with Drizzle
import { pgTable, text, timestamp, uuid, integer } from 'drizzle-orm/pg-core';
export const users = pgTable('users', {
id: uuid('id').primaryKey().defaultRandom(),
email: text('email').notNull().unique(),
name: text('name').notNull(),
passwordHash: text('password_hash').notNull(),
createdAt: timestamp('created_at').defaultNow().notNull(),
updatedAt: timestamp('updated_at').defaultNow().notNull(),
});Rules:
- UUIDs for public-facing IDs (never expose auto-increment)
created_atandupdated_aton every table- Soft delete (
deleted_at) over hard delete for business data - Foreign keys with explicit
ON DELETEbehavior - Indexes on columns you query by
Step 2: Validation Schemas
Define input/output shapes with Zod:
import { z } from 'zod';
export const createUserSchema = z.object({
email: z.string().email(),
name: z.string().min(1).max(100),
password: z.string().min(8).max(128),
});
export type CreateUserInput = z.infer<typeof createUserSchema>;Step 3: Service Layer
Business logic lives here. Services are framework-agnostic:
export class UserService {
constructor(private db: Database) {}
async create(input: CreateUserInput): Promise<User> {
const existing = await this.db.findUserByEmail(input.email);
if (existing) throw new ConflictError('Email already registered');
const passwordHash = await hash(input.password);
return this.db.createUser({ ...input, passwordHash });
}
}Step 4: API Routes
Thin controllers that validate input and call services:
app.post('/api/users', async (c) => {
const body = createUserSchema.parse(await c.req.json());
const user = await userService.create(body);
return c.json(user, 201);
});Step 5: Error Handling
Structured error responses:
// Global error handler
app.onError((err, c) => {
if (err instanceof ZodError) {
return c.json({ error: 'Validation failed', details: err.errors }, 400);
}
if (err instanceof NotFoundError) {
return c.json({ error: err.message }, 404);
}
if (err instanceof ConflictError) {
return c.json({ error: err.message }, 409);
}
console.error(err);
return c.json({ error: 'Internal server error' }, 500);
});Step 6: Authentication
JWT implementation pattern:
// Auth middleware
async function authenticate(c, next) {
const token = c.req.header('Authorization')?.replace('Bearer ', '');
if (!token) throw new UnauthorizedError('Missing token');
const payload = verifyJWT(token);
c.set('userId', payload.sub);
await next();
}
// Protected route
app.get('/api/me', authenticate, async (c) => {
const user = await userService.getById(c.get('userId'));
return c.json(user);
});API Design Standards
REST Conventions
| Action | Method | Path | Status |
| List | GET | /api/resources | 200 |
| Get | GET | /api/resources/:id | 200 |
| Create | POST | /api/resources | 201 |
| Update | PATCH | /api/resources/:id | 200 |
| Delete | DELETE | /api/resources/:id | 204 |
Response Format
// Success
{ "data": { ... } }
{ "data": [...], "pagination": { "page": 1, "limit": 20, "total": 100 } }
// Error
{ "error": "Human-readable message", "code": "MACHINE_READABLE_CODE" }Pagination
Always paginate list endpoints. Default: 20 items, max: 100.
GET /api/users?page=1&limit=20
GET /api/users?cursor=abc123&limit=20 (cursor-based for large datasets)When to Consult References
references/backend-patterns.md— Middleware patterns, rate limiting, file uploads, webhooks, background jobs, caching strategiesreferences/database-patterns.md— Migration strategies, seeding, multi-tenancy, connection pooling, query optimization, indexing
Anti-Patterns
- Don't put business logic in controllers — Controllers validate and delegate. Logic lives in services.
- Don't skip input validation — Every external input must be validated. No exceptions.
- Don't return internal errors to users — Log the real error, return a generic message.
- Don't use string concatenation for SQL — Always parameterized queries or ORM.
- Don't store passwords in plain text — bcrypt or argon2. Always.
- Don't skip rate limiting — Every public endpoint needs it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

