Communitygithub.com

agent-doc-discipline

에이전트가 소비하는 문서(다섯 가지 표면, 스펙, 티켓, .omc/skills/)에 대한 작성 규율로, 모든 규칙은 검증 가능하고 이유를 포함하며, 참조보다 절차를 우선하고, 각 의미는 한 곳에만 존재하며, 환경이 이미 알려주는 내용을 반복하지 않습니다. 드라이독 시드 생성 및 출시 C5 침전물 패스에서 필수이며, 다른 에이전트 대상 문서 편집 시 선택적으로 적용합니다. minimal-code-discipline의 짝으로, 코드를 훈련시키는 것이 문서를 훈련시킵니다.

agent-doc-discipline란 무엇인가요?

Agent Doc Discipline은 AI 에이전트(Claude Code, Cursor 등)가 소비하는 문서를 작성하거나 편집할 때 적용하는 규율입니다. 이 스킬의 핵심 목표는 '새로운 에이전트 세션이 문서만 읽어도 행동할 수 있어야 한다'는 것이며, 이를 위해 여섯 가지 핵심 규칙(검증 가능한 규칙, 단일 의미 단일 위치, 환경 재진술 금지, 절차 우선 참조 후배치, 완료 기준 명시, 금지 대신 긍정 행동 유도, 불필요한 내용 제거)을 제공합니다. 드라이독(시드 생성)과 출시 C5(침전물 패스)에서는 필수이며, 다른 에이전트 대상 문서 편집 시 선택적으로 적용할 수 있습니다. 사람 전용 문서(비즈니스 문서, ADR 결정 스토리, README 등)는 예외입니다. 이 스킬은 minimal-code-discipline과 함께 사용되어 코드와 문서 모두에 동일한 수준의 규율을 부과합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Yeachan-Heo/oh-my-claudecode/tree/main/skills/agent-doc-discipline

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Agent Doc Discipline

이 스킬을 사용하여 에이전트가 행동을 위해 소비하는 문서(다섯 가지 표면: CLAUDE.md, CONTEXT.md, docs/standards/, design-system/, .omc/skills/), 스펙, 티켓, 스킬 파일을 작성하거나 편집할 때 작성 규율을 적용하십시오. 문서가 통과해야 하는 기준: 새로운 에이전트 세션이 문서만 읽고도 행동할 수 있어야 합니다.

필수 적용 시점: 드라이독이 시드 표면을 생성할 때, 출시 C5 침전물 패스가 슬롯에 교훈을 기록할 때입니다. 다른 모든 편집에는 선택 사항이지만, 에이전트 대상 문서에 대한 수정은 이러한 규칙을 견뎌야 합니다.

사용하지 않아야 할 때

사람 전용 문서: docs/business/ 내러티브, ADR 결정 스토리, 사람 온보딩용 README. 이들은 규칙을 따르는 것이 비용이 들지 않는다면 따라도 되지만, 이 규율의 적용 대상은 아닙니다.

규율

채팅 기록이 없는 독자를 위해 작성하십시오. 문서는 스스로 설명 가능해야 하며, "앞서 논의한 대로", 이전 세션, 또는 누군가의 머릿속에 있는 지식에 의존해서는 안 됩니다. 검증: 새로운 에이전트 세션이 문서만 읽고도 행동할 수 있어야 합니다.

모든 규칙은 검증 가능하고 이유를 포함해야 합니다. "깔끔하게 유지하세요" 같은 모호한 표현 대신, 관찰 가능한 조건과 이유를 작성하십시오. 검증: 에이전트가 텍스트만으로 통과/실패를 판단할 수 있어야 하며, 이유는 규칙 옆에 명시되어야 합니다.

하나의 의미, 하나의 장소. 각 규칙이나 정의는 단일 권위 있는 위치를 가져야 하며, 중복은 표류를 초래합니다. 검증: 동작 변경 시 한 곳만 수정하면 됩니다.

환경이 알려주는 내용을 절대 반복하지 마십시오. 패키지 스크립트, 디렉터리 레이아웃, --help 출력은 조회 대상이지 문서가 아닙니다. 복사된 조회는 오래됩니다. 찾아서 알 수 없는 것, 즉 문서화되지 않은 관습, 선택의 이유, 함정에 대해서만 문서화하십시오. 검증: 모든 줄이 "이것을 다른 곳에서 조회할 수 있나?"를 견뎌야 합니다.

절차를 먼저, 참조는 뒤에, 자주 쓰이지 않는 내용은 포인터 뒤에. 수행할 작업을 순서대로 상단에 배치하고, 필요 시 조회하는 규칙은 아래에 배치하며, 자주 쓰이지 않는 내용은 트리거 분기를 명명하는 포인터 뒤에 배치하십시오. 검증: 다음 행동이 첫 화면 안에서 찾을 수 있어야 합니다.

각 단계는 완료 기준으로 끝납니다. 완료는 미완료와 구분 가능해야 하며, 모호한 경계는 조기 완료를 초래합니다. 검증: 각 단계에 대해 "이것이 완료되었는지 어떻게 알 수 있나?"에 대한 답이 텍스트에 있어야 합니다.

긍정을 유도하십시오. 목표 동작을 명시하십시오. 금지는 엄격한 가드레일을 위해 예약되며, 항상 긍정 목표와 함께 제시되어야 합니다. 검증: 문서 내 모든 금지는 대신 해야 할 것을 명시해야 합니다.

작성 시 불필요한 내용을 제거하십시오. 문서에 오래되었거나 중복된 내용이 있을 때는 동일한 편집에서 제거하고, 없을 때는 필요한 내용만 추가하고 삭제를 발명하지 마십시오. 모델이 이미 기본적으로 따르는 문장은 불필요한 부하를 주므로 전체 문장을 삭제하십시오. 검증: 다시 읽은 모든 줄이 "이것이 기본값과 비교해 동작을 변경하는가?"라는 기준에 부합해야 하며, 편집 중 발견된 오래되었거나 중복된 내용은 제거되어야 합니다.

검증

문서 변경을 완료했다고 보고하기 전에 다음을 확인하십시오:

  • 새로운 세션이 사람에게 질문하지 않고도 행동할 수 있어야 함
  • 모든 규칙이 검증 가능하고 이유를 명시하며, 조회 내용을 반복하지 않아야 함
  • 의미가 한 곳에 존재하고, 포인터는 트리거 분기를 명명해야 함
  • 편집 중 발견된 오래되었거나 중복된 내용은 제거되었고, 유효한 관련 없는 내용은 보존되었어야 함

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ai-slop-cleaner

Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

ask

Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly

ask-navigator

Shipyard

autopilot

Full autonomous execution from idea to working code

autoresearch

Stateful single-mission improvement loop with strict evaluator contract, markdown decision logs, and max-runtime stop behavior

cancel

Cancel any active OMC mode (autopilot, ralph, ultragoal, swarm, ultrapilot, pipeline, team) and clean up retired legacy state

configure-notifications

Configure notification integrations (Telegram, Discord, Slack) via natural language

debug

Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction

deepinit

Deep codebase initialization with hierarchical AGENTS.md documentation

deep-interview

Socratic deep interview with mathematical ambiguity gating before explicit execution approval

drydock

Lay the keel of the shipyard harness in any repo — the 4-pillar shared environment (Context, Rules, Tools, Standards) across 5 surfaces (CLAUDE.md, skills, design-system, mcp/cli, shared context) so that every human and agent inherits the same design language and anyone can ship. Run once per repo; re-run with --check to audit drift.

execute

Carry an approved task through to working, verified code

external-context

Invoke parallel document-specialist agents for external web searches and documentation lookup

graph

Deterministic orchestration graph runtime - declarative DAG pipelines with journal-based crash recovery

harbor

Harbor intake for external work — the captain only handles unresolved decisions. Sweeps incoming issues and PRs, verifies every claim before disposition, reuses every decision already made, and hands the maintainer a docket whose pending items each carry one question with options, recommendation, impact and evidence. Agent-autonomous for facts and for actions covered by standing authorization; signed for every new judgment. Never merges.

hud

Configure HUD display options (layout, presets, display elements)

launch

Shipyard

loft

Loft the shape before cutting steel — answer a design question that prose cannot settle by building a throwaway artifact: a pure logic module in a clickable shell, or structurally different UI variants behind one route. The captain reacts to the artifact; the answer folds into the decision; the artifact never docks. Use when a design question stalls in words, when a navigator map carries a loft ticket, or when a spec discussion reaches

minimal-code-discipline

YAGNI-ladder coding discipline for writing changes — existence-first, reuse before writing, dependency ladder, shortest correct diff, with non-negotiables that must never be minimized away

omc-doctor

Diagnose and fix oh-my-claudecode installation issues

관련 스킬