मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट41k · #6559

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/v4-best-practices/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

best-of-n

41k

आपके एजेंट को किसी कठिन समस्या के लिए कई स्वतंत्र उत्तर बनवाने, उन्हें एक ही मापदंड पर आँकने, और केवल वही लागू करने में मदद करती है जो जाँच पास करे।

AI और एजेंटएजेंट

dataviz

41k

आपके एजेंट को आपके डेटा के लिए सही चार्ट या डैशबोर्ड चुनने में मदद करती है, साफ़ लेबल, स्रोत नोट्स और एक्सिस व गायब मानों की जाँच के साथ।

डेटाएनालिसिस और स्प्रेडशीट

debug

41k

आपके एजेंट को अंदाज़े लगाने के बजाय बग को दोबारा पैदा करके, दायरा छोटा करके, असली कारण ढूँढने में मदद करती है, और सुधार केवल आपकी मंज़ूरी पर करती है।

कोडिंगटेस्टिंग

delegate

41k

आपके एजेंट को किसी बड़े काम को केंद्रित समानांतर सहायकों में बाँटना सिखाती है, जबकि योजना, एकीकरण और अंतिम जाँच अपने पास रखे।

AI और एजेंटएजेंट

मिलती-जुलती skills