Back to list
subhankaladi

backend-core

by subhankaladi

2🍴 1📅 Jan 24, 2026

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

// 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;

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon