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

ccg-workflow

Guide substantial code changes through analysis, design, implementation, and review using CCG specialist agents. Choose a workflow suited to the task, coordinate file ownership, and run verification scripts before assessing the combined result.

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

원문원문 설명 보기

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.

설치 방법 보기

이럴 때 유용합니다

  • Developing a feature from design through review
  • Investigating a bug with an unknown cause
  • Planning and verifying a substantial refactor
  • Coordinating parallel work across separate files

포함된 파일(1)

  • SKILL.md8.9 KB

SKILL.md(원문)

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

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.

ModeForRuns
Directa one-line fix, a rename, a question you can answer by readingyou, alone
Standardan ordinary feature, a bug with a known cause, a contained refactordesign → build → review
Deepa design with real alternatives, an unclear bug, a migration, anything expensive to get wronganalyze → design → build → test → review
Teamwork that splits across files and will keep developingccg_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

PhaseToolEnds when
1. Understandccg_analyzeyou can state the constraints and the options with their trade-offs
2. Designccg_designthe interfaces and the boundaries are settled
3. Buildccg_buildthe code exists and its verify command passes
4. Verifyccg_review + the gatesfindings 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:

GateUse it after
verify-changeany change — analyses the diff and flags docs that drifted
verify-qualitya complex or refactored module — complexity, duplication, naming, length
verify-securitynew modules, auth/crypto/input handling, anything touching secrets
verify-modulea newly created module — structure and required docs
gen-docscreating 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 between options is yours. A child ranks; you pick, and you own the reason.
  • Acceptance is yours. Never let a child's "looks good" close a task. Read what came back and judge it — children are confident about work they cannot see the context of.
  • Integration is yours. Children work in isolation; nothing but you is watching how the pieces meet.
  • Contradictions are signal. When the analyzer and the reviewer disagree, that disagreement is the most valuable thing you have. Resolve it explicitly instead of averaging it away.

Running them in parallel

Independent delegations can run at once — a review of one module and tests for another have nothing to say to each other. Wait (run_in_background: false) only when your next move depends on the answer.

Do not parallelise work that writes to the same files. Two builders editing one module will produce a conflict nobody asked for; sequence those, or split the work along file boundaries first.

Running a team

ccg_team hires a role as a colleague instead of asking it a question: it stays alive across turns, takes more work through send_message, and reports back on its own. Use it when the job splits into substantial parts that do not wait on each other and will keep developing. For a single question, the role's own tool is cheaper.

Before hiring anything:

  1. Settle every shared contract. Teammates cannot see each other. Any interface two of them meet at — a signature, a schema, an event name, a file format — has to be decided and written into both briefs, or each will invent a reasonable version and neither will fit. Read the code and pin the contract down yourself; this is the step that decides whether the team works. Record it with ccg_remember as you settle it — the next session should not have to re-derive it, and neither should you after a compaction.
  2. Draw the file boundaries. Give every concurrent teammate a disjoint owns set. Two agents editing one file lose each other's work with no error. A hire that reaches into someone else's files is refused, naming the holder, so a refusal is a prompt to re-split the work — not an error to route around.
  3. Say the roster and the cost, then wait for a yes.

ccg_roster is the durable answer to "who owns what". Read it whenever you are unsure — after a compaction it is the only thing that still knows, and it is the difference between routing a fix to its owner and quietly overwriting them.

While they work, do not sleep or poll — a report wakes you by itself, so ending your turn is how you wait, and it costs nothing. Say who is working on what and stop.

As reports land: read each one, integrate it, and route what it implies. A teammate reporting a changed contract is the signal to send_message whoever depends on it. When integration turns up a fault in a file a live teammate owns, send it back to them rather than fixing it quietly — they still think they own that file, and their next assignment would overwrite you. Take a file back only by saying so.

Then verify the whole yourself: run the thing end to end, check the contract that every part was supposed to honour, and review the assembled result. No teammate can see the seam it was built against.

What to write down

ccg_remember puts one thing in .ccg/memory.md, which loads itself into every later session in this workspace. Use it the moment something is settled that would otherwise be re-argued:

KindWrite it when
decisionyou chose between real alternatives — record the reason and what you rejected, or it can only be obeyed, never revisited
contracttwo parts must agree: a signature, a schema, an event name, a file format
conventionthis project does something in a way a newcomer would guess wrong
gotchasomething looks fine and is not

Not a log of what happened. The transcript is that already, and a memory that fills with narration stops being worth loading. If you find a note is wrong or out of date, say so and fix the file — a stale note does more damage than a missing one.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

adapt

무료

Adapts existing designs for phones, tablets, desktops, print, and email. Adjusts layouts, navigation, content priorities, and touch controls to suit each context, with guidance for responsive sizing and verification across devices and input methods.

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

  • Adapting a desktop interface for mobile use
  • Adjusting tablet layouts for portrait and landscape
  • Expanding a mobile design for desktop screens
fengshao1227/ccg-workflow5.9천2026년 10월 19일 업데이트

Audit a website for Google AdSense application readiness or ongoing ad-serving issues. Check content, navigation, crawler access, and disclosures against official requirements, then receive evidence-based findings, specific fixes, and a complete checklist with unresolved questions clearly marked.

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

  • Checking a site before applying for AdSense
  • Investigating issues after an AdSense rejection
  • Reviewing policy risks on a site that already serves ads
fengshao1227/ccg-workflow5.9천2026년 10월 19일 업데이트

ai

무료

Routes AI development questions to focused references on agents, language model security, retrieval-augmented generation, which uses retrieved information in answers, and prompt design and evaluation. It also outlines principles for validation, safety boundaries, version control, and ongoing assessment.

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

  • Find guidance for agent development
  • Locate references on prompt injection defenses
  • Explore retrieval and reranking for RAG
fengshao1227/ccg-workflow5.9천2026년 10월 19일 업데이트

animate

무료

Review an interface and add purposeful motion to buttons, forms, navigation, and state changes. Plan and implement animations that clarify actions and provide feedback, while checking performance and supporting users who prefer reduced motion.

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

  • Adding visual feedback to buttons and forms
  • Smoothing menu, modal, and tab transitions
  • Planning page entrances and scroll reveals
fengshao1227/ccg-workflow5.9천2026년 10월 19일 업데이트

Find the relevant architectural guidance for API design, security, cloud infrastructure, message queues, and caching. This skill acts as an index to specialized references and lists principles for structuring software, distributed systems, and access controls.

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

  • Finding guidance for API design
  • Reviewing security architecture topics
  • Exploring containers, K8s, and Serverless
fengshao1227/ccg-workflow5.9천2026년 10월 19일 업데이트

arrange

무료

Improve interface layouts by reviewing spacing, alignment, content density, and visual hierarchy, the cues that show what matters most. Refine repetitive card grids and crowded sections into compositions with consistent spacing and responsive structure.

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

  • Adjusting spacing in a crowded interface
  • Making important content easier to spot
  • Varying repetitive card-based layouts
fengshao1227/ccg-workflow5.9천2026년 10월 19일 업데이트

fengshao1227의 스킬 모두 보기

이 스킬의 문제 신고