From 5cd3f0cbf282cb32d38e1b3c654f7d30a69be538 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 8 Dec 2025 16:59:54 +0900 Subject: [PATCH] docs: add Directory AGENTS.md Injector hook documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit πŸ€– GENERATED BY [OPENCODE](https://opencode.ai/) --- README.ko.md | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.ko.md b/README.ko.md index fd6b7f1..24c0ea6 100644 --- a/README.ko.md +++ b/README.ko.md @@ -142,6 +142,7 @@ OpenCode λŠ” μ•„μ£Ό ν™•μž₯κ°€λŠ₯ν•˜κ³  μ•„μ£Ό μ»€μŠ€ν„°λ§ˆμ΄μ €λΈ”ν•©λ‹ˆλ‹€. - **Thinking Disabled Violation**: thinking 이 λΉ„ν™œμ„±ν™”μΈλ° thinking 블둝이 μžˆμ„ λ•Œ β†’ thinking 블둝 제거 - **Empty Content Message**: λ©”μ‹œμ§€κ°€ thinking/meta λΈ”λ‘λ§Œ 있고 μ‹€μ œ λ‚΄μš©μ΄ 없을 λ•Œ β†’ νŒŒμΌμ‹œμŠ€ν…œμ„ 톡해 "(interrupted)" ν…μŠ€νŠΈ μ£Όμž… - **Comment Checker**: μ½”λ“œ μˆ˜μ • ν›„ λΆˆν•„μš”ν•œ 주석을 κ°μ§€ν•˜μ—¬ λ³΄κ³ ν•©λ‹ˆλ‹€. BDD νŒ¨ν„΄, μ§€μ‹œμ–΄, λ…μŠ€νŠΈλ§ λ“± μœ νš¨ν•œ 주석은 λ˜‘λ˜‘ν•˜κ²Œ μ œμ™Έν•˜κ³ , AIκ°€ 남긴 흔적을 μ œκ±°ν•˜μ—¬ μ½”λ“œλ₯Ό κΉ¨λ—ν•˜κ²Œ μœ μ§€ν•©λ‹ˆλ‹€. +- **Directory AGENTS.md Injector**: νŒŒμΌμ„ 읽을 λ•Œ `AGENTS.md` λ‚΄μš©μ„ μžλ™μœΌλ‘œ μ£Όμž…ν•©λ‹ˆλ‹€. 파일 디렉토리뢀터 ν”„λ‘œμ νŠΈ λ£¨νŠΈκΉŒμ§€ νƒμƒ‰ν•˜λ©°, 디렉토리별 μ»¨ν…μŠ€νŠΈλ₯Ό μ—μ΄μ „νŠΈμ—κ²Œ μ œκ³΅ν•©λ‹ˆλ‹€. Claude Code의 CLAUDE.md κΈ°λŠ₯μ—μ„œ μ˜κ°μ„ λ°›μ•˜μŠ΅λ‹ˆλ‹€. ### Agents diff --git a/README.md b/README.md index 1f3744a..54c421a 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,7 @@ I believe in the right tool for the job. For your wallet's sake, use CLIProxyAPI - **Thinking Disabled Violation**: When thinking blocks exist but thinking is disabled β†’ strips thinking blocks - **Empty Content Message**: When message has only thinking/meta blocks without actual content β†’ injects "(interrupted)" text via filesystem - **Comment Checker**: Detects and reports unnecessary comments after code modifications. Smartly ignores valid patterns (BDD, directives, docstrings, shebangs) to keep the codebase clean from AI-generated artifacts. +- **Directory AGENTS.md Injector**: Automatically injects `AGENTS.md` contents when reading files. Searches upward from the file's directory to project root, providing directory-level context to the agent. Inspired by Claude Code's CLAUDE.md feature. ### Agents - **oracle** (`openai/gpt-5.1`): The architect. Expert in code reviews and strategy. Uses GPT-5.1 for its unmatched logic and reasoning capabilities. Inspired by AmpCode.