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

charted-loop

Runs Charted Coding iterations in a loop — route via charted-continue, batch red or green work for an entire test file, commit, then repeat until the PR is complete. Infers design doc and PR number when omitted. Use when the user invokes charted loop, wants batch TDD for a PR test file, or asks to continue charted work with commits.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.9 KB

SKILL.md(원문)

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

Context

  • designDocPath: $ARGUMENTS[0] (optional)
  • prNumber: $ARGUMENTS[1] (optional)

Goal

Run Charted Coding iterations until the PR is complete: route via charted-continue, batch work for the current test file, commit, then immediately start the next iteration — without waiting for the user to invoke /charted-loop again.

Steps

1. Route via charted-continue

Read and follow the charted-continue skill with ${designDocPath} and ${prNumber} when provided — but do not invoke charted-red or charted-green yet.

Omit missing arguments; charted-continue resolves ${designDocPath} and ${prNumber} in its step 0.

Use the resolved values from charted-continue for the rest of this skill.

Stop early if charted-continue reports the PR is complete.

Record the route:

charted-continue routeAction in step 2
charted-scaffoldScaffold batch
charted-redRed batch
charted-greenGreen batch

Also record testFilePath from charted-continue step 4 when routing to red or green.

2. Batch work

Scaffold batch

Read and follow the charted-scaffold skill with ${designDocPath} and ${prNumber}.

Red batch

Read and follow the charted-red skill with ${designDocPath} and ${testFilePath}, but apply it to all unimplemented todos in ${testFilePath} in one pass — not just the next one.

Green batch

Read and follow the charted-green skill with ${designDocPath} and ${testFilePath}, but activate and green all implemented tests in ${testFilePath} in one pass — not one at a time.

3. Commit

Commit only when there are changes. Read the commit skill for scope rules.

Use these Charted loop prefixes (they override the default commit-skill emojis for this workflow):

ChangeCommit prefix
Design doc progress onlydocs({scope}): 📝 ...
Scaffold (WIP files/stubs)refactor({scope}): 🏗️ ...
Red (test bodies written, still it.todo)test({scope}): 🛑 ...
Green (implementation to pass tests, no new wired behavior)refactor({scope}): ✅ ...
Green (new wired behavior — e.g. wiring, exports, feature flags on)feat({scope}): ✨ ...

When a green batch touches both production code and the design doc, create two commits in this order:

  1. Production/test changes — refactor or feat as above
  2. Design doc checkbox updates — docs({scope}): 📝 ...

When unsure whether green work is refactor or feat, use refactor unless the change is live, user-visible behavior.

Commit workflow

  1. Run git status, git diff, and git log -1 --oneline in parallel.
  2. Stage only files for this iteration.
  3. Commit with a HEREDOC message.
  4. Run git status to confirm a clean commit.

Do not push unless the user asks.

4. Loop

After step 3 finishes (commit succeeded, or there were no changes to commit), go back to step 1 with the same resolved ${designDocPath} and ${prNumber}.

Keep looping until step 1 reports the PR is complete. Do not tell the user to run /charted-loop again — that is this skill's job.

When the PR is complete, report a short summary of iterations run and commits made.

Rules

  • One route per iteration — never scaffold, red, and green in the same iteration.
  • Do not skip ahead to a later test file while an earlier pending test in the PR order is unfinished.
  • Do not stop after a single iteration while the PR still has pending work.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Continues Charted Coding work for a PR by routing to scaffold, red, or green based on design doc progress. Use when resuming work on a PR, continuing TDD after a break, or when the user invokes charted continue with a design doc and PR number.

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

testmex/testmex42026년 7월 23일 업데이트

Interviews the user section by section to collaboratively produce design documents. Use when creating a design doc, starting feature design, or when the user invokes the design command.

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

testmex/testmex42026년 7월 23일 업데이트

Progressively activates todo tests one at a time, updates implementation code until each passes (verified via Wallaby), checks off matching design doc progress, then moves to the next—following the design doc as the single source of truth.

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

testmex/testmex42026년 7월 23일 업데이트

Writes the next failing test based on provided design doc and existing todo tests

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

testmex/testmex42026년 7월 23일 업데이트

Reviews a design doc with expert sub-agents

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

testmex/testmex42026년 7월 23일 업데이트

Writes work-in-progress code and tests based on design doc

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

testmex/testmex42026년 7월 23일 업데이트

testmex의 스킬 모두 보기

이 스킬의 문제 신고