notificaciones-tiempo-real
Builds a scalable, decoupled notification system for FastAPI applications using event buses and WebSockets.
Install
mkdir -p .claude/skills/notificaciones-tiempo-real && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17983" && unzip -o skill.zip -d .claude/skills/notificaciones-tiempo-real && rm skill.zipInstalls to .claude/skills/notificaciones-tiempo-real
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Implementa notificaciones en tiempo real en FastAPI mediante WebSockets o arquitectura basada en eventos para usuarios y talleres con eventos de nuevo incidente, asignacion y cambio de estado.Key capabilities
- →Implement real-time notifications in FastAPI.
- →Define event contracts for versioning and compatibility.
- →Manage WebSocket connections per user or workshop.
- →Broadcast notifications selectively to specific audiences.
- →Integrate event publishing with business modules.
How it works
The skill establishes an event-driven architecture where business modules publish events. A NotificationService orchestrates these events, using a WebSocketConnectionManager to broadcast them in real-time to connected users or workshops.
Inputs & outputs
When to use notificaciones-tiempo-real
- →Implement real-time updates
- →Connect websocket notifications
- →Build event-driven notifications
- →Notify users of state changes
About this skill
Notificaciones en Tiempo Real
Resultado
Implementa un sistema de notificaciones desacoplado y escalable para usuarios y talleres.
Cuando usar
- Se requiere feedback inmediato al cliente
- Existen eventos operativos criticos del negocio
- Se necesita arquitectura extensible para nuevos eventos
Eventos minimos
- nuevo_incidente
- incidente_asignado
- incidente_estado_actualizado
Procedimiento
- Definir contrato de evento
- EventEnvelope con id, type, timestamp, actor, payload
- Versionado de eventos para compatibilidad futura
- Definir infraestructura desacoplada
- EventPublisher (interfaz)
- EventSubscriber (interfaz)
- NotificationService como orquestador
- Implementar canal en tiempo real
- WebSocketConnectionManager por usuario/taller
- Mapeo de conexiones activas por canal
- Broadcast selectivo por audiencia
- Integrar emision con modulos de negocio
- Publicar eventos desde incidents y assignment
- Evitar enviar notificaciones directamente desde routers
- Entrega y resiliencia
- Confirmacion de envio cuando aplique
- Cola temporal o persistencia de pendientes para offline
- Reintentos acotados con backoff
- Seguridad
- Autenticacion de conexiones WebSocket
- Autorizacion por rol y pertenencia
- Validacion del payload de eventos
- Testing
- Unit tests del NotificationService
- Integration tests de flujo evento -> socket
- Tests de concurrencia y desconexion/reconexion
Logica de decision
- Si usuario esta conectado: push inmediato por WebSocket.
- Si usuario no esta conectado: persistir pendiente para entrega diferida.
- Si evento no autorizado para audiencia: bloquear y auditar.
Criterios de calidad
- Arquitectura por eventos desacoplada del transporte
- Soporte de escalamiento horizontal
- Eventos trazables con identificador unico
- Cobertura de pruebas de caminos criticos
Formato de salida esperado
- Componentes de eventos + WebSocket manager
- Flujo de publicacion y consumo desacoplado
- Soporte para usuarios y talleres
- Endpoints o hooks necesarios para operacion
When not to use it
- →When immediate client feedback is not required.
- →When there are no critical business operational events.
- →When an extensible architecture for new events is not needed.
Limitations
- →The skill focuses on FastAPI for implementation.
- →Offline delivery requires persisting pending notifications.
- →Security measures like authentication and authorization are part of the implementation.
How it compares
This skill provides a structured, decoupled, and scalable approach to real-time notifications in FastAPI, handling event contracts, selective broadcasting, and resilience, which is more reliable than direct, tightly coupled notification imple
Compared to similar skills
notificaciones-tiempo-real side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| notificaciones-tiempo-real (this skill) | 0 | 3mo | No flags | Advanced |
| fastapi-templates | 520 | 2mo | No flags | Intermediate |
| fastapi-pro | 79 | 3mo | No flags | Advanced |
| fastapi-router-py | 5 | 12d | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
fastapi-pro
sickn33
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.
fastapi-router-py
microsoft
Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.
pydantic-models-py
microsoft
Create Pydantic models following the multi-model pattern with Base, Create, Update, Response, and InDB variants. Use when defining API request/response schemas, database models, or data validation in Python applications using Pydantic v2.
backend-architect
sickn33
Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and observability. Use PROACTIVELY when creating new backend services or APIs.
supabase-python
alinaqi
FastAPI with Supabase and SQLAlchemy/SQLModel