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 Jamkris
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/jamkris-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
- 547 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 547 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# Backend Development Patterns
Backend architecture patterns and best practices for scalable server-side applications.
## API Design Patterns
### RESTful API Structure
```typescript
// ✅ 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
// ✅ 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.user
})
```
## Database Patterns
### Query Optimization
```typescript
// ✅ GOOD: Select only needed columns
const { data } = await supabaseFrom Jamkris/everything-gemini-code, MIT.
More from Jamkris/everything-gemini-code
- 0.588score
brand-voice
Jamkris
Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
crosspost
Jamkris
Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
api-connector-builder
Jamkris
Build a new API connector or provider by matching the target repo's existing integration pattern exactly.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
connections-optimizer
Jamkris
Reorganize the user's X and LinkedIn network with review-first pruning, add/follow recommendations, and channel-specific warm outreach drafted in the user's…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
accessibility
Jamkris
Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
carrier-relationship-management
evos
Codified expertise for managing carrier portfolios, negotiating freight rates, tracking carrier performance, allocating freight, and maintaining strategic…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
click-path-audit
Jamkris
Trace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
council
Jamkris
Convene a four-voice council for ambiguous decisions, tradeoffs, and go/no-go calls.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
codebase-onboarding
Jamkris
Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter GEMINI.md.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
automation-audit-ops
Jamkris
Evidence-first automation inventory and overlap audit workflow for ECC.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
autonomous-agent-harness
Jamkris
Transform Gemini CLI into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
customer-billing-ops
Jamkris
Operate customer billing workflows such as subscriptions, refunds, churn triage, billing-portal recovery, and plan analysis using connected billing tools like…
SkillCFreshness: C★ 91Claude Code +9
Signals
- Stars
- 91
- Forks
- 23
- Open issues
- 1
- Last commit (this folder)
- May 12, 2026 (5 months ago)
- Last release
- May 26, 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
More from Jamkris
- 0.588score
brand-voice
Jamkris
Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
accessibility
Jamkris
Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
api-connector-builder
Jamkris
Build a new API connector or provider by matching the target repo's existing integration pattern exactly.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
automation-audit-ops
Jamkris
Evidence-first automation inventory and overlap audit workflow for ECC.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
autonomous-agent-harness
Jamkris
Transform Gemini CLI into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
click-path-audit
Jamkris
Trace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out…
SkillCFreshness: C★ 91Claude Code +9
Cite this page
backend-patterns skill. Agent Mart. https://agentmart.dev/skills/jamkris-backend-patterns (last updated 2026-10-24)