claude-code-ultimate-guide/examples
Florian BRUNIAUX 2f84c2a769 feat(guide): comprehensive improvements - troubleshooting, CLI ref, pitfalls, DeepSeek
MAJOR ENHANCEMENTS:

## README Updates
- Add pedagogical approach section emphasizing learning journey over reference manual
- Reference zebbern/claude-code-guide as key inspiration for troubleshooting
- Clarify guide philosophy: mentor for mastering Claude Code

## Main Guide (english-ultimate-claude-code-guide.md)

### New Sections Added:
1. **Status Overview Table** - Section completeness at a glance
2. **Section 10.3: CLI Flags Complete Reference**
   - 19 flags with descriptions and examples
   - Common flag combinations
   - Safety guidelines table
3. **Section 10.4: Enhanced MCP Troubleshooting**
   - 3 common errors with solutions (tool validation, server not found, Windows paths)
   - MCP debugging techniques (logs, manual testing)
   - One-shot health check scripts (PowerShell + Bash)
   - Full clean reinstall procedures (Windows + macOS/Linux)
4. **Section 9.11: Common Pitfalls & Best Practices**
   - Security pitfalls (Do/Don't + working hook example)
   - Performance pitfalls (context strategy, thinking levels)
   - Workflow pitfalls (prompt format template)
   - Collaboration pitfalls (team coordination)
   - Cost optimization pitfalls (model selection table)
   - Learning pitfalls (progressive adoption checklist)
5. **Section 11: DeepSeek Integration**
   - Complete setup (Windows/macOS/Linux)
   - Cost comparison (98% savings)
   - Use cases and limitations
   - Provider switching strategies
6. **Appendix A: File Locations Reference**
   - Platform-specific paths (Windows/macOS/Linux)
   - Quick access commands
   - Environment variables reference
   - Recommended .gitignore

## Cheatsheet (cheatsheet-en.md)
- Add CLI Flags Quick Reference table
- Add Common Issues Quick Fix table
- Add Health Check one-liners
- Add Cost Optimization section
- Update to version 2.0

## GitHub Actions (examples/github-actions/)
- **claude-pr-auto-review.yml**: Comprehensive review workflow
  - 8 focus areas (correctness, security, performance, etc.)
  - Priority-based feedback (🔴🟡🟢💡)
  - Smart file filtering
  - Draft PR detection
  - Error handling + fallback comments
- **README.md**: Update workflow #1 documentation with new features

## Documentation Quality
- All examples are practical and tested
- Platform-specific instructions throughout
- Do/Don't format for quick scanning
- Cross-references to zebbern guide where appropriate
- Maintains pedagogical tone established in original guide

IMPACT: Guide now provides exceptional troubleshooting resources, complete CLI reference, real-world integration patterns, and cost-effective alternatives while maintaining focus on learning journey.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 15:47:26 +01:00
..
agents feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
commands feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
config feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
github-actions feat(guide): comprehensive improvements - troubleshooting, CLI ref, pitfalls, DeepSeek 2026-01-10 15:47:26 +01:00
hooks feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
memory feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
skills feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
README.md feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00

Claude Code Examples

Ready-to-use templates for Claude Code configuration.

Structure

Folder Description
agents/ Custom AI personas for specialized tasks
skills/ Reusable knowledge modules
commands/ Custom slash commands
hooks/ Event-driven automation scripts
config/ Configuration file templates
memory/ CLAUDE.md memory file templates

Quick Start

  1. Copy the template you need
  2. Customize for your project
  3. Place in the correct location (see paths below)

File Locations

Type Project Location Global Location
Agents .claude/agents/ ~/.claude/agents/
Skills .claude/skills/ ~/.claude/skills/
Commands .claude/commands/ ~/.claude/commands/
Hooks .claude/hooks/ ~/.claude/hooks/
Config .claude/ ~/.claude/
Memory ./CLAUDE.md or .claude/CLAUDE.md ~/.claude/CLAUDE.md

Windows: Replace ~/.claude/ with %USERPROFILE%\.claude\

Templates Index

Agents

File Purpose Model
code-reviewer.md Thorough code review Sonnet
test-writer.md TDD/BDD test generation Sonnet
security-auditor.md Security vulnerability detection Sonnet
refactoring-specialist.md Clean code refactoring Sonnet

Skills

File Purpose
tdd-workflow.md Test-Driven Development process
security-checklist.md OWASP Top 10 security checks

Commands

File Trigger Purpose
commit.md /commit Conventional commit messages
review-pr.md /review-pr PR review workflow
generate-tests.md /generate-tests Test generation

Hooks

File Event Purpose
security-check.* PreToolUse Block secrets in commands
auto-format.* PostToolUse Auto-format after edits

Config

File Purpose
settings.json Hooks configuration
mcp.json MCP servers setup
.gitignore-claude Git ignore patterns

Memory

File Purpose
CLAUDE.md.project-template Team project memory
CLAUDE.md.personal-template Personal global memory

See the main guide for detailed explanations.