v4-best-practices
यह क्या करती है
यह स्किल AI एजेंट को DeepSeek V4 मॉडल इस्तेमाल करते समय लंबे, बहु-चरण काम के नियम देती है। यह उन लोगों के लिए है जो इन मॉडल को योजनाबद्ध कामों पर चलाते हैं और गलतियाँ कम चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट से ऐसी योजना चलवाना चाहें जो कई फ़ाइलें बदले।
- ✓जब आप चाहें कि एजेंट कोड लिखने से पहले फ़ाइल नाम और फ़ंक्शन दोबारा जाँचे।
- ✓जब आप चाहें कि योजना का नतीजा कोड में सटीक स्थानों की ओर इशारा करे।
Skill का लिंक
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/v4-best-practices/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कई फ़ाइलें बदलने से पहले जाँचिए कि हर फ़ाइल पथ और फ़ंक्शन मौजूद है, फिर मुझे योजना दीजिए।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
best-of-n
41kआपके एजेंट को किसी कठिन समस्या के लिए कई स्वतंत्र उत्तर बनवाने, उन्हें एक ही मापदंड पर आँकने, और केवल वही लागू करने में मदद करती है जो जाँच पास करे।
dataviz
41kआपके एजेंट को आपके डेटा के लिए सही चार्ट या डैशबोर्ड चुनने में मदद करती है, साफ़ लेबल, स्रोत नोट्स और एक्सिस व गायब मानों की जाँच के साथ।
debug
41kआपके एजेंट को अंदाज़े लगाने के बजाय बग को दोबारा पैदा करके, दायरा छोटा करके, असली कारण ढूँढने में मदद करती है, और सुधार केवल आपकी मंज़ूरी पर करती है।
delegate
41kआपके एजेंट को किसी बड़े काम को केंद्रित समानांतर सहायकों में बाँटना सिखाती है, जबकि योजना, एकीकरण और अंतिम जाँच अपने पास रखे।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।