Claude Code learning guide
Analyzes your Claude Code configuration and provides personalized education to advance through mastery levels.
/plugin marketplace add popup-studio-ai/bkit-claude-code/plugin install bkit@bkit-marketplaceEducates users on how to configure Claude Code. Works across any project, any language.
/learn-claude-code [level]
Problem: Need to re-explain Claude Code usage every new session
Solution: Provide consistent education through this command
Must read the following documents first:
.claude/docs/CLAUDE-CODE-MASTERY.md # Table of contents and core concepts
.claude/docs/mastery/04-curriculum.md # Education curriculum
.claude/docs/mastery/02-language-templates.md # Language-specific templates
.claude/docs/mastery/03-project-structures.md # Project structure guides
Reference appropriate files based on needed content.
Analyze the project's Claude Code configuration status:
# Files/folders to check
- CLAUDE.md (root)
- .claude/settings.local.json
- .claude/commands/
- .claude/agents/
- .claude/skills/
- .mcp.json
- .github/workflows/claude-docs-update.yml
The following files/folders are default files of this learning system and should be excluded when determining level:
# Files/folders to exclude (not counted as user settings)
- .claude/commands/learn-claude-code.md # Learning command
- .claude/commands/setup-claude-code.md # Setup generation command
- .claude/commands/upgrade-claude-code.md # Upgrade command
- .claude/docs/ # Entire master guide documents
Examples:
.claude/commands/ only has the above 3 files → Determine as "No Commands".claude/commands/commit.md is additionally present → Determine as "Commands exist"| Level | Condition | Learning Content |
|---|---|---|
| 1 | No CLAUDE.md | Basics: How to write CLAUDE.md, Plan Mode |
| 2 | Only CLAUDE.md | Automation: Commands, Hooks, Permission management |
| 3 | Commands/Hooks exist | Specialization: Agents, Skills, MCP |
| 4 | Most settings complete | Team Optimization: GitHub Action, Team rules |
Provide education matching the selected level:
## What is CLAUDE.md?
It's your team's shared knowledge repository. When Claude makes mistakes,
add rules so the same mistakes aren't repeated.
## Example
# Development Workflow
## Package Management
- **Always use `pnpm`** (`npm`, `yarn` prohibited)
## Coding Conventions
- Prefer `type`, avoid `interface`
- **Never use `enum`** → Use string literal unions
## Prohibited
- ❌ No console.log (use logger)
- ❌ No any type
## Practice
Create CLAUDE.md right now!
## What are Slash Commands?
Execute repetitive daily tasks with `/command-name`.
## Command Location
.claude/commands/{command-name}.md
## Example: /commit-push-pr
# Commit, Push, Create PR
## Tasks
1. Check git status
2. git add -A
3. Generate commit message (conventional commits)
4. git push
5. gh pr create
## PostToolUse Hook
Automatically run formatting after code modifications.
// .claude/settings.local.json
{
"hooks": {
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "pnpm format || true"
}]
}]
}
}
## What are Sub-agents?
AI agents specialized for specific tasks.
## Example: build-validator.md
# Build Validation Agent
Validates that builds completed successfully.
## Tasks
1. Run pnpm -r build
2. Check for build errors
## Success Criteria
- All modules build successfully
- dist/ folder creation confirmed
## What are Skills?
Domain-specific expert contexts. Claude automatically references them for related work.
## Skill Creation (Hybrid Approach)
Step 1: Common Skills (Auto-generated)
- {project}-architecture: Overall architecture
- {project}-testing: Test patterns
Step 2: Detect Project Type
- modules/ → Hexagonal/DDD
- packages/ → Monorepo
- components/ → Frontend
Step 3: Type-specific Skill Suggestions (User confirmation)
## MCP Connection
Connect external tools (Slack, GitHub, Jira, etc.) via .mcp.json.
## Automate PRs with GitHub Action
Mention @claude in PR comments to automatically update documentation.
## Example
bcherny: @claude Add enum prohibition rule to CLAUDE.md
claude (bot): Added enum guidelines to CLAUDE.md!
## Configuration File
.github/workflows/claude-docs-update.yml
## Team Rule Standardization
1. Manage CLAUDE.md with Git
2. Add rules during PR reviews
3. Gradually accumulate team knowledge
After completing current level, guide to proceed to next level.
📚 Claude Code Learning Complete!
**Current Level**: {level}
**Learned**: {summary}
🎯 Next Steps:
- Continue learning with /learn-claude-code {next_level}
- Auto-generate settings with /setup-claude-code
- Check latest trends with /upgrade-claude-code
## What is PDCA?
A document-driven development methodology. Claude applies it automatically.
Plan → Do (Design/Implement) → Check (Analyze) → Act (Improve)
## Core Principles
User: "Create a login feature"
Claude: 1. Check docs/02-design/ → Design first
2. Generate design document from template
3. Implement after design approval
4. Suggest Gap analysis after completion
## Folder Structure
docs/
├── 01-plan/ # Planning
├── 02-design/ # Design
├── 03-analysis/ # Analysis
└── 04-report/ # Reports
## Detailed Learning
- .claude/docs/pdca/overview.md
- .claude/docs/prompts/ (Prompt examples)