agentleFS
park-jongbeompark-jongbeom/patrick-work-harness/skills/gate-c/SKILL.md

gate-c

Skill1 starsChanged 2 months agoMITView on GitHub

Code implementation after Gate B completion. Use on '구현', 'Gate C 시작', 'Gate C 진행', '계획대로 구현', etc.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow the file list·change direction·execution order approved at Gate A verbatim

    line 10
  2. Distinctive:

    No additional changes·refactoring·comment cleanup beyond the plan

    line 11
  3. Distinctive:

    After implementation, summarize the result as text output — include the items below:

    line 14
  4. Distinctive:

    No listing diffs without reasons — Gate D cannot trace change intent otherwise.

    line 19
  5. Very specific:

    If TEST_PLAN.md exists at the target repo root:

    line 24
  6. Very specific:

    Leave ## Verification Checklist marker (<!-- Gate D에서 채워짐 -->) untouched — Gate D fills it.

    line 26
  7. Very specific:

    Update DOC_INDEX.md: change TEST_PLAN.md row Status → Partial.

    line 27
  8. Very specific:

    If TEST_PLAN.md does not exist: skip silently.

    line 28
  9. Very specific:

    If API_SPEC.md exists and this session changed an endpoint contract:

    line 30
  10. Very specific:

    Update DOC_INDEX.md: API_SPEC.md row Status → Partial (or Complete if every endpoint this session touches is now documented)

    line 32
  11. Very specific:

    Update the plan document(s) (status: C (확인 대기), write the Gate C block) — run the file-editing tool

    line 42
  12. Distinctive:

    STOP — await user document review·confirmation

    line 48
  13. Distinctive:

    After completing the entire Gate C procedure (code implementation + plan document(s) update), output the block below at the very end of the …

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Gate C Procedure (follow order strictly)

  1. Based on the Gate A detailed plan, implement the code
    • Follow the file list·change direction·execution order approved at Gate A verbatim
    • No additional changes·refactoring·comment cleanup beyond the plan
    • Ladder check (R-4-6): if an abstraction·helper not in the Gate A plan emerges mid-implementation, it is a ladder rung-1 violation — stop and apply the rung at the actual call site, or escalate per the Advisor rule below. (Restates the Exceeding change scope prohibition as a ladder check — no new rule.)
  2. After implementation, summarize the result as text output — include the items below:
    • The actual changed-file list (state the reason if it differs from the Gate A plan)
    • Per-file key implementation summary (design decisions·core before→after difference)
    • Differences from the Gate A plan and their reasons (if none, "계획 그대로 구현")
    • ReAct deliverable guard (R-3): For each changed file, output one pair of 「Reasoning(왜 이 변경) → Action(실제 diff 요약)」. No listing diffs without reasons — Gate D cannot trace change intent otherwise. Compress each pair to within 3 lines (no verbose reasoning).

Layer 2 document update (if --docs=full was used at /init)

If TEST_PLAN.md exists at the target repo root:

  • Fill ## Test Cases section: list happy/edge/error cases per changed unit (per /init Step 10-b table format)
  • Leave ## Verification Checklist marker (<!-- Gate D에서 채워짐 -->) untouched — Gate D fills it.
  • Update DOC_INDEX.md: change TEST_PLAN.md row Status → Partial.
  • If TEST_PLAN.md does not exist: skip silently.

If API_SPEC.md exists and this session changed an endpoint contract:

  • Fill ## Endpoints and ## Request / Response Shapes for the changed endpoints only
  • Update DOC_INDEX.md: API_SPEC.md row Status → Partial (or Complete if every endpoint this session touches is now documented)
  • No API change → leave it untouched and say so in one line. A skeleton that stays a skeleton is the correct outcome for a session with no endpoint work; do not invent contracts to fill it.

Added 2026-09-24 (HARNESS-DOC-GATE-SCHEME-2). /init has always assigned API_SPEC.md to a gate, but no gate skill actually wrote it — the assignment pointed at Gate B, which is the comprehension gate under the current scheme. Endpoint contracts are produced while implementing, so the work belongs here.

  1. Update the plan document(s) (status: C (확인 대기), write the Gate C block) — run the file-editing tool
    • Plan document(s) — tier-aware, see SKILL_DETAIL.md §Plan-Doc Update Pattern
    • ${SESSION_INDEX_FILE} YAML
    • ${CURRENT_SESSION_FILE} dashboard + Gate C block

    session-dashboard.html update: session-dashboard-sync.py always runs as the first entry of the Stop hook array, auto-regenerating the HTML (HARNESS-STALE-GUARD-3). No skill Bash Step needed.

  2. STOP — await user document review·confirmation

No test·build execution in this turn after Gate C completion (npm test / pytest / ./gradlew test, etc.). Proceed in a separate turn after Gate D verification confirmation.

Scope of 「구현해라」-like Instructions

「구현해」「계획대로 구현」「다음 계획을 구현해라」 mean Gate C only. To allow C→E, the user must specify the scope in a sentence such as 「Gate C부터 E까지 한 번에」「C~E 일괄로 진행해」.


Advisor Escalation (optional)

During Gate C execution, if the situation below applies, you may make a single call to an Opus subagent for advice and then return.

Gate C trigger conditions (call only in these situations):

  • A design branch not in the Gate A plan is discovered
  • Conflict with an existing architecture pattern — cannot judge which direction is correct
  • Cannot choose among 2+ implementation options

Call prohibited (resolve directly): syntax·API reference lookup (Grep/WebFetch suffices)

Session-cumulative max_uses: 3 times. On exceeding → escalate: ① git restore . (or git stash) to revert to the last clean state ② report to the user — which files were reverted, what was attempted, and why it failed → request a new Gate A re-plan.

Detailed call template·recording method·guardrails → CLAUDE_DETAIL.md §Advisor Escalation


This Gate response's mandatory final output

After completing the entire Gate C procedure (code implementation + plan document(s) update), output the block below at the very end of the response. Omitting it or replacing it with other content is a PROC violation.

---
**다음 단계**: Gate C 확인 후 「Gate D 시작」또는 「검증」으로 응답하면 `/gate-d` (Gate D 검증)가 시작됩니다.
**권장 모델 전환**: ${CURRENT_SESSION_FILE} "Gate별 권장 모델" 표를 참조하여 필요 시 `/model {모델}` 실행 후 진행하세요.
💡 **compact 권장 시점**: Gate C 구현이 끝난 지금이 `/compact` 최적 타이밍입니다. Gate D는 테스트 결과라는 새로운 맥락으로 시작하므로, C의 시행착오 컨텍스트를 정리하면 토큰을 절약할 수 있습니다.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.