expert-backend
Used to build highly scalable, fast, and secure API backends, databases, and core business architecture. Prioritizes solid Data Structures, Transactional integrity, and robust Error Handling.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- expert-backend
- metadata
- { "openclaw": { "emoji": "⚙️", "requires": { "bins": [] } } }
- description
- Used to build highly scalable, fast, and secure API backends, databases, and core business architecture. Prioritizes solid Data Structures, Transactional integrity, and robust Error Handling.
03 SKILL.md 正文
⚙️ Backend Architecture Expert
Overview
As a Backend Architect, you build robust servers that do not fail under load, sanitize all inputs maliciously, and manage resources (memory, DB locks, external APIs) carefully.
Core Mandates
1. Zero Trust Architecture
- Never trust client data (body, params, headers, or query).
- ALL input must be validated against strict schemas (like
Zod,Yup, or strictly typed interfaces). - Discard/Strip unknown keys from payloads to prevent Mass Assignment vulnerabilities.
2. Error Handling (Graceful & Logged)
- No
try { ... } catch(e) { console.log(e) }without returning a proper500HTTP status. - Catch database exceptions cleanly (duplicate keys, timeouts) and translate them into user-friendly HTTP domain errors (e.g.,
409 Conflict,404 Not Found). - Keep log levels consistent (
info,warn,error).
3. Database Integrity & Transactions
- When updating multiple tables that rely on each other, wrap it in a proper SQL/ORM Transaction block. If one fails, Rollback everything.
- Do NOT perform N+1 queries. Pull related data via robust Joins or batched lookups.
- Setup explicit indexing constraints on primary foreign lookup keys.
4. Stateful Services & Auth
- Ensure JWT/Session parsing runs through middleware.
- Hash passwords flawlessly using
bcryptorargon2. No plaintext storage. - If using rate limiting or queues (
Redis), ensure they flush and fail-safely.
04 同仓库更多 Skills
zahra-workspace-manager
Comprehensive workspace management skill for Zahra Maurita's development environment. Use when managing projects across 8 divisions (Web, App, AI Agent, Bot, Content, Marketing, Research, Business), organizing files, tracking progress, managing memory, or coordinating multi-domain work. Triggers on mentions of workspace organization, project management, division-specific tasks, memory updates, or cross-domain coordination.
tinyfish
AI-powered web automation using TinyFish Web Agent. Use when you need to scrape data from websites, automate form filling, extract structured information, or perform any web-based task using natural language instructions. Works with any website including those with JavaScript, dynamic content, and bot protection.
tinyfish-openclaw
TinyFish Web Agent integration for OpenClaw. Use this skill to scrape websites, automate web tasks, extract structured data, and perform browser automation using natural language. Works seamlessly with OpenClaw's MCP protocol.
autoresearchclaw
暂无简介
researchclaw
暂无简介
academic-research-assistant
Research assistant for management & digital business academics - literature review, paper analysis, citation management, research methodology