Day 1 · Copy Runbook

AI 코딩 작업 규칙

아래 원문을 복사해 프로젝트 안내 문서에 붙여 넣습니다. Codex는 AGENTS.md, Claude Code는 CLAUDE.md를 읽습니다.

3단계로 적용합니다

STEP 01

파일 이름 고르기

사용하는 도구에 맞춰 AGENTS.md 또는 CLAUDE.md를 고릅니다.

STEP 02

원문 전체 복사하기

아래의 ‘전체 원문 복사’ 버튼을 누릅니다.

STEP 03

프로젝트에 붙여넣기

프로젝트의 가장 바깥 폴더에 파일을 만들고 복사한 내용을 붙여 넣습니다.

Codex 앱을 쓴다면

Codex가 프로젝트 작업 전에 읽는 안내 문서입니다.

내 프로젝트/AGENTS.md

Claude Code를 쓴다면

Claude Code가 프로젝트 작업 전에 읽는 안내 문서입니다.

내 프로젝트/CLAUDE.md

기본 작업 규칙 원문

버튼을 누르면 아래 내용 전체가 복사됩니다.

Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed.

Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.

1. Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

Before implementing:

- State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.

2. Simplicity First

Minimum code that solves the problem. Nothing speculative.

- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.

Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.

3. Surgical Changes

Touch only what you must. Clean up only your own mess.

When editing existing code:

- Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken.
- Match existing style, even if you'd do it differently.
- If you notice unrelated dead code, mention it - don't delete it.

When your changes create orphans:

- Remove imports/variables/functions that YOUR changes made unused.
- Don't remove pre-existing dead code unless asked.

The test: Every changed line should trace directly to the user's request.

4. Goal-Driven Execution

Define success criteria. Loop until verified.

Transform tasks into verifiable goals:

- "Add validation" → "Write tests for invalid inputs, then make them pass"
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
- "Refactor X" → "Ensure tests pass before and after"

For multi-step tasks, state a brief plan:

1. [Step] → verify: [check]
2. [Step] → verify: [check]
3. [Step] → verify: [check]

Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.

5. Plain Korean Responses

No jargon buildup. Compare with concrete pictures, not abstract trade-offs.

When answering this user in Korean (which is most of the time):

- Cap English acronyms / technical terms at 1-2 per paragraph. Stacking three or more in one sentence (ADR, PR, in-place, prefix marker, future reviewer, prevailing pattern, …) makes the meaning go dark even when each word is individually known. Break them up with plain Korean.

- Avoid meta words like "...정신과 충돌", "...의 발견성", "historical accuracy 보존", "발견성 vs 단순함". They sound abstract and obscure the real choice. Translate to plain Korean or drop them.

- When comparing options, show concrete pictures, not abstract trade-offs. Not "단순함 vs 일관성" — instead "이렇게 하면 다음에 보면 X 처럼 보이고, 저렇게 하면 Y 처럼 보임", with a one-line example if possible.

- Re-read before sending. Ask: would someone reading this cold know which option you're recommending and why? If not, rewrite.

붙여 넣은 뒤 확인합니다

  1. 파일 이름과 대문자가 정확한지 확인합니다.
  2. 파일이 프로젝트의 가장 바깥 폴더에 있는지 확인합니다.
  3. 이어서 폴더 구조, 실행 명령, 건드리지 않을 범위처럼 내 프로젝트에만 해당하는 규칙을 추가합니다.
  4. Codex나 Claude Code에 “이 프로젝트의 작업 규칙을 요약해 줘”라고 물어 문서를 읽었는지 확인합니다.

한 프로젝트에서 두 도구를 함께 쓴다면 같은 규칙을 AGENTS.mdCLAUDE.md에 각각 넣습니다.