Part 2: Prompts, context windows and Claude skills
Module 10 · Sun 20 Sep
हिंदी में सुनें
System prompt वो hidden layer है जो behaviour set करती है; user prompt तुरंत की request है। असली apps दोनों को layer करते हैं। Context window बताता है कि model कितना actively use कर सकता है - लंबी chats में जगह ख़त्म हो जाती है, इसलिए compaction (पुराने context का summary) जगह खाली करता है। Chat कोई infinite memory नहीं है।
- Prompting ज़्यादा words के बारे में नहीं है। Specific रहो, filler हटाओ, लंबे prompts में delimiters/tags use करो, और याद रखो कि लंबे prompts का बीच वाला हिस्सा "lost" हो जाता है (attention dilution).
- Temperature randomness control करता है - यह prompt की wording से अलग है।
- Claude skills reusable Markdown instruction files हैं, जो आपकी request को skill description से match करके चुनी जाती हैं। सबसे अच्छी तब, जब हर skill एक ही काम करे।
Class build - एक PRD system prompt: role, guardrails, tone, audience, problem, pain points, user stories, design, functional और non-functional requirements, user flow, success metrics - साथ में वो sections जिनका PM सच में owner होना चाहिए। Voice input के साथ भी delimiters मदद करते हैं: model से बोले गए text को sections में restructure करने को कहो।