ce-optimize
하는 일
이 스킬은 시스템의 특정 부분에 대해 측정 기반 최적화 루프를 실행합니다. 지표를 개선하고 싶고 각 변경이 도움이 된다는 증명이 필요한 개발자를 위한 스킬입니다.
사용하는 경우
- ✓작동 중인 시스템의 속도나 비용을 개선해야 하지만 최선의 변경을 아직 모를 때.
- ✓작업 부하의 비용이 대부분 어디서 나오는지 찾고 싶을 때.
- ✓여러 변형을 점수로 평가하고 우승한 것만 남기고 싶을 때.
스킬 링크
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-optimize/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“보고서 내보내기가 느린 이유를 찾고, 실제로 속도를 높이는 변경을 시도해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 먼저 작업 부하의 비용을 분해하고, 격리된 실험에서 변형을 테스트합니다. 측정 결과가 나은 변경은 남기고 나머지는 되돌리며, 결과를 별도의 브랜치에 기록합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Optimize a measurable target
Outcome: confirmed improvements to the named target live on an optimize/<spec-name> branch, with a disk log. The user takes over at wrap-up.
Intent: the next action is the cheapest step that would change what gets implemented. Attribute the cost of a named workload before searching implementations. Search and keep a scored variant space without requiring a profile.
Done when: a stopping criterion was met, every declared required target is met or another stop was met first, the final state is written and verified on disk, and the user has been given the post-completion options. If the run instead stopped at a check it could not pass, say what blocked it.
Invoking this skill authorizes reading the repo, building the harness, and (after the Phase 1 approval gate) isolated experiments and keep/revert commits on optimize/<spec-name>. Ask when spend is uncapped, when a new dependency appears, when wrap-up would push or open a PR, or when only the user can choose among the post-completion options. Do not ask again to run the next experiment inside those limits.
Independent calls and dispatches go in one response; serialize only real dependencies.
Report findings, user decisions, blockers, and results. During longer work, give occasional updates on what was learned and what remains. Routine preparation and phase or batch transitions need no announcement. Keep accounting in the log and final recap unless it affects a current decision.
Explain the target, evidence, and decision in ordinary task language. Workflow labels (such as 'harness') belong in artifacts unless the user asks about those mechanics. State unknown duration or cost as unknown; caps are limits, not forecasts.
A step is done only after it ran. Describing a measurement, dispatch, or checkpoint is not doing it. Do not end a turn while in-scope work remains merely described. Outstanding work may outlive the turn only with a verified checkpoint and either bounded automatic resumption or an explicit manual-resume handback, as references/persistence.md defines.
Interaction Method
Use the host's blocking question tool already in the current tool list (match by capability, not by a host-specific name). Presence in the current tool list is proof the tool exists; never call a user-facing question tool to discover whether it exists. If a matching tool is listed but unloaded, use the host's tool-discovery primitive to load that capability: do not search for another host's tool name. Fall back to numbered options on the host's chat surface only when no such tool is in the list or a real question call errors. Never skip the question silently.
Execution Surface
Three capabilities decide where run state lives, how the loop waits, and where experiments run. A durable state root is a writable location the harness names that persists across turns and context resets, outside the repo checkout; without one, state lives under .context/compound-engineering/ce-optimize/<spec-name>/. A wake after turn end is a way to be re-invoked by an external event or timer without holding a tool call open; without one, the loop runs inside this session, and a wait it cannot hold ends the turn as a checkpoint with a resume invocation. A detached worker is a dispatch whose result arrives as a pushed ref, a store file, or a host-delivered message, not as edits in the local tree; execution.backend: remote needs one; without one that spec runs on worktree. Presence in the current tool list, or in context the harness gave you, is proof; a missing binary or environment variable proves nothing. Take a fallback without asking.
Artifact Root
<!-- ce-docs-root:start -->Resolve the CE artifact root <root> before composing any artifact path.
- Read
docs_rootfrom<repo-root>/.compound-engineering/config.yamlonly (<repo-root>=git rev-parse --show-toplevel). Do not read it fromconfig.local.yaml. Unset -><root>isdocs, exactly as before. - Validate a set value: a repo-relative directory whose real, symlink-resolved path stays inside the repo and is neither the repo root nor under
.git/. Otherwise stop with an error namingdocs_rootand the value -- never fall back todocs. - Use
<root>as the sole artifact location: create it if absent, compose each path as<root>/<subdir>with this skill's own subdirectory, and never also readdocs.
Persistence
자주 묻는 질문
메인 브랜치를 바꾸나요?
아니요. 실험과 남긴 변경은 별도의 optimize 브랜치에 저장됩니다.
돈을 쓰기 전에 물어보나요?
네. 비용 상한이 없거나 새 의존성이 생기면 질문합니다.
버그를 찾는 용도인가요?
아니요. 디버깅은 다른 작업이며, 이 스킬은 측정 기반 개선을 위한 것입니다.
상세 정보
작성자의 원본 설명
Optimize a named target with a measured loop: attribute a workload's cost, or score variants and keep winners. Use when a working system's metric should move and the winning change is not already known. Use ce-debug when the job is diagnosis; use ce-work when the change is already known.
인기도
- GitHub 스타
- 26k
- 순위
- #10034
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ce-babysit-pr
26k에이전트가 리뷰 댓글, 실패한 검사, 오래된 브랜치를 시간에 걸쳐 처리하며 열린 GitHub 풀 리퀘스트가 병합 상태로 나아가도록 돕습니다.
ce-bakeoff
26k에이전트가 한 문제에 대해 여러 경쟁 해결책을 만들고 비교한 뒤, 가장 강한 부분을 합쳐 하나의 추천 방식으로 정리하도록 돕습니다.
ce-brainstorm
26k에이전트가 막연한 아이디어를 짧은 안내 대화를 거쳐, 작업을 시작하기 전에 명확하고 알맞은 크기의 요구 사항으로 바꾸도록 돕습니다.
ce-code-review
26k에이전트가 지정된 코드 변경이나 풀 리퀘스트를 버그, 회귀, 누락된 테스트, 표준 문제 측면에서 검토하고, 명확한 발견 사항을 보고하도록 돕습니다.