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 ViewWay
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/viewway-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: not checked yet.
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 (1)
- SKILL.md
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 ViewWay/hermes-by-everythings, MIT.
More from ViewWay/hermes-by-everythings
- 0.519score
frontend-design-ultimate
ViewWay
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
hermes-by-everythings
ViewWay
多平台多语言编码增强套件。整合 ECC + Ralph 最佳能力。 22 Command + 39 Agent + 自动化 Hooks + 学习系统。 支持 TypeScript/Python/Rust/Go/Java/Kotlin 等10种语言。
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-security
ViewWay
Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
deployment-patterns
ViewWay
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web…
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
docker-patterns
ViewWay
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-patterns
ViewWay
Laravel architecture patterns, routing/controllers, Eloquent ORM, service layers, queues, events, caching, and API resources for production apps.
SkillCFreshness: C★ 3Claude Code +9 - 0.508score
code-review
ViewWay
Systematic code review patterns covering security, performance, maintainability, correctness, and testing
SkillCFreshness: C★ 3Claude Code +9 - 0.505score
data-scraper-agent
ViewWay
Build a fully automated AI-powered data collection agent for any public source — job boards, prices, news, GitHub, sports, anything.
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
Diagram
ViewWay
Generate diagrams from descriptions with Mermaid, PlantUML, or ASCII for architecture, flows, sequences, and data models.
SkillCFreshness: C★ 3Claude Code +9 - 0.502score
kotlin-patterns
ViewWay
Idiomatic Kotlin patterns, best practices, and conventions for building robust, efficient, and maintainable Kotlin applications with coroutines, null safety…
SkillCFreshness: C★ 3Claude Code +9 - 0.485score
frontend-slides
ViewWay
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files.
SkillCFreshness: C★ 3Claude Code +9 - 0.277score
diagram-generator
ViewWay
No description from the publisher yet.
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 2, 2026 (6 months ago)
- Last release
- May 2, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ViewWay/hermes-by-everythings
- 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.260score
backend-patterns
ddandanell
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 - 0.260score
backend-patterns
omarabdo516
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 - 0.256score
backend-patterns
majiang213
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillDFreshness: D★ 5Claude Code +9 - 0.224score
backend-patterns
Juliotamara23
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillDFreshness: DClaude Code +9
More from ViewWay
- 0.519score
frontend-design-ultimate
ViewWay
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-security
ViewWay
Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
deployment-patterns
ViewWay
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web…
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
docker-patterns
ViewWay
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-patterns
ViewWay
Laravel architecture patterns, routing/controllers, Eloquent ORM, service layers, queues, events, caching, and API resources for production apps.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
hermes-by-everythings
ViewWay
多平台多语言编码增强套件。整合 ECC + Ralph 最佳能力。 22 Command + 39 Agent + 自动化 Hooks + 学习系统。 支持 TypeScript/Python/Rust/Go/Java/Kotlin 等10种语言。
SkillCFreshness: C★ 3Claude Code +9
Cite this page
backend-patterns skill. Agent Mart. https://agentmart.dev/skills/viewway-backend-patterns (last updated 2026-10-24)