원클릭으로
code-writing-guide
Used when writing or modifying code. Provides coding guidelines for this project.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Used when writing or modifying code. Provides coding guidelines for this project.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | code-writing-guide |
| description | Used when writing or modifying code. Provides coding guidelines for this project. |
Guide for writing code in this project.
Do NOT maintain backward compatibility unless explicitly requested. Break things boldly.
Add a comment whenever a non-obvious implementation choice was made — especially when a natural or standard approach was tried and rejected. The goal is to prevent future readers (human or AI) from re-discovering the same dead end.
Triggers that require a "why not" comment:
withTimeout deadlocks on the IntelliJ platform test JVM EDT → use java.util.Timer)Format: Explain what was tried, why it failed, and why the chosen approach avoids the problem.
// WHY java.util.Timer instead of withTimeout:
// withTimeout relies on DefaultDelay, whose cancellation is dispatched back to the coroutine's
// event loop. When runBlocking is called from the EDT, the event loop runs ON the EDT — which
// runBlocking blocks — so the callback can never be processed and the timeout never fires.
// java.util.Timer runs on its own daemon thread and calls continuation.resume() directly,
// bypassing the scheduler entirely.