본문으로 건너뛰기
cccskills
무료GitHub에 공개

async-ops

Webhook handling and background job scheduling for backend services

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane스타 3(GitHub 3 + cccskills 0)
연동 도구Redis

실행 점수 미검증

설치 방법 보기

포함된 파일(5)

  • SKILL.md2.6 KB
  • references/anti-patterns.md600 B
  • references/checklist.md544 B
  • references/job-scheduling.md1.4 KB
  • references/outbound-webhooks.md1.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

async-ops — Webhooks & Background Job Scheduling

Stack: Fastify + Prisma + PostgreSQL + Redis + BullMQ + Zod + TypeScript.

INBOUND WEBHOOKS (Receiving)

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.

Inbound Checklist

  • Signature verified (HMAC-SHA256 or provider SDK)
  • Timestamp anti-replay (< 5 min drift)
  • Idempotency by event ID (Redis SETNX + TTL)
  • Enqueue + fast 200 — processing async
  • Structured log with event_id and trace_id
  • Secret rotation plan documented

OUTBOUND WEBHOOKS (Sending)

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

JOB SCHEDULING & QUEUES

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

SHARED PATTERNS

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).

ANTI-PATTERNS

→ Read references/anti-patterns.md for lista completa (14 items)

Checklist

→ Read references/checklist.md for checklist completo (8 items)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

SebastianLuser의 스킬 모두 보기

이 스킬의 문제 신고