v4-best-practices
하는 일
이 스킬은 DeepSeek V4 모델을 사용할 때 긴 여러 단계 작업을 위한 규칙을 AI 에이전트에게 제공합니다. 계획된 작업을 맡기면서 실수를 줄이고 싶은 분을 위한 스킬입니다.
사용하는 경우
- ✓여러 파일을 바꾸는 계획을 에이전트에게 수행하도록 요청할 때.
- ✓코드를 쓰기 전에 파일 이름과 함수를 다시 확인하고 싶을 때.
- ✓코드에서 정확한 위치를 가리키는 계획 결과를 원할 때.
스킬 링크
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/v4-best-practices/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“여러 파일을 바꾸기 전에, 각 파일 경로와 함수가 실제로 있는지 확인한 다음 계획을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 각 파일과 함수를 사용하기 전에 프로젝트를 검색해 존재를 확인합니다. 규모가 큰 계획은 두 번째 도우미 에이전트에게 가정을 먼저 검증하도록 요청할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
V4 Best Practices
Rules for multi-step V4 thinking-mode workflows. Each rule prevents a specific, observable failure class.
1. Verify references before writing
Before referencing a file path, function, or type in code or plan output,
call grep_files or read_file to confirm it exists in the workspace.
# Bad: edit_file path="src/config/loader.rs" (assumed from memory)
# Good: grep_files pattern="pub fn load_config" → confirms src/config/mod.rs:42
# then reference src/config/mod.rs:42
Failure avoided: edit_file errors on non-existent paths; LSP diagnostics
on hallucinated symbols.
2. Spawn a verifier sub-agent before multi-file execution
Before executing a plan that touches 3+ files, spawn a deepseek-v4-flash
sub-agent (thinking off) to read the target files and confirm path/symbol
assumptions still hold.
agent type="verifier" model="deepseek-v4-flash"
prompt: "Read these files and confirm: [list assumptions]. Report mismatches."
Failure avoided: multi-step edits fail partway because file structure changed since the plan was drafted.
3. Plan output must use confirmed path:line references
In plan-mode output, replace vague location pointers with path:line
references drawn from a prior grep_files result.
# Bad: "Update the retry logic in the client module"
# Good: "Update retry loop at crates/engine/src/client.rs:187"
Failure avoided: agent-mode execution cannot locate the intended edit target when plan directions are imprecise.
자주 묻는 질문
모든 AI 모델에서 작동하나요?
아니요. 이 스킬은 생각 모드에서 DeepSeek V4 Pro와 Flash 모델을 위해 작성되었습니다.
파일 이름을 왜 먼저 확인하나요?
스킬은 기억에 의존해 추측한 경로나 함수로는 편집이 실패하므로, 먼저 확인하라고 합니다.
계획 단계는 어떤 모습인가요?
스킬은 모호한 설명 대신 정확한 파일과 줄 번호를 참조하라고 요구합니다.
상세 정보
작성자의 원본 설명
Use when working with deepseek-v4-pro or deepseek-v4-flash in thinking mode on multi-step or plan-driven tasks. Provides rules to prevent stale references, unverified plan assumptions, and vague plan output.
repo: codewhale-hq/Codewhale
인기도
- GitHub 스타
- 41k
- 순위
- #6559
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
best-of-n
41k에이전트가 어려운 문제에 대해 여러 개의 독립된 답을 만들고, 하나의 기준으로 평가한 뒤, 검사를 통과한 답만 적용하도록 돕습니다.
dataviz
41k에이전트가 데이터에 맞는 차트나 대시보드를 고르도록 돕습니다. 명확한 레이블, 출처 메모, 축과 누락된 값에 대한 점검을 포함합니다.
debug
41k에이전트가 버그를 재현하고 범위를 좁혀 실제 원인을 찾도록 돕습니다. 추측하지 않고, 승인을 받은 경우에만 고칩니다.
delegate
41k에이전트가 큰 작업을 집중된 병렬 도우미들에게 나누어 맡기되, 계획, 통합, 최종 확인은 직접 맡도록 가르칩니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.