Agent skill
backend-skill
Build backend application logic including route generation, request/response handling, and database connectivity. Use for server-side development.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/backend-skill
SKILL.md
Backend Skill – API Routes & Data Handling
Instructions
-
Route Generation
- Define clear and consistent API routes
- Follow RESTful conventions
- Organize routes by domain or feature
-
Request & Response Handling
- Validate incoming requests
- Structure consistent response formats
- Handle errors and edge cases safely
-
Database Connection
- Connect to databases using reliable drivers or ORMs
- Manage transactions properly
- Handle connection lifecycle and pooling
-
Business Logic
- Separate business logic from routing
- Keep handlers small and readable
- Reuse shared services and utilities
Best Practices
- Use clear naming conventions
- Validate all inputs and outputs
- Keep routes thin and logic modular
- Handle errors consistently
- Follow backend framework best practices
Example Structure
app.post("/users", async (req, res) => {
const user = await db.user.create(req.body);
res.status(201).json(user);
});
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?