Backend Scaffold

Create a small backend project scaffold. Use when Codex needs to build or extend a simple backend, API service, worker, or Python server project with clear folders, entrypoints, tests, and minimal moving parts.

yuriyarhat-cyber Updated

File contents

Backend Scaffold

Create a backend that is small, runnable, and easy to extend.

Workflow

  1. Identify the backend type:
  • API
  • background worker
  • CLI service
  • webhook receiver
  1. Choose the smallest structure that fits:
  • entrypoint
  • core logic
  • storage or state layer
  • tests
  1. Create only the files needed for the first useful flow.
  2. Add one runnable path.
  3. Add one test path.
  4. Summarize the service contract and next backend step.

Rules

  • Prefer a thin vertical slice over broad architecture.
  • Prefer standard library or already-approved dependencies.
  • Separate app startup from business logic.
  • Make config obvious and local.
  • Avoid adding infra abstractions too early.

Minimum scaffold

Try to produce:

  • app entrypoint
  • one core module
  • one test file
  • one short usage example

Good defaults

  • Keep handlers thin.
  • Keep state mutations explicit.
  • Keep validation obvious.
  • Name modules by job, not by vague layers.

yuriyarhat-cyber/multi-agent-core/tree/main/skills/backend-scaffold commit e7fce19a90

Frequently asked questions

npx skillmds@latest add yuriyarhat-cyber/backend-scaffold