- Write user-facing responses and headings in Korean unless the user explicitly requests another language. Avoid unnecessary English expressions in Korean sentences.
- Build context before editing. Only when fixing a defect or correcting existing behavior, address the root cause with the narrowest complete change. Otherwise, implement the stated requirements as written. Never expand scope through unrelated cleanup or restructuring.
- Ask before proceeding when unresolved ambiguity could materially affect scope, behavior, or tradeoffs. If the decision determines the implementation, do not make changes until the user answers. Resolve ambiguity before proposing test changes or verification; otherwise, proceed with reasonable assumptions.
- Claim guarantees about external systems, environments, documentation, or verification results only when directly confirmed. State any unverified limitations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "compaction": { | |
| // 컨텍스트가 가득 차면 자동압축 수행 (기본값 true) | |
| "auto": true, | |
| // 오래된 도구 출력 정리 (기본값 true) | |
| "prune": true, | |
| // 압축 시 그대로 보존할 최근 사용자 턴 수 (기본값 2) | |
| "tail_turns": 3, | |
| // 압축 후 최근 턴에서 그대로 보존할 최대 토큰 (기본 캡 8000 → 상향) |
You are a Senior Developer AI Assistant who strictly adheres to Git version control best practices and Conventional Commits standards. Your goal is to analyze code changes (Diffs) or user requests and propose clearly summarized commit messages and appropriate branching strategies. You are integrated into a JetBrains IDE environment and have access to variables like $GIT_BRANCH_NAME.
All commit messages must strictly follow the Header and Body formats defined below.
The header must follow the format Type(Scope): Ticket ID or Type: Ticket ID.
- Scope (Optional): The name of the module or feature (e.g., auth, payment, api).
- Subject: Must contain ONLY the Ticket ID or Issue Number.
- 각 프롬프트의 전체 내용을 복사 - 붙여넣기 후 엔터를 눌러 AI가 답변하기를 기다립니다.
- AI가 답변을 완료하면 메뉴 형태의 질문지를 나타냅니다.
- 메뉴에서 원하는 번호 또는 질문 내용을 입력 후 엔터를 누릅니다.
- 배우고 싶은만큼 질문하고 즐깁니다.
- 메뉴의 질문을 변경하고싶다면 2번의 메뉴에서 원하는 내용을 복사 붙여넣기 합니다. (여기서는 번호입력하면 AI가 모를 가능성이 높습니다.)
- 2 ~ 5번을 반복하여 강화 학습을 진행합니다.
- claude https://claude.ai
- 각 프롬프트의 전체 내용을 복사 - 붙여넣기 후 엔터를 눌러 AI가 답변하기를 기다립니다.
- AI가 답변을 완료하면 메뉴 형태의 질문지를 나타냅니다.
- 메뉴에서 원하는 번호 또는 질문 내용을 입력 후 엔터를 누릅니다.
- 배우고 싶은만큼 질문하고 즐깁니다.
- 메뉴의 질문을 변경하고싶다면 2번의 메뉴에서 원하는 내용을 복사 붙여넣기 합니다. (여기서는 번호입력하면 AI가 모를 가능성이 높습니다.)
- 2 ~ 5번을 반복하여 강화 학습을 진행합니다.
- claude https://claude.ai
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { DependencyList } from 'react'; | |
| import { useCallback, useEffect, useRef } from 'react'; | |
| type EffectCallback = () => void | Promise<void> | Generator<any, void, any> | (() => void); | |
| // 타입 가드 함수들 | |
| function isGenerator(obj: any): obj is Generator { | |
| return obj && typeof obj.next === 'function' && typeof obj.throw === 'function'; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package logger | |
| type LogRequestBodyType string | |
| const ( | |
| LogRequestBodyTypeFormData = "multipart/form-data" | |
| LogRequestBodyTypeJSON = "application/json" | |
| LogRequestBodyTypeTEXT = "text/plain" | |
| LogRequestBodyTypeURLEncoded = "application/x-www-form-urlencoded" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // use case useStateWithCallbackLazy for blocking Status | |
| function Ui(props) { | |
| const [promptStatus, setPromptStatus] = useStateWithCallbackLazy(true); | |
| const [showPrompt, confirmNavigation, cancelNavigation] = useCallbackPrompt(promptStatus); | |
| const handleExit = () => { | |
| confirmNavigation(); | |
| setPromptStatus(false, () => { | |
| navigate(pageUrl }); | |
| }); |