Skip to content

入门指南常用功能指南如何用 Claude Code 做这些事

如何用 Claude Code 做这些事

本章节提供了一系列实用教程,帮助你快速掌握 Claude Code 在日常开发中的各种应用场景。从代码理解到项目协作,从基础操作到高级技巧,你将学会如何充分利用 Claude Code 提升开发效率。

代码开发

[快速熟悉陌生项目的代码结构和业务逻辑

📖理解新代码库](/getting-started/how-to/understand-new-codebases)[使用 Claude Code 快速定位和修复代码中的问题

🐛高效修复 Bug](/getting-started/how-to/fix-bugs-efficiently)[优化代码结构,提升代码质量和可维护性

🔄重构代码](/getting-started/how-to/refactor-code)

高级功能

[利用专业化子代理处理复杂任务

🤖使用专业化 Subagent](/getting-started/how-to/use-specialized-subagents)[通过计划模式更好地组织和执行复杂任务

📋使用计划模式](/getting-started/how-to/use-plan-mode)[启用扩展思考功能,让 Claude 更深入地分析问题

🧠使用扩展思考](/getting-started/how-to/use-extended-thinking)

协作与测试

[编写、运行和维护自动化测试

✅使用测试](/getting-started/how-to/work-with-tests)[使用 Claude Code 创建高质量的代码合并请求

🔀创建 Pull Request](/getting-started/how-to/create-pull-requests)[生成和维护项目文档

📝处理文档](/getting-started/how-to/handle-documentation)

实用技巧

[处理截图和视觉内容,增强开发体验

🖼️使用图片](/getting-started/how-to/work-with-images)[在对话中高效引用项目文件和目录

📁引用文件和目录](/getting-started/how-to/reference-files-and-directories)[继续之前未完成的工作会话

💬恢复之前的对话](/getting-started/how-to/resume-previous-conversations)[同时处理多个独立的开发任务

⚡运行并行会话](/getting-started/how-to/run-parallel-sessions)[在命令行中灵活使用 Claude Code

🔧用作 Unix 实用工具](/getting-started/how-to/use-as-unix-utility)[定制专属命令,提升工作效率

⌨️创建自定义斜杠命令](/getting-started/how-to/custom-slash-commands)[了解如何向 Claude 提问以获得最佳帮助

❓询问 Claude 的功能](/getting-started/how-to/ask-about-capabilities)

快速体验理解新代码库