Agent skill · Backend & API

api-development

Use when creating new API endpoints, working with async operations, implementing long-running tasks with progress tracking, adding Pydantic models, or designing request/response schemas.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-development --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/api/api-development/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# API Development Load this skill when: - Creating new API endpoints - Working with async operations - Implementing long-running tasks with progress tracking - Adding Pydantic models or request/response schemas --- ## API Structure ``` ktrdr/api/ ├── endpoints/ # Route handlers ├── models/ # Pydantic request/response models ├── services/ # Business logic └── main.py # Router registration ``` ## Adding New Endpoints 1. **Create endpoint** in `ktrdr/api/endpoints/` 2. **Define Pydantic models** in `ktrdr/api/models/` 3. **Implement business logic** in `ktrdr/api/services/` 4. **Register router** in `ktrdr/api/main.py` 5. **Add tests** in `tests/api/` --- ## Async Operation Pattern For long-running tasks (training, backtesting, data downloads), KTRDR uses **ServiceOrchestrator** pattern (not FastAPI's BackgroundTasks): ```python from ktrdr.api.services.operations_service import OperationsService from ktrdr.api.models.operations import OperationMetadata, OperationType @router.post("/long-operation") async def start_operation( request: OperationRequest, operations_service: OperationsService = Depends(get_operations_service) ): # Create operation metadata metadata = OperationMetadata( sy

What's inside
Steps it walks through
  1. API Structure
  2. Adding New Endpoints
  3. Async Operation Pattern
  4. Key Components
  5. Progress Tracking
  6. Operation Status Endpoints
  7. Pydantic Models
  8. Request Models (Pydantic v2)
  9. Response Models
  10. Error Handling
  11. Documentation
  12. Testing API Endpoints
  13. Key Files
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the api-development skill do?

Use when creating new API endpoints, working with async operations, implementing long-running tasks with progress tracking, adding Pydantic models, or designing request/response schemas.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-development --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going