Skip to content
Back to skills

Add Endpoint

ASecurity

Step-by-step recipes for adding an endpoint or modifying the schema in this repo

  • 139 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 17, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add nanotaboada/python-samples-fastapi-restful --skill add-endpoint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Endpoint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Endpoint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nanotaboada-add-endpoint/badge)](https://www.skillsdirectory.com/skills/nanotaboada-add-endpoint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-endpoint
description: Step-by-step recipes for adding an endpoint or modifying the schema in this repo
---

# Endpoint and schema recipes

**Add an endpoint**: Add Pydantic model in `models/` if the request/response
shape is new → add async service method in `services/` with error handling and
rollback → add route in `routes/` with `Depends(generate_async_session)` →
add tests following the naming pattern → run pre-commit checks.

**Modify schema**: Update `schemas/player_schema.py` → run
`uv run alembic revision --autogenerate -m "description"` to generate a
migration → review and adjust the generated file in `alembic/versions/` →
run `uv run alembic upgrade head` → update `models/player_model.py` if the
API shape changes → update services and tests → run `pytest`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.