본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)42k · #6444

competition-queue-worker-drift

하는 일

이 도구는 큐에 보낸 작업이 ‘워커’(백그라운드 작업을 실행하는 프로그램)에 의해 어떻게 처리되는지 이해하도록 돕습니다. 제출부터 최종 결과까지 전체 경로를 추적하며, 특히 백그라운드 처리가 기대와 다를 때 집중합니다.

사용하는 경우

  • ✓처리를 위해 보낸 작업에 무슨 일이 일어났는지 알고 싶을 때.
  • ✓백그라운드 프로세스(워커)가 기대와 다르게 동작하는 이유를 이해하고 싶을 때.
  • ✓비동기 시스템에서 작업의 실패나 재시도를 조사하는 경우.

스킬 링크

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-queue-worker-drift/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-queue-worker-drift/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 작업이 큐에서 제출부터 최종 결과까지 어떻게 처리되는지 추적해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 전체 이벤트 체인을 매핑합니다. 작업이 어디로 보내졌는지, 어떻게 저장되었는지, 누가 처리했는지(워커), 재시도가 있었는지, 최종 영향이 무엇이었는지를 포함합니다. 정상 경로와 백그라운드 경로를 비교해 차이를 찾습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Competition Queue Worker Drift

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the decisive effect happens after enqueue, inside a worker, or only under async runtime state that differs from the request path.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Map the async chain first: enqueue point, queue payload, worker consumer, retries, and final side effect.
  2. Keep request-time state separate from worker-time state.
  3. Record queue name, message shape, worker config, retry policy, and downstream store in one chain.
  4. Compare synchronous path and async path when behavior diverges.
  5. Reproduce the smallest enqueue-to-side-effect flow that proves the decisive async drift.

Workflow

1. Map Enqueue And Worker Identity

  • Record queue names, topics, cron schedules, delayed jobs, dead-letter queues, worker processes, and consumer groups.
  • Note which config, env vars, feature flags, or credentials exist only in the worker environment.
  • Keep enqueue request, stored payload, and worker identity tied together.

2. Trace Worker-Only State And Retries

  • Show how worker runtime differs from the request path: different env, files, mounts, caches, permissions, or clocks.
  • Record retry count, backoff, dedupe keys, failure handling, dead-letter flow, and idempotency behavior.
  • Distinguish immediate request success from eventual worker success or failure.

3. Reduce To The Decisive Async Chain

  • Compress the result to the smallest sequence: enqueue -> worker runtime -> retry or branch -> resulting effect.
  • State clearly whether the decisive difference lives in payload shape, worker config, retry path, or downstream consumer.
  • If the issue is really about the file parser invoked by the worker, switch back to the tighter file-parser skill.

Read This Reference

  • Load references/queue-worker-drift.md for the queue checklist, retry checklist, and evidence packaging.

What To Preserve

  • Queue names, payloads, worker identities, retry metadata, dead-letter edges, and downstream effects
  • The exact worker-only config or state that changes behavior
  • One minimal enqueue-to-side-effect reproduction chain
자주 묻는 질문

‘워커’란 무엇인가요?

이미지 처리나 이메일 전송처럼 즉시 할 필요가 없는 작업을 백그라운드에서 실행하는 프로그램입니다.

‘비동기 처리’는 무엇을 뜻하나요?

작업을 보내고, 즉시 결과를 기다리지 않고 시스템이 다른 일을 계속한다는 뜻입니다. 결과는 나중에 백그라운드에서 나옵니다.

‘큐’란 무엇인가요?

작업이 처리되기를 기다리며 놓이는 곳입니다. 은행 대기줄처럼, 작업은 도착한 순서대로 처리됩니다.

상세 정보

작성자의 원본 설명

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for queues, async workers, cron jobs, delayed tasks, retry behavior, worker-only config drift, and payload-to-side-effect chains. Use when the user asks to trace a queue payload, inspect async job execution, explain worker-only behavior, follow retries or dead-letter handling, or connect an enqueued item to a later file,

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6444
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬