1) Verifiable prompts लिखें
अच्छे prompts में ये चीज़ें हों:- क्या बदलना है
- कौन-सी फाइलें बदलनी हैं
- किस तरह verify करना है
- failure होने पर root cause fix करना है
2) पहले Plan, फिर Act
1
Explore
संबंधित फाइलें और architecture समझें।
2
Plan
step-by-step plan और test strategy बनवाएँ।
3
Implement
Plan के अनुसार बदलाव करें और build/test चलाएँ।
4
Commit
स्पष्ट commit message और PR बनवाएँ।
3) Context को specific रखें
@से फाइलें reference करें- constraints साफ लिखें
- existing patterns बताएं
- scope सीमित रखें
4) EMBEDDER.md को lean रखें
EMBEDDER.md में केवल project-specific बातें रखें:
- build/test commands
- coding rules
- environment quirks
- common pitfalls
EMBEDDER.md से जरूरी rules दब जाते हैं।
5) Session hygiene
- unrelated tasks के बीच
/clear - लंबे सेशन में
/compress - previous work उठाने के लिए
/history - गलत दिशा पर
/undoया/rewind
6) Subagents का उपयोग
7) Common pitfalls
- vague prompts
- no acceptance criteria
- context साफ न करना
- बहुत broad exploration
