- इस विचार से कि हर engineer टूल्स का इस्तेमाल अलग तरीके से करता है, Claude Code को शुरू से ही बेहतरीन defaults और customization की उच्च स्वतंत्रता दोनों के साथ डिज़ाइन किया गया है
- terminal theme, notifications, Vim mode से लेकर agents, plugins, MCP, skills तक लगभग हर behavior को user अपनी ज़रूरत के हिसाब से बदल सकता है
- यह 37 settings items और 84 environment variables को support करता है, और settings.json को Git में commit करने पर पूरी टीम के साथ settings साझा की जा सकती हैं
- अपनी पसंद के spinner verbs, status line, और output style तक बारीकी से tune किया जा सकता है, जिससे developer experience (DX) को अधिकतम किया जा सके
terminal settings
/config कमांड से light/dark mode theme switch किया जा सकता है
- iTerm2 notifications enable की जा सकती हैं या custom notification hooks इस्तेमाल किए जा सकते हैं
- IDE terminal, Apple Terminal, Warp, Alacritty इस्तेमाल करते समय
/terminal-setup चलाने पर shift+enter से line break किया जा सकता है, इसलिए backslash टाइप करने की ज़रूरत नहीं रहती
/vim कमांड से Vim mode enable किया जा सकता है
- Optimize your terminal setup
Effort level समायोजन
/model कमांड से effort level चुना जा सकता है
- Low: token usage कम और response तेज़
- Medium: संतुलित behavior
- High: token usage ज़्यादा, लेकिन intelligence level भी अधिक
- Boris हर काम के लिए High इस्तेमाल करते हैं
plugins, MCP, skills install करना
- plugins के ज़रिए LSP (सभी प्रमुख भाषाओं के लिए support), MCP, skills, agents, custom hooks install किए जा सकते हैं
- इन्हें Anthropic के official plugin marketplace से install किया जा सकता है, या कंपनी अपना खुद का marketplace बना सकती है
- settings.json को codebase में check in करने पर टीम में marketplace अपने-आप जुड़ जाता है
- शुरुआत
/plugin कमांड से करें
- Discover and install prebuilt plugins through marketplaces
custom agent बनाना
.claude/agents directory में .md files जोड़कर custom agents बनाए जा सकते हैं
- हर agent के लिए अलग-अलग नाम, रंग, tool set, pre-allowed/blocked tools, permission mode, और model सेट किया जा सकता है
- settings.json के "agent" field या
--agent flag से default agent सेट किया जा सकता है; यह अपेक्षाकृत कम जाना-पहचाना feature है
- शुरुआत
/agents कमांड से करें
- Create custom subagents
permissions की pre-approval
- Claude Code एक permission system इस्तेमाल करता है जो prompt injection detection, static analysis, sandboxing, और human oversight को जोड़ता है
- डिफ़ॉल्ट रूप से केवल कुछ सुरक्षित commands ही pre-approved होती हैं, और
/permissions से allow/block list में entries जोड़ी जा सकती हैं
- wildcard syntax support है — उदाहरण:
Bash(bun run *), Edit(/docs/**)
- इसे टीम के settings.json में check in करके साझा किया जा सकता है
- Configure permissions
sandboxing enable करना
- Claude Code के open source sandbox runtime का उपयोग करके सुरक्षा बढ़ाई जा सकती है और permission prompts कम किए जा सकते हैं
- इसे
/sandbox कमांड से enable किया जाता है, और यह local machine पर चलता है
- file isolation और network isolation दोनों support हैं
- Windows support जल्द आने वाला है
- Sandboxing
status line जोड़ना
- custom status line composer के ठीक नीचे दिखाई देती है
- model name, directory, बचे हुए context, cost जैसी मनचाही जानकारी इसमें दिखाई जा सकती है
- Claude Code टीम के हर सदस्य अलग-अलग status line इस्तेमाल करते हैं
/statusline कमांड चलाने पर Claude, .bashrc/.zshrc के आधार पर status line अपने-आप बना देता है
- Customize your status line
keybindings customization
- Claude Code की सभी keybindings को
/keybindings से remap किया जा सकता है
- settings real-time reload होती हैं, इसलिए बदलाव तुरंत देखे जा सकते हैं
hooks configuration
- hooks, Claude के lifecycle में deterministic तरीके से हस्तक्षेप करने का माध्यम हैं
- उपयोग के उदाहरण:
- permission requests को Slack या Opus पर अपने-आप route करना
- turn के अंत में Claude को आगे बढ़ते रहने के लिए nudge करना, चाहे agent execution हो या prompt-based decision
- tool calls की pre-processing/post-processing — जैसे custom logging जोड़ना
- Hooks reference
spinner verbs customization
- default spinner verbs list में अपनी verbs जोड़ना या उन्हें बदलना संभव है
- settings.json को source control में check in करने पर इसे टीम के साथ साझा किया जा सकता है
output style configuration
/config में output style सेट करने पर Claude के response tone और format को बदला जा सकता है
- "explanatory" style: नए codebase को समझते समय framework और code patterns समझाते हुए काम करता है
- "learning" style: code changes की प्रक्रिया को coaching के रूप में guide करता है
- अपना custom output style भी बनाया जा सकता है
- Output styles
पूरी customization करना
- Claude Code को इस तरह डिज़ाइन किया गया है कि वह default state में भी अच्छी तरह काम करे, लेकिन customization करते समय settings.json को Git में check in करके टीम के साथ साझा करना सुझाया गया है
- settings को codebase स्तर, subfolder स्तर, व्यक्तिगत स्तर, और पूरी enterprise policy स्तर पर सेट किया जा सकता है
- कुल 37 settings items और 84 environment variables support हैं
- settings.json के
env field का उपयोग करके wrapper script के बिना भी environment variables सेट किए जा सकते हैं
- Claude Code settings
अभी कोई टिप्पणी नहीं है.