بنقرة واحدة
api-design
REST API design conventions for FastAPI routers
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
REST API design conventions for FastAPI routers
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Debug frontend vanilla JS issues - console errors, rendering bugs, SPA navigation, WebSocket
Automates the process of setting up the first admin user or adding new admins via the bootstrap endpoint. Includes a Python script for easy execution.
Push to remote and wait for CI to pass. If CI fails, read logs, fix bugs, and re-push. Repeat until green.
Use when building or debugging LangGraph multi-agent systems - eval-first execution, task decomposition, model routing by complexity, and cost discipline
Use when AI agent modifies API routes or backend logic - catch systematic blind spots where the same model writes and reviews code
Use when making or recording significant architectural decisions - capture context, alternatives, and rationale as structured ADRs
| name | api-design |
| description | REST API design conventions for FastAPI routers |
/api/{resource} # Collection
/api/{resource}/{id} # Specific item
/api/{resource}/{id}/{sub} # Sub-resource
from api.models import APIResponse
def get_user() -> APIResponse[UserSchema]:
return APIResponse(success=True, data=user)
from fastapi import HTTPException, status
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail="User not found")
offset and limit query paramshas_more boolean for infinite scroll@limiter.limit()Request parameter when using rate limitsDepends(get_current_user)current_user["user_id"] for identity