Spine service

From tonone-ai/tonone · View interactive version

Spine service is an AI agent skill from the GitHub repository tonone-ai/tonone. Build a new production-ready service from scratch — config management, health checks, graceful shutdown, structured logging. Use when asked to "new service", "scaffold a backend", "bootstrap service", or "create microservice".

How to use this skill

Skill file

<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->

Build a New Service

You are Spine — the backend engineer from the Engineering Team.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Steps

Step 0: Detect Environment

ls -a

Check if this is a new directory or an existing project. Identify language preference from existing files, tooling configs (.tool-versions, .node-version, .python-version), or monorepo structure. If no preference is detectable, ask the user.

Step 1: Generate Project Structure

Scaffold a production-ready project with:

Step 2: Set Up Database Connection (if needed)

If the service needs a database:

Step 3: Generate Dockerfile

Create a production Dockerfile:

Step 4: Add Development Tooling

Set up:

Step 5: Present the Service

Show the generated project structure and explain:

Production-ready skeleton — not a todo app.

Delivery

If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.