backend-new-route

Community

Easily add new backend routes and services.

Authorfreddomingues
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Este Skill oferece uma abordagem estruturada para adicionar novas rotas ou serviços no backend do Think TARS, garantindo consistência entre demos, blueprints e a arquitetura geral.

Core Features & Use Cases

  • Decidir onde colocar a nova rota: em rotas de demos (backend/routes.py) com sua lógica em backend/services.py, ou criar um novo Blueprint em backend/ para domínios diferentes.
  • Criar a função de serviço e a nova rota correspondente, com parâmetros claros e métodos HTTP adequados, retornando JSON válido.
  • Documentar o contrato e a convenção de nomenclatura em uma skill de referência (por exemplo, backend-api-demos) para facilitar o reuse entre equipes.

Quick Start

Crie uma nova rota HTTP no backend seguindo estas etapas: (1) implemente a função de serviço em backend/services.py, (2) registre a rota em backend/routes.py com o decorator @bp.route(...) e retorne JSON, (3) se necessário, crie ou use um Blueprint e registre em app/main.py, (4) documente a API em uma skill de referências.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: backend-new-route
Download link: https://github.com/freddomingues/think-tars/archive/main.zip#backend-new-route

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.