ab-test-setup
FreePlan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
The English summary is being prepared. Showing the original description.
Webhook handling and background job scheduling for backend services
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Stack: Fastify + Prisma + PostgreSQL + Redis + BullMQ + Zod + TypeScript.
Flow: receive -> verify signature -> deduplicate -> enqueue -> respond 200 (< 2s). All processing async via queue.
Signature: use provider SDK when available. Custom: HMAC-SHA256 over timestamp.body. Require raw body access (verify before parsing). Always include timestamp in signed material.
Anti-replay: reject if timestamp differs from server time by > 5 minutes.
Idempotency: Redis SETNX with event ID as key, 7-day TTL. If exists, return 200 already_processed.
Transactional outbox pattern + HMAC signature + exponential backoff retry + DLQ.
→ Read references/outbound-webhooks.md for outbox pattern, payload format, retry schedule, subscriber management y SSRF prevention
BullMQ + Redis default. Queues separated by criticality. Jobs idempotent with timeout.
→ Read references/job-scheduling.md for queue technology selection, job design principles, retry, scheduling, concurrency y graceful shutdown
Idempotency: unique event/job ID as dedup key (Redis SETNX or BullMQ jobId). Pass idempotency keys to external providers. Check entity state before side effects.
Dead Letter Handling: store in DLQ table / BullMQ failed set. Alert on growth. Dashboard for inspection + replay. 30-day retention. Auto-disable sustained failures.
Observability: metrics for webhook_{inbound,outbound}_total, webhook_{outbox_pending,dlq_depth}, job_{enqueued,completed}_total, job_duration_seconds, queue_depth{state}. Propagate traceId in payloads. Structured logs with event_id, job_id, queue.
Alerts: rising queue/outbox depth (throughput insufficient), DLQ growth > N/min (systemic), subscriber failure > 5% (endpoint down), failed jobs/min > threshold (page on-call).
→ Read references/anti-patterns.md for lista completa (14 items)
→ Read references/checklist.md for checklist completo (8 items)
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
The English summary is being prepared. Showing the original description.
Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.
The English summary is being prepared. Showing the original description.
Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.
The English summary is being prepared. Showing the original description.
Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.
The English summary is being prepared. Showing the original description.
Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.
The English summary is being prepared. Showing the original description.
Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.
The English summary is being prepared. Showing the original description.