smithery.ai

backend-core

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

First seen Apr 2, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,349 B
  • docs SUMMARY.md 155 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Backend Core Skill

Instructions

  1. Routing

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

  1. Request & Response Handling

- Validate incoming request data - Handle headers, params, body, and query - Send proper HTTP status codes and JSON responses

  1. Database Connection

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

  1. 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;