backend-developer
Standardized backend REST API development following layered architecture patterns (Route → Controller → Service → Repository). Use when building new REST APIs, implementing features, fixing bugs, or refactoring backend code. Enforces strict separation of concerns, centralized error handling, input validation, DTO/mapper patterns, and Prisma ORM usage.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bayudsatriyo/backend-developerWhat This Skill Does
The backend-developer skill serves as an architectural blueprint and code generation engine for building production-grade Node.js/TypeScript REST APIs. It enforces a strict, scalable 4-layer architecture—Route, Controller, Service, and Repository—ensuring that your backend codebase remains maintainable, testable, and decoupled from infrastructure details like Prisma ORM or Express.js. By standardizing the file structure, error handling, and validation patterns across all features, this skill eliminates architectural drift in team environments.
Installation
To install this skill, run the following command in your terminal within your OpenClaw environment:
clawhub install openclaw/skills/skills/bayudsatriyo/backend-developer
Use Cases
- Scaffolding entirely new feature modules with consistent boilerplate (Routes, Controller, Service, Repository, DTOs).
- Refactoring legacy monolithic endpoints into the standardized 4-layer architecture for better unit testing.
- Implementing secure, role-based API endpoints that require robust input validation via Joi/Zod.
- Standardizing error handling across an existing Express application to reduce boilerplate catch blocks.
Example Prompts
- "Create a new user-management feature module using the backend-developer pattern, including endpoints for creating a user and fetching profile details."
- "Refactor the existing order-processing logic by moving the database calls from the controller into a new repository layer and adding a service layer for business calculations."
- "Generate a DTO, mapper, and Joi validation schema for an update-product endpoint that requires strict input sanitization."
Tips & Limitations
- Consistency: Always utilize the provided
catchAsyncutility to ensure errors bubble up to the centralized error handler without requiring manual try-catch blocks in your controllers. - Dependencies: This skill assumes your project is already configured with Prisma. If migrating an existing project, ensure your
lib/prisma.tssingleton is initialized correctly. - Limitations: The skill is strictly for Node.js/TypeScript/Express environments. It may require manual adjustment if your team uses specific architectural deviations like Fastify or TypeORM instead of Prisma.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bayudsatriyo-backend-developer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution