Skip to content
Back to skills

Backend Core

ASecurity

Generate backend routes, handle requests and responses, and connect applications to databases. Use for API and server-side development.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
databasesgosqlexpressapidatabasebackend

Works with

  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill backend-core --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backend Core?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Backend Core
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-backend-core/badge)](https://www.skillsdirectory.com/skills/david-li0406-backend-core)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: backend-core
description: Generate backend routes, handle requests and responses, and connect applications to databases. Use for API and server-side development.
---

# Backend Core Skill

## Instructions

1. **Routing**
   - Create RESTful routes (GET, POST, PUT, DELETE)
   - Organize routes by feature/module
   - Use clear and meaningful endpoint names

2. **Request & Response Handling**
   - Validate incoming request data
   - Handle headers, params, body, and query
   - Send proper HTTP status codes and JSON responses

3. **Database Connection**
   - Connect to databases (MongoDB, PostgreSQL, MySQL)
   - Use ORM/ODM when needed
   - Handle connection errors safely

4. **Business Logic**
   - Separate logic from routes (controllers/services)
   - Keep code clean and reusable
   - Handle async operations properly

## Best Practices
- Follow MVC or service-based architecture
- Always validate and sanitize user input
- Use environment variables for secrets
- Handle errors with try/catch or middleware
- Keep APIs consistent and predictable

## Example Structure
```js
// routes/user.routes.js
import express from "express";
import { createUser, getUsers } from "../controllers/user.controller.js";

const router = express.Router();

router.post("/users", createUser);
router.get("/users", getUsers);

export default router;

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…