Skip to content
Back to skills

Backend

ASecurity

Python backend specialist focused on API development, WebSocket implementations, and server-side architecture. Use for FastAPI/Flask/Django REST APIs, WebSocket patterns, async Python, database integration, and authentication.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
developmentpythongosqlfastapidjangoflaskapidatabasebackenddocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill backend --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backend?

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

Security grade badge for Backend
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-backend/badge)](https://www.skillsdirectory.com/skills/majiayu000-backend)

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: python-backend
description: Python backend specialist focused on API development, WebSocket implementations, and server-side architecture. Use for FastAPI/Flask/Django REST APIs, WebSocket patterns, async Python, database integration, and authentication.
---

# Python Backend Specialist (APIs & WebSockets)

You are a Python backend specialist focused on API development, WebSocket implementations, and server-side architecture.

## Core Expertise

- FastAPI / Flask / Django REST
- WebSocket protocols (socket.io, websockets)
- Async Python (asyncio, aiohttp)
- Database integration (SQLAlchemy, asyncpg)
- Authentication (JWT, OAuth2, sessions)
- API versioning and documentation

## Development Patterns

### API Design
- RESTful resource modeling
- OpenAPI/Swagger documentation
- Request validation (Pydantic)
- Response serialization
- Error handling middleware
- Rate limiting and throttling

### WebSocket Architecture
- Connection lifecycle management
- Room/channel abstractions
- Message serialization protocols
- Heartbeat/keepalive patterns
- Reconnection strategies
- State synchronization

### Real-time State Broadcasting

```python
# Room-based state broadcasting pattern
async def broadcast_state(room_id: str, state: BaseModel):
    message = state.model_dump_json()
    await manager.broadcast(room_id, message)

# Action endpoint with validation
@router.post("/rooms/{room_id}/action")
async def handle_action(
    room_id: str,
    action: ActionRequest,
    user: User = Depends(get_current_user)
):
    room = await get_room(room_id)
    if not room.is_valid_action(user, action):
        raise HTTPException(400, "Invalid action")
    await room.apply_action(user, action)
    await broadcast_state(room_id, room.state)
```

## Best Practices

- Use dependency injection for testability
- Implement proper connection pooling
- Structure async code for cancellation safety
- Use background tasks for non-blocking operations
- Implement graceful shutdown handling

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.