Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
coleam00 avatar

Api Add Route

  • 1 installs
  • 108 repo stars
  • Updated May 20, 2026
  • coleam00/helpline

Adds or changes an HTTP route under services/api following Helpline's gateway conventions: handler, validation, repo call, registration, and test.

About

Walks the exact steps for adding a Helpline API route: write a (request)->dict handler, validate inputs, delegate business logic to a repo, register in routes.py, and add a test. A developer uses it when adding an API route in services/api.

  • Handlers orchestrate only; business logic lives in repos
  • Unregistered routes do not exist; a test is required

Api Add Route by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #3,818 of 4,348 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/coleam00/helpline --skill api-add-route

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars108
Last updatedMay 20, 2026
Repositorycoleam00/helpline

What it does

Adds or changes an HTTP route under services/api following Helpline's gateway conventions: handler, validation, repo call, registration, and test.

Files

SKILL.mdMarkdownGitHub ↗

Adding an API route

Activates for work in services/api. Follow these steps in order.

1. Write the handler in the matching module (tickets.py for ticket routes, a new module for a new noun). Signature is (request: dict) -> dict. 2. Validate inputs first. Missing/!bad input raises ValidationError — never return an error dict by hand. 3. Do no business logic here. Call a repo (packages/db) or another service. The handler only orchestrates and shapes the response. 4. Register the route in routes.py inside build_app()app.route("METHOD /path", handler). A route not registered there does not exist. 5. Add a test in tests/ that builds the app and dispatches the route.

Full checklist with a worked example: references/route-checklist.md.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.