claude-code-learning
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseClaude Code Learning Skill
Claude Code学习技能
Master Claude Code configuration and optimization
精通Claude Code配置与优化
Actions
操作指令
| Action | Description | Example |
|---|---|---|
| Start learning guide | |
| Auto-generate settings | |
| Latest features guide | |
| 操作 | 描述 | 示例 |
|---|---|---|
| 启动学习指南 | |
| 自动生成设置 | |
| 最新功能指南 | |
learn [level]
learn [等级]
Learning content by level:
- Level 1: Basics - Writing CLAUDE.md, Using Plan Mode
- Level 2: Automation - Commands, Hooks, Permission management
- Level 3: Specialization - Agents, Skills, MCP integration
- Level 4: Team Optimization - GitHub Action, Team rule standardization
- Level 5: PDCA Methodology - bkit methodology learning
按等级划分的学习内容:
- Level 1:基础 - 编写CLAUDE.md、使用计划模式
- Level 2:自动化 - 命令、钩子、权限管理
- Level 3:专业化 - Agents、Skills、MCP集成
- Level 4:团队优化 - GitHub Action、团队规则标准化
- Level 5:PDCA方法论 - bkit方法论学习
setup
setup
Auto-generate appropriate settings after analyzing current project:
- Analyze/generate CLAUDE.md
- Check .claude/ folder structure
- Suggest required configuration files
分析当前项目后自动生成合适的设置:
- 分析/生成CLAUDE.md
- 检查.claude/文件夹结构
- 建议所需的配置文件
upgrade
upgrade
Guide to latest Claude Code features and best practices.
指导了解Claude Code的最新功能与最佳实践。
Learning Levels
学习等级
Level 1: Basics (15 min)
Level 1:基础(15分钟)
markdown
undefinedmarkdown
undefinedWhat is CLAUDE.md?
什么是CLAUDE.md?
A shared knowledge repository for the team. When Claude makes mistakes,
add rules to prevent the same mistakes from recurring.
团队共享的知识库。当Claude出现错误时,添加规则以防止重复犯错。
Example
示例
Development Workflow
开发工作流
Package Management
包管理
- Always use (
pnpm,npmprohibited)yarn
- 始终使用(禁止使用
pnpm、npm)yarn
Coding Conventions
编码规范
- Prefer , avoid
typeinterface - Never use → Use string literal unions
enum
- 优先使用,避免
typeinterface - 绝不使用→ 使用字符串字面量联合类型
enum
Prohibited
禁止事项
- ❌ No console.log (use logger)
- ❌ No any type
undefined- ❌ 禁止console.log(使用logger)
- ❌ 禁止any类型
undefinedLevel 2: Automation (30 min)
Level 2:自动化(30分钟)
markdown
undefinedmarkdown
undefinedWhat are Slash Commands?
什么是斜杠命令?
Execute repetitive daily tasks with .
/command-name使用执行日常重复任务。
/command-nameCommand Location
命令位置
.claude/commands/{command-name}.md
.claude/commands/{command-name}.md
PostToolUse Hook
PostToolUse钩子
Auto-formatting after code modification:
// .claude/settings.local.json
{
"hooks": {
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "pnpm format || true"
}]
}]
}
}
undefined代码修改后自动格式化:
// .claude/settings.local.json
{
"hooks": {
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "pnpm format || true"
}]
}]
}
}
undefinedLevel 3: Specialization (45 min)
Level 3:专业化(45分钟)
markdown
undefinedmarkdown
undefinedWhat are Sub-agents?
什么是子Agent?
AI agents specialized for specific tasks.
专门用于特定任务的AI Agent。
What are Skills?
什么是Skills?
Domain-specific expert context. Claude auto-references when working on related tasks.
特定领域的专家上下文。Claude处理相关任务时会自动引用。
MCP Integration
MCP集成
Connect external tools (Slack, GitHub, Jira, etc.) via .mcp.json.
undefined通过.mcp.json连接外部工具(Slack、GitHub、Jira等)。
undefinedLevel 4: Team Optimization (1 hour)
Level 4:团队优化(1小时)
markdown
undefinedmarkdown
undefinedPR Automation with GitHub Action
借助GitHub Action实现PR自动化
Mention @claude in PR comments to auto-update documentation.
在PR评论中提及@claude以自动更新文档。
Team Rule Standardization
团队规则标准化
- Manage CLAUDE.md with Git
- Add rules during PR review
- Gradually accumulate team knowledge
- 使用Git管理CLAUDE.md
- 在PR评审时添加规则
- 逐步积累团队知识
Agent Teams (v1.5.1)
Agent Teams(v1.5.1)
Parallel PDCA execution with multiple AI agents working simultaneously.
Requirements:
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
Usage:
/pdca team {feature} Start team mode
/pdca team status Check teammate progress
/pdca team cleanup End team session
Team composition by level:
Dynamic: 2 teammates (developer, qa)
Enterprise: 4 teammates (architect, developer, qa, reviewer)
undefined多个AI Agent同时工作,并行执行PDCA。
要求:
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
用法:
/pdca team {feature} 启动团队模式
/pdca team status 查看团队成员进度
/pdca team cleanup 结束团队会话
按等级划分的团队组成:
Dynamic: 2名成员(开发人员、QA)
Enterprise: 4名成员(架构师、开发人员、QA、评审人员)
undefinedLevel 5: PDCA Methodology
Level 5:PDCA方法论
markdown
undefinedmarkdown
undefinedWhat is PDCA?
什么是PDCA?
Document-driven development methodology.
Plan → Design → Do → Check → Act
文档驱动的开发方法论。
计划 → 设计 → 执行 → 检查 → 改进
Folder Structure
文件夹结构
docs/
├── 01-plan/ # Planning
├── 02-design/ # Design
├── 03-analysis/ # Analysis
└── 04-report/ # Reports
docs/
├── 01-plan/ # 规划
├── 02-design/ # 设计
├── 03-analysis/ # 分析
└── 04-report/ # 报告
Learn More
了解更多
Use /pdca skill to learn PDCA methodology.
undefined使用/pdca skill学习PDCA方法论。
undefinedLevel 6: Advanced Features (v1.5.1)
Level 6:高级功能(v1.5.1)
markdown
undefinedmarkdown
undefinedOutput Styles
输出样式
Customize how Claude responds based on your project level.
Available styles:
bkit-learning Best for beginners (learning points, TODO markers)
bkit-pdca-guide Best for PDCA workflows (status badges, checklists)
bkit-enterprise Best for architects (tradeoff analysis, cost impact)
Usage:
/output-style Select interactively
/output-style bkit-learning Apply directly
Auto-recommendation:
Starter → bkit-learning
Dynamic → bkit-pdca-guide
Enterprise → bkit-enterprise
根据项目等级自定义Claude的响应方式。
可用样式:
bkit-learning 适合初学者(学习要点、TODO标记)
bkit-pdca-guide 适合PDCA工作流(状态徽章、检查清单)
bkit-enterprise 适合架构师(权衡分析、成本影响)
用法:
/output-style 交互式选择
/output-style bkit-learning 直接应用
自动推荐:
Starter → bkit-learning
Dynamic → bkit-pdca-guide
Enterprise → bkit-enterprise
Agent Memory
Agent记忆
All bkit agents automatically remember context across sessions.
No configuration needed.
Memory scopes:
project 9 agents remember per-project context (.claude/agent-memory/)
user 2 agents remember cross-project learning (~/.claude/agent-memory/)
Agents with user-scope memory:
starter-guide Remembers your learning progress across projects
pipeline-guide Remembers your pipeline preferences globally
所有bkit Agent会自动跨会话记住上下文。无需配置。
记忆范围:
project 每个项目有9个Agent记住上下文(.claude/agent-memory/)
user 2个Agent记住跨项目学习内容(~/.claude/agent-memory/)
拥有用户范围记忆的Agent:
starter-guide 记住你跨项目的学习进度
pipeline-guide 记住你全局的流水线偏好
Agent Teams
Agent Teams
Parallel PDCA execution for Dynamic and Enterprise projects.
See Level 4 for details.
undefined为Dynamic和Enterprise项目提供并行PDCA执行。详情见Level 4。
undefinedOutput Format
输出格式
📚 Claude Code Learning Complete!
**Current Level**: {level}
**Learned**: {summary}
🎯 Next Steps:
- Continue learning with /claude-code-learning learn {next_level}
- Auto-generate settings with /claude-code-learning setup
- Check latest trends with /claude-code-learning upgrade📚 Claude Code学习完成!
**当前等级**:{level}
**已学习内容**:{summary}
🎯 下一步:
- 使用/claude-code-learning learn {next_level}继续学习
- 使用/claude-code-learning setup自动生成设置
- 使用/claude-code-learning upgrade了解最新趋势Current Settings Analysis
当前设置分析
Files to analyze:
- CLAUDE.md (root)
- .claude/settings.local.json
- .claude/commands/
- .claude/agents/
- .claude/skills/
- .mcp.json
需要分析的文件:
- CLAUDE.md(根目录)
- .claude/settings.local.json
- .claude/commands/
- .claude/agents/
- .claude/skills/
- .mcp.json