backend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
Skill by mturac
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/mturac-backend-patterns
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, frontend, backend
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-patterns
What's inside
- Skill name
backend-patterns- Description
- Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
- License
- MIT
- Instructions
- 594 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- body: 594 lines (spec recommends under 500)
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Backend Development Patterns
Backend architecture patterns and best practices for scalable server-side applications.
## When to Activate
- Designing REST or GraphQL API endpoints
- Implementing repository, service, or controller layers
- Optimizing database queries (N+1, indexing, connection pooling)
- Adding caching (Redis, in-memory, HTTP cache headers)
- Setting up background jobs or async processing
- Structuring error handling and validation for APIs
- Building middleware (auth, logging, rate limiting)
## API Design Patterns
### RESTful API Structure
```typescript
// PASS: Resource-based URLs
GET /api/markets # List resources
GET /api/markets/:id # Get single resource
POST /api/markets # Create resource
PUT /api/markets/:id # Replace resource
PATCH /api/markets/:id # Update resource
DELETE /api/markets/:id # Delete resource
// PASS: Query parameters for filtering, sorting, pagination
GET /api/markets?status=active&sort=volume&limit=20&offset=0
```
### Repository Pattern
```typescript
// Abstract data access logic
interface MarketRepository {
findAll(filters?: MarketFilters): Promise<Market[]>
findById(id: string): Promise<Market | null>
create(data: CreateMarketDto): Promise<Market>
update(id: string, data: UpdateMarketDto): Promise<Market>
delete(id: string): Promise<void>
}
class SupabaseMarketRepository implements MarketRepository {
async findAll(filters?: MarketFilters): Promise<Market[]> {
let query = supabase.from('markets').select('*')
if (filters?.status) {
query = query.eq('status', filters.status)
}
if (filters?.limit) {
query = query.limit(filters.limit)
}
const { data, error } = await query
if (error) throw new Error(error.message)
return data
}
// Other methods...
}
```
### Service Layer Pattern
```typescript
// Business logic separated from data access
class MarketService {
constructor(private marketRepo: MarketRepository) {}
async searchMarkets(query: string, limit: number = 10): Promise<Market[]> {
// Business logic
const embedding = await generateEmbedding(query)
const results = await this.vectorSearch(embedding, limit)
// Fetch full data
const markets = await this.marketRepo.findByIds(results.map(r => r.id))
// Sort by similarity
return markets.sort((a, b) => {
const scoreA = results.find(r => r.id === a.id)?.score || 0
const scoreB = results.find(r => r.id === b.id)?.score || 0
return scoreA - scoreB
})
}
private async vectorSearch(embedding: number[], limit: number) {
// Vector search implementation
}
}
```
### Middleware Pattern
```typescript
// Request/response processing pipeline
export function withAuth(handler: NextApiHandler): NextApiHandler {
return async (req, res) => {
const token = req.headers.authorization?.replace('Bearer ', '')
if (!token) {
return res.status(401).json({ error: 'Unauthorized' })
}
try {
const user = await verifyToken(token)
req.user = user
return handler(req, res)
} catch (error) {
return res.status(401).json({ error: 'Invalid token' })
}
}
}
// Usage
export default withAuth(async (req, res) => {
// Handler has access to req.userFrom mturac/everything-openai-codex, MIT.
More from mturac/everything-openai-codex
- 0.581score
database-migrations
mturac
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs…
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
deployment-patterns
mturac
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web…
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
docker-patterns
mturac
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
fal-ai-media
mturac
Unified media generation via fal.ai MCP — image, video, and audio.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
documentation-lookup
mturac
Use up-to-date library and framework docs via Context7 MCP instead of training data.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
dmux-workflows
mturac
Multi-agent orchestration using dmux (tmux pane manager for AI agents).
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
investor-materials
mturac
Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
investor-outreach
mturac
Draft cold emails, warm intro blurbs, follow-ups, update emails, and investor communications for fundraising.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
market-research
mturac
Conduct market research, competitive analysis, investor due diligence, and industry intelligence with source attribution and decision-oriented summaries.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
mle-workflow
mturac
Production machine-learning engineering workflow for data contracts, reproducible training, model evaluation, deployment, monitoring, and rollback.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
exa-search
mturac
Neural search via Exa MCP for web, code, and company research.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
product-capability
mturac
Translate PRD intent, roadmap asks, or product discussions into an implementation-ready capability plan that exposes constraints, invariants, interfaces, and…
SkillCFreshness: C★ 83Claude Code +9
Signals
- Stars
- 83
- Forks
- 2
- Open issues
- 1
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- 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.355score
backend-patterns
Fmarzochi
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillBFreshness: B★ 67Claude Code +9 - 0.323score
backend-patterns
ysyecust
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: C★ 59Claude Code +9 - 0.282score
backend-patterns
Adaptive-Liquidity
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: C★ 2Claude Code +9 - 0.276score
backend-patterns
Dobeu-tech-eco
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: C★ 1Claude Code +9 - 0.276score
backend-patterns
grantl1274
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: C★ 1Claude Code +9 - 0.276score
backend-patterns
irixzafra
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: C★ 1Claude Code +9 - 0.276score
backend-patterns
SriramGandhiS
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: C★ 1Claude Code +9 - 0.273score
backend-patterns
Heer-Patel69
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: C★ 1Claude Code +9 - 0.263score
backend-patterns
burgebj
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillCFreshness: CClaude Code +9
More from mturac
- 0.581score
investor-materials
mturac
Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
exa-search
mturac
Neural search via Exa MCP for web, code, and company research.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
fal-ai-media
mturac
Unified media generation via fal.ai MCP — image, video, and audio.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
documentation-lookup
mturac
Use up-to-date library and framework docs via Context7 MCP instead of training data.
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
dmux-workflows
mturac
Multi-agent orchestration using dmux (tmux pane manager for AI agents).
SkillCFreshness: C★ 83Claude Code +9 - 0.581score
investor-outreach
mturac
Draft cold emails, warm intro blurbs, follow-ups, update emails, and investor communications for fundraising.
SkillCFreshness: C★ 83Claude Code +9
Cite this page
backend-patterns skill. Agent Mart. https://agentmart.dev/skills/mturac-backend-patterns (last updated 2026-10-24)