luongnv89 / claude-howto

本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。

luongnv89 / claude-howto

🌐 Language / Ngôn ngữ / 语言 / Мова: English | Tiếng Việt | 中文 | Українська | 日本語 Master Claude Code in a Weekend Go from typing claude to orchestrating agents, hooks, skills, and MCP servers — with visual tutorials, copy-paste templates, and a guided learning path. Get Started in 15 Minutes | Find Your Level | Browse the Feature Catalog Table of Contents The Problem How Claude How To Fixes This How It Works Not Sure Where to Start? Get Started in 15 Minutes What Can You Build With This? FAQ Contributing License

🌐 语言 / Ngôn ngữ / 语言 / Мова: 英语 | 越南语 | 中文 | 乌克兰语 | 日语。在周末掌握 Claude Code。从输入 claude 命令进阶到编排智能体、钩子、技能和 MCP 服务器——通过可视化教程、复制粘贴模板以及引导式学习路径来实现。15 分钟快速入门 | 寻找你的水平 | 浏览功能目录。目录:问题、Claude How To 如何解决此问题、工作原理、不知道从哪里开始?15 分钟快速入门、你能用它构建什么?常见问题、贡献、许可。

The Problem You installed Claude Code. You ran a few prompts. Now what? The official docs describe features — but don’t show you how to combine them. You know slash commands exist, but not how to chain them with hooks, memory, and subagents into a workflow that actually saves hours. There’s no clear learning path. Should you learn MCP before hooks? Skills before subagents? You end up skimming everything and mastering nothing. Examples are too basic. A “hello world” slash command doesn’t help you build a production code review pipeline that uses memory, delegates to specialized agents, and runs security scans automatically. You’re leaving 90% of Claude Code’s power on the table — and you don’t know what you don’t know.

问题:你安装了 Claude Code,运行了几个提示词,然后呢?官方文档描述了功能,但没有展示如何组合它们。你知道斜杠命令的存在,但不知道如何将它们与钩子、记忆和子智能体串联成真正节省时间的流程。没有清晰的学习路径。应该先学 MCP 还是钩子?先学技能还是子智能体?你最终只是草草浏览了一切,却什么也没掌握。示例太基础了。“Hello world”斜杠命令无法帮助你构建一个使用记忆、委派给专业智能体并自动运行安全扫描的生产级代码审查流水线。你浪费了 Claude Code 90% 的能力,而且你甚至不知道自己错过了什么。

How Claude How To Fixes This This isn’t another feature reference. It’s a structured, visual, example-driven guide that teaches you to use every Claude Code feature with real-world templates you can copy into your project today. Official Docs This Guide Format Reference documentation Visual tutorials with Mermaid diagrams Depth Feature descriptions How it works under the hood Examples Basic snippets Production-ready templates you use immediately Structure Feature-organized Progressive learning path (beginner to advanced) Onboarding Self-directed Guided roadmap with time estimates Self-Assessment None Interactive quizzes to find your gaps and build a personalized path What you get: 10 tutorial modules covering every Claude Code feature — from slash commands to custom agent teams Copy-paste configs — slash commands, CLAUDE.md templates, hook scripts, MCP configs, subagent definitions, and full plugin bundles Mermaid diagrams showing how each feature works internally, so you understand why, not just how A guided learning path that takes you from beginner to power user in 11-13 hours Built-in self-assessment — run /self-assessment or /lesson-quiz hooks directly in Claude Code to identify gaps Start the Learning Path ->

Claude How To 如何解决此问题:这不是另一份功能参考手册。这是一份结构化、可视化、以示例为导向的指南,教你使用每一个 Claude Code 功能,并提供你可以立即复制到项目中的真实世界模板。官方文档与本指南对比:格式上,官方是参考文档,本指南是带有 Mermaid 图表的可视化教程;深度上,官方是功能描述,本指南解释底层原理;示例上,官方是基础片段,本指南是可立即使用的生产级模板;结构上,官方按功能组织,本指南提供从初级到高级的渐进式学习路径;入门上,官方是自导式,本指南提供带有时间估算的引导式路线图;自我评估上,官方没有,本指南提供交互式测验以发现你的知识缺口并建立个性化路径。你将获得:涵盖所有 Claude Code 功能的 10 个教程模块;可复制粘贴的配置;展示内部工作原理的 Mermaid 图表;11-13 小时的引导式学习路径;内置自我评估功能。开始学习路径 ->

How It Works 1. Find your level Take the self-assessment quiz or run /self-assessment in Claude Code. Get a personalized roadmap based on what you already know. 2. Follow the guided path Work through 10 modules in order — each builds on the last. Copy templates directly into your project as you learn. 3. Combine features into workflows The real power is in combining features. Learn to wire slash commands + memory + subagents + hooks into automated pipelines that handle code reviews, deployments, and documentation generation. 4. Test your understanding Run /lesson-quiz [topic] after each module. The quiz pinpoints what you missed so you can fill gaps fast. Get Started in 15 Minutes

工作原理:1. 寻找你的水平:参加自我评估测验或在 Claude Code 中运行 /self-assessment,根据你已有的知识获取个性化路线图。2. 遵循引导路径:按顺序完成 10 个模块,每个模块都建立在前一个模块的基础上,学习时直接将模板复制到你的项目中。3. 将功能组合成工作流:真正的力量在于组合功能,学习如何将斜杠命令、记忆、子智能体和钩子连接成处理代码审查、部署和文档生成的自动化流水线。4. 测试你的理解:在每个模块后运行 /lesson-quiz [主题],测验会指出你的遗漏之处,以便快速填补空白。15 分钟快速入门。

Trusted by Developers GitHub stars from developers who use Claude Code daily Forks from teams adapting this guide for their own workflows Actively maintained — synced with every Claude Code release (latest: v2.1.302, October 2026) Community-driven — contributions from developers who share their real-world configurations Not Sure Where to Start? Take the self-assessment or pick your level: Level You can… Start here Time Beginner Start Claude Code and chat Slash Commands ~2.5 hours Intermediate Use CLAUDE.md and custom commands Skills ~3.5 hours Advanced Configure MCP servers and hooks Advanced Features ~5 hours Full learning path with all 10 modules: Order Module Level Time 1 Slash Commands Beginner 30 min 2 Memory Beginner+ 45 min 3 Checkpoints Intermediate 45 min 4 CLI Basics Beginner+ 30 min 5 Skills Intermediate 1 hour 6 Hooks Intermediate 1 hour 7 MCP Intermediate+ 1 hour 8 Subagents Intermediate+ 1.5 hours 9 Advanced Features Advanced 2-3 hours 10 Plugins Advanced 2 hours Complete Learning Roadmap ->

开发者信赖:来自每天使用 Claude Code 的开发者的 GitHub 星标;来自将本指南调整为自身工作流的团队的分支;积极维护,与每个 Claude Code 版本同步(最新:v2.1.302,2026 年 10 月);社区驱动,来自分享真实配置的开发者的贡献。不知道从哪里开始?参加自我评估或选择你的水平:初级(启动 Claude Code 和聊天,斜杠命令,约 2.5 小时);中级(使用 CLAUDE.md 和自定义命令,技能,约 3.5 小时);高级(配置 MCP 服务器和钩子,高级功能,约 5 小时)。包含所有 10 个模块的完整学习路径:1. 斜杠命令(初级,30 分钟);2. 记忆(初级+,45 分钟);3. 检查点(中级,45 分钟);4. CLI 基础(初级+,30 分钟);5. 技能(中级,1 小时);6. 钩子(中级,1 小时);7. MCP(中级+,1 小时);8. 子智能体(中级+,1.5 小时);9. 高级功能(高级,2-3 小时);10. 插件(高级,2 小时)。完整学习路线图 ->

Get Started in 15 Minutes Installation note: Starting in v2.1.113, Claude Code ships as a native per-platform binary (macOS/Linux/Windows). The recommended install is the native installer (curl -fsSL https://claude.ai/install.sh | bash); npm installation is deprecated in the official README; prefer the native installer, Homebrew (brew install —cask claude-code) or WinGet (winget install Anthropic.ClaudeCode). For reference, npm install -g @anthropic-ai/claude-code pulls the same native binary through a per-platform optional dependency at install time. As of v2.1.116, downloads come from https://downloads.claude.ai/claude-code-releases — corporate proxies must allowlist this host. # 1. Clone the guide git clone https://github.com/luongnv89/claude-howto.git cd claude-howto # 2. Copy your first slash command mkdir -p /path/to/your-project/.claude/commands cp 01-slash-commands/optimize.md /path/to/your-project/.claude/commands/ # 3. Try it — in Claude Code, type: # /optimize # 4. Ready for more? Set up project memory: cp 02-memory/project-CLAUDE.md /path/to/your-project/CLAUDE.md # 5. Install a skill: cp -r 03-skills/code-review-specialist ~/.claude/skills/ Want the full setup? Here’s the 1-hour essential setup: # Slash commands (15 min) cp 01-slash-commands/*.md .claude/commands/ # Project memory (15 min) cp 02-memory/project-CLAUDE.md ./CLAUDE.md # Install a skill (15 min) cp -r 03-skills/code-review-specialist ~/.claude/skills/ # Weekend goal: add hooks, subagents, MCP, and plugins # Follow the learning path for guided setup View the Full Installation Reference What Can You Build With This? Use Case Features You’ll Combine Automated Code Review Slash Commands + Subagents + Memory + MCP Team Onboarding Memory + Slash Commands + Plugins CI/CD Automation CLI Reference + Hooks + B

15 分钟快速入门:安装说明:从 v2.1.113 开始,Claude Code 作为原生跨平台二进制文件(macOS/Linux/Windows)发布。推荐使用原生安装程序;npm 安装在官方 README 中已被弃用;优先使用原生安装程序、Homebrew 或 WinGet。自 v2.1.116 起,下载源自 https://downloads.claude.ai/claude-code-releases,企业代理必须将此主机加入白名单。# 1. 克隆指南;# 2. 复制你的第一个斜杠命令;# 3. 尝试它;# 4. 准备好更多了吗?设置项目记忆;# 5. 安装技能。想要完整设置?这里是 1 小时的基本设置:斜杠命令(15 分钟)、项目记忆(15 分钟)、安装技能(15 分钟)。周末目标:添加钩子、子智能体、MCP 和插件。查看完整安装参考。你能用它构建什么?用例:自动化代码审查(斜杠命令 + 子智能体 + 记忆 + MCP)、团队入职(记忆 + 斜杠命令 + 插件)、CI/CD 自动化(CLI 参考 + 钩子 + B)。