ccg-workflow
하는 일
이 스킬은 분석, 설계, 구현, 디버깅, 테스트, 검토를 위한 전문 역할을 사용해 더 큰 코딩 작업을 단계별로 실행하는 방법을 설명합니다. 기능 전체, 리팩터링, 원인이 불분명한 버그를 다루는 개발자를 위한 것입니다.
사용하는 경우
- ✓작업이 기능 전체, 리팩터링, 또는 원인을 모르는 버그일 때.
- ✓변경이 커서 한 번에 시도하면 추측이 될 때.
- ✓빠른, 표준, 깊은 작업 흐름 중에서 고르고 싶을 때.
스킬 링크
https://github.com/fengshao1227/ccg-workflow/blob/main/dsh-ccg/skills/ccg-workflow/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“단계별 워크플로를 사용해서 제 결제 모듈 리팩터링을 계획하고 구현해 주세요. 시작하기 전에 비용을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 작업 규모에 따라 모드를 고르고, 그 모드가 쓰는 모델 호출 횟수를 밝힌 다음, 승인을 기다립니다. 승인 후 단계를 순서대로 실행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
CCG workflow
Seven role tools are available, each running a child agent on its own model with its own expert persona. This is how to chain them so the work converges instead of sprawling.
Skip all of this for small, obvious work. A one-line fix, a rename, a question you can answer by reading two files — do it yourself. Delegation buys depth, and it costs a round trip and a fresh context. Spend it only where depth is the thing you lack.
Picking a gear
Four modes. The user should not have to name one: read what they asked for, pick, say which you picked in a line, and — for anything past Direct — say what it costs and wait for a yes. They are paying per model call.
| Mode | For | Runs |
|---|---|---|
| Direct | a one-line fix, a rename, a question you can answer by reading | you, alone |
| Standard | an ordinary feature, a bug with a known cause, a contained refactor | design → build → review |
| Deep | a design with real alternatives, an unclear bug, a migration, anything expensive to get wrong | analyze → design → build → test → review |
| Team | work that splits across files and will keep developing | ccg_team — several specialists at once, each owning its own files |
A role holding several models answers with all of them at once, so Deep costs more than its phase count suggests — quote the real number of model calls, not the number of phases. If the user names a mode, run that one. If a phase changes what you believe, say so and re-pick rather than finishing a plan you no longer believe in.
Deep and Team are not a ranking. Deep buys certainty about one thing by asking several models about it. Team buys throughput on several things by running colleagues at once. A hard question is Deep even if it is small; a wide job is Team even if every part is easy. Something both hard and wide is Deep first — settle the design and the contracts — then Team to build it.
The loop
| Phase | Tool | Ends when |
|---|---|---|
| 1. Understand | ccg_analyze |
you can state the constraints and the options with their trade-offs |
| 2. Design | ccg_design |
the interfaces and the boundaries are settled |
| 3. Build | ccg_build |
the code exists and its verify command passes |
| 4. Verify | ccg_review + the gates |
findings are triaged and the criticals are gone |
Diagnose before you build when the cause is unknown (ccg_debug), and treat
ccg_optimize and ccg_test as phases of their own when the task is
performance or coverage rather than a feature.
Not every task needs four phases. A well-understood change is design → build → review. An investigation may be analyze → debug and stop there, with no code at all.
Writing a brief
A child sees none of this conversation. It gets your prompt and nothing else, so an under-specified brief is the main way this goes wrong. Every brief carries:
- The goal — one sentence on what the child must produce.
- The anchors — the exact files, symbols and commands it should start from. Paths, not descriptions.
- The constraints — what it must not change, the conventions to follow, the decisions already made (and by whom).
- The shape of the answer — a diff, a report, a ranked list. Say which.
Bad: "look at the auth code and improve it."
Good: "In src/auth/session.ts, the refresh path drops the CSRF token when a
retry follows a 401 (see refreshSession, lines 40-80). Diagnose the root
cause. Do not change code. Report ranked hypotheses with the minimal test that
would confirm each."
The quality gates
Bundled beside this skill, each runnable through the shell and each documenting its own arguments:
| Gate | Use it after |
|---|---|
verify-change |
any change — analyses the diff and flags docs that drifted |
verify-quality |
a complex or refactored module — complexity, duplication, naming, length |
verify-security |
new modules, auth/crypto/input handling, anything touching secrets |
verify-module |
a newly created module — structure and required docs |
gen-docs |
creating a module — scaffolds its README and DESIGN |
They are deterministic scanners, not opinions: run them before ccg_review so
the reviewer spends its turn on judgement rather than on what a script already
knows. A gate's findings are input to your decision, not a verdict — a flagged
line can still be correct.
What stays with you
Delegate the turn, never the decision.
- **Choosing betwe
자주 묻는 질문
작은 작업에도 필요한가요?
아니요. 작고 명확한 변경은 이 워크플로 없이 바로 처리해야 합니다.
모델 호출 비용을 쓰기 전에 묻나요?
네. 직접 모드를 넘는 것은 비용을 밝히고 승인을 기다립니다.
어떤 모드가 있나요?
직접, 표준, 깊게, 팀 모드가 있으며, 한 번의 수정부터 여러 전문가가 동시에 일하는 것까지 다룹니다.
상세 정보
작성자의 원본 설명
How to run a non-trivial change end to end with the CCG role tools (ccg_analyze / ccg_design / ccg_build / ccg_debug / ccg_optimize / ccg_review / ccg_test) and the verify-* quality gates. Use when a task is a whole feature, a refactor, a bug whose cause is not yet known, or any change large enough that one straight-through attempt would be a guess.
인기도
- GitHub 스타
- 6.0k
- 순위
- #14522
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
openspec-bulk-archive-change
6.0k에이전트가 완료된 여러 OpenSpec 변경을 한 번에 보관하도록 돕고, 보관 전에 각 변경의 작업과 스펙을 확인합니다.
openspec-continue-change
6.0k에이전트가 제안서, 스펙, 설계, 작업 목록 등 다음 산출물을 만들어 OpenSpec 변경을 이어 가도록 돕습니다.
openspec-ff-change
6.0k에이전트가 OpenSpec 변경의 모든 산출물을 한 번에 만들어, 단계마다 기다리지 않고 구현을 시작하게 합니다.
openspec-new-change
6.0k에이전트가 기능이나 수정을 위한 새 OpenSpec 변경을 시작해 폴더를 만들고, 다음에 쓸 산출물을 보여 줍니다.