[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-701275-105":59,"doc-detail-701275-en":130,"doc-similar-701275":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","engineering-at-anthropic-claude-code-best-practices-for-agentic-coding","Engineering at Anthropic - Claude Code - Best practices for agentic coding","","Claude Code is a command line tool for agentic coding that Anthropic engineers use to integrate Claude into coding workflows. The post describes the tool’s intentionally low-level, unopinionated design and addresses the learning curve by outlining general patterns that have worked across codebases, languages, and environments. It also highlights practical setup methods such as creating and tuning CLAUDE.md context files and curating allowed tools for safety.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/engineering-at-anthropic-claude-code-best-practices-for-agentic-coding/701275/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/engineering-at-anthropic-claude-code-best-practices-for-agentic-coding/701275.png","ImageObject",300,407,{"name":92,"@type":93},"Rhys","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is Claude Code, and who is it designed for?","Question",{"text":112,"@type":113},"Claude Code is a command line tool for agentic coding, created to help Anthropic engineers and researchers integrate Claude into their coding workflows.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why does Claude Code have a learning curve for new users?",{"text":117,"@type":113},"It is intentionally low-level and unopinionated, giving raw model access; that flexibility requires users to develop their own best practices.",{"name":119,"@type":110,"acceptedAnswer":120},"How can you optimize context and instructions in Claude Code?",{"text":121,"@type":113},"Create CLAUDE.md files to place reusable project context and refine them as frequently used prompts, experimenting to improve instruction following.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},701275,1794525298,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},687207024643,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Engineering at Anthropic  \nClaude Code: Best practices for agentic coding  \nClaude Code is a command line tool for agentic coding. This post covers tipsand tricks that have proven effective for using Claude Code across various codebases, languages, and environments.  \nPublished Apr 18, 2025  \nWe recently released Claude Code, a command line tool for agentic coding. Developed as a research project, Claude Code gives Anthropic engineers and researchers a more native way to integrate Claude into their coding workflows.  \nClaude Code is intentionally low-level and unopinionated, providing close to raw model access without forcing specific workflows. This design philosophy creates a flexible, customizable, scriptable, and safe power tool. While powerful, this flexibility presents a learning curve for engineers new to agentic coding tools—at least until they develop their own best practices.  \nThis post outlines general patterns that have proven effective, both for Anthropic's internal teams and for external engineers using Claude Code across various codebases, languages, and environments. Nothing in this list is set in stone nor universally applicable; consider these suggestions as starting points. We encourage you to experiment and find what works best for you!  \nLookingfor more detailed information? Our comprehensive documentation at [claude.ai/code](claude.ai/code covers all)[ covers all](claude.ai/code covers all) the features mentioned in this post and provides additional examples, implementation details, and advanced techniques.  \n1. Customize your setup  \nClaude Code is an agentic coding assistant that automatically pulls context into prompts. This context gathering consumes time and tokens, but you can optimize it through environment tuning.  \na. Create [CLAUDE.md](CLAUDE.md) files  \n[CLAUDE.md](CLAUDE.md) is a special file that Claude automatically pulls into context when starting a conversation. This makes it an ideal place for documenting:  \n Common bash commands  \n Core files and utility functions  \n Code style guidelines  \n Testing instructions  \n Repository etiquette (e.g., branch naming, merge vs. rebase, etc.)  \n Developer environment setup (e.g., pyenv use, which compilers work)  \n Any unexpected behaviors or warnings particular to the project  \n Other information you want Claude to remember  \nThere’s no required format for [CLAUDE.md](CLAUDE.md) files. We recommend keeping them concise and human-readable. For example:  \n\\# Bash commands  \n- npm run build : Build the project  \n- npm run typecheck : Run the typechecker  \n\\# Code style  \n-Use ES modules (import/export) syntax , not CommonJS (require)  \n-Destructure imports when possible (eg. import { foo } from 'bar ' )  \n\\# Workflow  \n- Be sure to typecheck when you’re done making a series of code changes  \n- Prefer running single tests , and not the whole test suite , for performance  \n Copy  \nYou can place [CLAUDE.md](CLAUDE.md) files in several locations:  \n The root of your repo, or wherever you run claude from (the most common usage). Name it [CLAUDE.md](CLAUDE.md) and check it into git so that you can share it across sessions and with your team (recommended), or name it [CLAUDE.local.md](CLAUDE.local.md)[ ](CLAUDE.local.md)[and](and .gitignore it)[ .gitignore](and .gitignore it)[ it](and .gitignore it)  \n Any parent of the directory where you run claude . This is most useful formonorepos, where you might run claude from root/foo , and have [CLAUDE.md](CLAUDE.md) files in both root/CLAUDE.md and root/foo/CLAUDE.md . Both of these will be pulled into context automatically  \n Any child of the directory where you run claude . This is the inverse of the above, and in this case, Claude will pull in [CLAUDE.md](CLAUDE.md) files on demand when you work with files in child directories  \n Your home folder ( ~/.[claude/CLAUDE.md](claude/CLAUDE.md) ), which applies it to all your claude sessions  \nWhen you run the /init command, Claude will automatically generate a [CLAUD","cbCailU3lVO9Or26","https://ap.wps.com/l/cbCailU3lVO9Or26","pdf",3271319,23,"English","# Overview\n## Why Claude Code works\n# Best practices\n## Customize your setup\n### Create CLAUDE.md files\n### Tune CLAUDE.md files\n## Curate Claude’s list of allowed tools","[{\"question\":\"What is Claude Code, and who is it designed for?\",\"answer\":\"Claude Code is a command line tool for agentic coding, created to help Anthropic engineers and researchers integrate Claude into their coding workflows.\"},{\"question\":\"Why does Claude Code have a learning curve for new users?\",\"answer\":\"It is intentionally low-level and unopinionated, giving raw model access; that flexibility requires users to develop their own best practices.\"},{\"question\":\"How can you optimize context and instructions in Claude Code?\",\"answer\":\"Create CLAUDE.md files to place reusable project context and refine them as frequently used prompts, experimenting to improve instruction following.\"}]","Engineering at Anthropic - Claude Code - Best practices for agentic coding | PDF",58,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/deba3bb500a8b63b3abf3414482a5912.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2509ea302000b53dd7a341df5a581c1c.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c48079d0b2dfb11b36c7e84a14eed208.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7310ff23cc000f561387deab14818eea.webp",980,1268,{"list":163,"token":66},[164,170,176,182,188,194,201,208,215,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":24,"category_name":30,"create_tm":169},732948,"Claude Code Advanced Patterns - Subagents, MCP, and Scaling to Real Codebases","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031781395/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=LbmSwucAPeAWhaBINTcP%2FfH3tks%3D","claude-code-advanced-patterns-subagents-mcp-and-scaling-to-real-codebases",1795383047,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":56,"category_name":30,"create_tm":175},687618,"Anthropic Academy Playbook - Key concepts and takeaways from all 18 courses","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262897/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=1JkdDkukYNs9vrh18HsldY2VKfE%3D","anthropic-academy-playbook-key-concepts-and-takeaways-from-all-18-courses",1794084309,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":19,"category_name":30,"create_tm":181},703294,"System Card - Claude Opus 5","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013546773/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=Uklo54U0SWDdmulRyEc0Xg1CozQ%3D","system-card-claude-opus-5",1794567302,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":29,"category_name":30,"create_tm":187},703297,"Scaling Agentic Coding Across Your Organization - How to transform your engineering organization with Claude Code, from pilot to production","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013546904/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=FwUSi0J3AtGocf3pKZQcbEzrtFI%3D","scaling-agentic-coding-across-your-organization-how-to-transform-your-engineering-organization-with-claude-code-from-pilot-to-production",1794567308,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":34,"category_name":30,"create_tm":193},721656,"Agentic AI Bootcamp - Session 1 - Concepts, Hands-On, and Tools","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024726388/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=IAv4J%2FTeYKBrLWQUnHL0Ka%2BUhHU%3D","agentic-ai-bootcamp-session-1-concepts-hands-on-and-tools",1795063870,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":30,"create_tm":200},698656,"Claude Code Cheat Sheet - Commands, context, automation, and workflows","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010390242/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=qDcHyXgLQM5iHmJKsRsALXa16TE%3D","claude-code-cheat-sheet-commands-context-automation-and-workflows",11,1794454283,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":30,"create_tm":207},202915,"USACE CBEST Agile Group Project Profile - Agile Group Profile","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882904769/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=hlhTrLZ02vMvXJ72v5ZDH9%2B42Uo%3D","usace-cbest-agile-group-project-profile-agile-group-profile",16,1788552283,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":30,"create_tm":214},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=mcbhjwAF951VGOSWcVDp4uOuwBg%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":30,"create_tm":221},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=4IK5JGpzDuyZ5Wz27gsFO2CuG9E%3D","xnx-universal-transmitter-installation-manual",854,1776135954,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":30,"create_tm":228},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=m2HZCtY6pZ%2BHyCS4T5zOSZBqPRE%3D","the-candlestick-trading-bible-trading-guide",804,1789767270]