Podcasts पर वापस जाएंClaude
Claude Code 101
आपका पहला Claude Code प्रॉम्प्ट
You talk to Claude Code like you would talk to any AI assistant.
आप Claude Code से उसी तरह बात करते हैं जैसे किसी भी AI असिस्टेंट से करते हैं।
When entering your prompt, here are some things that you can consider that can both protect and make things easier for you.
अपना प्रॉम्प्ट दर्ज करते समय, यहाँ कुछ बातें हैं जिन पर आप विचार कर सकते हैं जो आपकी सुरक्षा और काम को आसान दोनों बना सकती हैं।
You can choose whether Claude auto accepts every file change it suggests or require it to ask you for explicit permission each time.
आप चुन सकते हैं कि Claude हर फ़ाइल बदलाव को स्वचालित रूप से स्वीकार करे जो वह सुझाता है, या हर बार आपसे स्पष्ट अनुमति माँगे।
With shift plus tab, you can cycle between both modes.
shift+tab के साथ, आप दोनों मोड के बीच स्विच कर सकते हैं।
In auto accept mode, it will automatically approve an edit or creation of a file, but ask your permission to run commands.
auto-accept मोड में, यह किसी फ़ाइल के संपादन या निर्माण को स्वचालित रूप से स्वीकृत करेगा, लेकिन कमांड चलाने के लिए आपकी अनुमति माँगेगा।
There isn't a right or wrong way.
कोई सही या गलत तरीका नहीं है।
It's just whatever you feel the most comfortable with.
यह बस वही है जिसके साथ आप सबसे अधिक सहज महसूस करते हैं।
Within this shift tab menu is the plan mode.
इस shift+tab मेनू में plan mode है।
Plan mode takes your prompt and uses read-only tools to analyze your code base and do research on your suggested implementation.
plan mode आपका प्रॉम्प्ट लेता है और आपके कोड बेस का विश्लेषण करने और आपके सुझाए गए कार्यान्वयन पर शोध करने के लिए केवल-पढ़ने वाले टूल का उपयोग करता है।
It will also ask you questions on items that it wants clarification on.
यह उन विषयों पर भी आपसे प्रश्न पूछेगा जिन पर इसे स्पष्टीकरण चाहिए।
It then returns to you a long detailed plan that it can execute on in more detail.
फिर यह आपको एक लंबी विस्तृत योजना लौटाता है जिसे यह अधिक विस्तार से निष्पादित कर सकता है।
Plan mode works great for planning complex changes or doing a safe code review.
plan mode जटिल बदलावों की योजना बनाने या सुरक्षित कोड समीक्षा करने के लिए बहुत अच्छा काम करता है।
A lot of the time you're asking Claude to do multi-step implementations towards a feature and this is exactly what plan mode excels at.
बहुत बार आप Claude से किसी फ़ीचर की ओर बहु-चरणीय कार्यान्वयन करने के लिए कह रहे होते हैं और यही वह काम है जिसमें plan mode उत्कृष्ट है।
So, why don't we give it a try?
तो, क्यों न इसे आज़माएं?
I have an application here that desperately needs a dark mode toggle.
मेरे पास यहाँ एक एप्लिकेशन है जिसे बहुत बुरी तरह डार्क मोड टॉगल की ज़रूरत है।
So, I'm going to use Claude Code to implement this for me.
तो, मैं Claude Code का उपयोग करके इसे अपने लिए लागू करने जा रहा हूँ।
So, I'm in the root directory of my project and I'm going to hit the shift tab a couple times to go into plan mode.
मैं अपने प्रोजेक्ट की रूट डायरेक्टरी में हूँ और plan mode में जाने के लिए shift+tab को कुछ बार दबाऊँगा।
Then, let's write out the prompt.
फिर, प्रॉम्प्ट लिखते हैं।
My app needs a dark mode implemented across the entire app.
मेरे ऐप को पूरे ऐप में डार्क मोड की ज़रूरत है।
Can you create a toggle switch on the header that allows user to toggle between light mode and dark mode?
क्या आप हेडर पर एक टॉगल स्विच बना सकते हैं जो उपयोगकर्ता को लाइट मोड और डार्क मोड के बीच स्विच करने दे?
I need you to find a good contrast color that works based on my existing light
मुझे चाहिए कि आप एक अच्छा कंट्रास्ट रंग खोजें जो मेरे मौजूदा लाइट
And let's let Claude plan this out.
और Claude को यह प्लान करने दें।
And after reviewing, I think it looks pretty good.
और समीक्षा के बाद, मुझे लगता है यह काफी अच्छा दिखता है।
At the end of all this, we can see explicitly what Claude did and how it came to its conclusion.
इन सबके अंत में, हम स्पष्ट रूप से देख सकते हैं कि Claude ने क्या किया और यह अपने निष्कर्ष पर कैसे पहुँचा।
And the dark mode is looking pretty good.
और डार्क मोड काफी अच्छा दिख रहा है।
When using Claude Code, try to be as descriptive as possible with your prompt.
Claude Code का उपयोग करते समय, अपने प्रॉम्प्ट में जितना हो सके उतना वर्णनात्मक रहने की कोशिश करें।
If you want to stay in the loop at every step, you can do that.
यदि आप हर कदम पर लूप में बने रहना चाहते हैं, तो आप ऐसा कर सकते हैं।
Use plan mode to let Claude get a little bit more in the nitty-gritty with what you want to achieve before executing on that plan.
plan mode का उपयोग करें ताकि Claude उस योजना को निष्पादित करने से पहले आप जो हासिल करना चाहते हैं उसकी थोड़ी और गहराई से जानकारी ले सके।