Communitygithub.com

병렬 실행 최적화기

사용자가 병렬 작업, 동시 에이전트, 배치 도구 호출, 격리된 작업 트리 또는 여러 독립 검증 경로를 통해 작업을 훨씬 빠르게 완료하면서 정확성을 유지하려는 경우 사용합니다.

병렬 실행 최적화기란 무엇인가요?

이 스킬은 독립적이고 동시에 수행할 수 있는 작업들을 식별하고 실행하여 전체 작업 속도를 크게 향상시키는 방법을 제공합니다. 단순히 속도를 높이는 것을 넘어, 정확성을 잃지 않으면서 병렬 처리를 최적화하는 데 초점을 맞춥니다. 리포지토리 검사, 파일 읽기, API 확인, 브라우저 검사, 빌드/테스트 작업, 배포 확인, 다중 작업 트리 구현과 같은 다양한 시나리오에서 활용할 수 있습니다. 이 스킬은 작업을 '레이너스(lanes)'로 분할하고 각 레인의 종속성과 쓰기 충돌을 분석하여 안전하게 병렬 실행할 수 있는 방법을 제시합니다. 결과적으로 사용자에게 병렬 실행 계획과 검증 결과를 명확하게 보고하여, 단순한 속도 주장이 아닌 체계적인 증거 기반의 효율성 향상을 보장합니다. 주로 Claude Code, Cursor, Codex와 같은 AI 에이전트 플랫폼에서 사용되도록 설계되었으며, SKILL.md 문서에 자세한 사용법과 규칙이 설명되어 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/parallel-execution-optimizer

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

병렬 실행 최적화기은(는) 무엇을 하나요?

이 스킬은 독립적인 작업을 동시에 수행하여 속도를 높여야 할 때 사용합니다: 리포지토리 검사, 파일 읽기, API 확인, 브라우저 확인, 빌드/테스트 작업, 배포 확인, 다중 작업 트리 구현 등.

핵심 패턴

행동하기 전에 긴급성을 의존성 그래프로 전환하세요.

  1. 목표와 완료 신호를 정의합니다.
  2. 작업을 레인(lanes)으로 분할합니다.
  3. 각 레인을 병렬, 순차 또는 게이트 필요로 표시합니다.
  4. 독립적인 읽기/확인을 함께 실행합니다.
  5. 쓰기는 파일, 작업 트리, 브랜치, 서비스 또는 데이터셋별로 격리합니다.
  6. 증거가 레인들이 호환 가능함을 보여준 후에만 병합합니다.
  7. 막연한 속도 주장이 아닌, 검증 테이블로 마무리합니다.

레인 매트릭스

대규모 작업을 시작하기 전에 간결한 매트릭스를 작성하세요:

레인 | 병렬 실행 가능? | 쓰기 영역 | 위험 | 검증
리포지토리 검사 | 예 | 없음 | 낮음 | rg/git status 출력
백엔드 패치 | 아마도 | src/api | 중간 | 단위 테스트
프론트엔드 패치 | 아마도 | app/components | 중간 | 브라우저 스크린샷
배포 확인 | 빌드 후 | 원격 서비스 | 높음 | 라이브 URL + 로그

쓰기 영역이 충돌하지 않을 때만 레인을 병렬로 실행하세요.

실행 규칙

  • 파일 읽기, 검색, 상태 확인 및 메타데이터 쿼리는 배치 처리합니다.
  • 크고 관련 없는 구현 레인에는 격리된 작업 트리를 사용합니다.
  • 장기 실행되는 테스트, 빌드, 백필, 배포는 별도 세션에서 시작한 후 의도적으로 폴링합니다.
  • 레인이 계획을 변경하는 차단 요소를 발견하면, 의존하는 레인을 일시 중지하고 매트릭스를 업데이트합니다.
  • 사용자가 명시적으로 지속 서비스를 요청하지 않은 한, 백그라운드 프로세스가 턴을 넘어 지속되지 않도록 합니다.
  • 명시적인 게이트 없이 파괴적인 명령, 마이그레이션, 동일 테이블에 대한 쓰기 또는 라이브 고객에게 영향을 미치는 배포는 병렬화하지 않습니다.

출력 형식

보고할 때 다음 형식을 사용하세요:

병렬 실행 결과:
- 실행된 레인: 5
- 완료된 레인: 4
- 차단된 레인: 배포 확인, DNS 전파 대기 중
- 빠른 경로 찾음: 배치 리포지토리 검사 + 집중 테스트
- 검증: 린트 통과, 단위 테스트 통과, 라이브 스모크 테스트 통과

실패 모드

  • 충돌하는 편집을 생성하는 과도한 동시성.
  • 작업 대신 도구를 벤치마킹하는 것.
  • 정확성이 입증되기 전에 '빠름'을 완료로 간주하는 것.
  • 실행 중인 세션을 폴링하는 것을 잊는 것.
  • 건너뛴 검사를 성공 요약 뒤에 숨기는 것.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

관련 스킬