An open API service indexing awesome lists of open source software.

https://github.com/claude-world/claude-world-examples

Practical examples & best practices for Claude Code and Director Mode — concepts, guides, templates, case studies
https://github.com/claude-world/claude-world-examples

best-practices claude-code director-mode examples tutorials

Last synced: 3 months ago
JSON representation

Practical examples & best practices for Claude Code and Director Mode — concepts, guides, templates, case studies

Awesome Lists containing this project

README

          

# Claude World Examples

> Practical examples and best practices for mastering Claude Code - the official AI-powered CLI from Anthropic

[![Website](https://img.shields.io/badge/Website-claude--world.com-blue)](https://claude-world.com)
[![Discord](https://img.shields.io/badge/Discord-Join%20Community-7289da)](https://discord.gg/rBtHzSD288)
[![Version](https://img.shields.io/badge/version-1.2.0-green)](https://github.com/claude-world/claude-world-examples/releases/tag/v1.2.0)

---

**🎉 v1.2.0 Released!** Website is now live at [claude-world.com](https://claude-world.com) - built from zero to production in 48 hours using Claude Code + Director Mode.

---

## What is Claude World?

Claude World is a community dedicated to helping developers master **Claude Code** - Anthropic's official CLI for AI-assisted software development.

We focus on:
- **Director Mode** - A mindset shift from "hands-on developer" to "team director"
- **Efficient Workflows** - Parallel agents, minimal interruption, autonomous execution
- **Best Practices** - Battle-tested patterns from real production projects
- **Advanced Features** - Hooks, MCP, Memory, Extended Thinking, and more

## Repository Structure

```
claude-world-examples/
├── concepts/ # Core concepts and mental models
├── examples/ # Practical code examples
├── guides/ # In-depth guides and tutorials
├── templates/ # Ready-to-use templates (CLAUDE.md, workflows)
└── case-studies/ # Real-world project case studies
```

## Content Overview

### Core Concepts

| Concept | Description | Difficulty |
|---------|-------------|------------|
| [Director Mode Basics](./concepts/director-mode-basics.md) | The mindset shift that 10x your productivity | Beginner |
| [CLAUDE.md Principles](./concepts/claude-md-principles.md) | How to write effective project instructions | Beginner |
| [Hooks Basics](./concepts/hooks-basics.md) | Automated policies and guardrails | Beginner |
| [MCP Basics](./concepts/mcp-basics.md) | Extend Claude with external tools and databases | Beginner |
| [Memory System](./concepts/memory-system.md) | Build persistent project intelligence | Beginner |
| [CLAUDE.md Anti-Patterns](./concepts/claude-md-anti-patterns.md) | Common mistakes and how to fix them | Intermediate |
| [Parallel Agents](./concepts/parallel-agents.md) | Run 5 agents simultaneously for faster results | Intermediate |
| [AI-Assisted Workflow](./concepts/ai-assisted-workflow.md) | Leverage Claude Code as a force multiplier | Intermediate |
| [Multi-AI Workflow](./concepts/multi-ai-workflow.md) | Coordinate Claude, Codex, and Gemini CLI | Advanced |

### Practical Examples

| Example | Description | Use Case |
|---------|-------------|----------|
| [Simple CLAUDE.md](./examples/simple-claude-md.md) | A minimal but effective CLAUDE.md template | Getting started |
| [Bug Hunting Pattern](./examples/bug-hunting.md) | Use parallel agents to find bugs fast | Debugging |
| [Feature Development](./examples/feature-development.md) | Structured approach to building features | Implementation |
| [Refactoring Patterns](./examples/refactoring-patterns.md) | Systematic code improvement with Claude | Code quality |
| [Hooks Patterns](./examples/hooks-patterns.md) | Production-ready hook configurations | Automation |
| [MCP Setup](./examples/mcp-setup.md) | Complete MCP configuration recipes | Integration |
| [Trend Pulse: Basic Trending](./examples/trend-pulse/basic-trending.md) | Query live topics with `get_trending` and `search_trends` | Research |
| [Trend Pulse: Content Brief](./examples/trend-pulse/content-brief.md) | Turn trending signals into a content brief | Content strategy |
| [CF Browser: Screenshot Capture](./examples/cf-browser/screenshot-capture.md) | Capture and inspect rendered pages with browser MCP tools | QA |
| [CF Browser: Page Scraping](./examples/cf-browser/page-scraping.md) | Scrape JavaScript-rendered pages through a browser session | Web data |
| [GitHub Actions Automation](./examples/github-actions-automation.md) | Build automated workflows with Claude API | CI/CD |
| [Multi-Language Astro](./examples/multi-language-astro.md) | Complete multi-language website setup | i18n |
| [Supabase + Cloudflare](./examples/supabase-cloudflare-integration.md) | Full-stack with free hosting and database | Full-stack |
| [Newsletter System](./examples/newsletter-system.md) | Complete multi-language newsletter architecture | Email |
| [Content Pipeline](./examples/content-pipeline.md) | Automated content generation and distribution | Automation |
| [Social Media Automation](./examples/social-media-automation.md) | X/Threads API with Claude-generated posts | Social |
| [RSS Feed Astro](./examples/rss-feed-astro.md) | Multi-language RSS feeds with Astro | Content |
| [React Components](./examples/react-components.md) | Common UI patterns for Claude Code projects | UI |
| [API Endpoint Patterns](./examples/api-endpoint-patterns.md) | Cloudflare Edge API design patterns | Backend |

### Guides

| Guide | Description | Time |
|-------|-------------|------|
| [Agents Guide](./guides/agents-guide.md) | Complete guide to all Claude Code agents | 25 min |
| [Extended Thinking](./guides/extended-thinking.md) | Unlock deeper reasoning with thinking mode | 15 min |
| [Quick Reference Cards](./guides/quick-reference.md) | One-page visual guides for fast lookup | 5 min |
| [Production Readiness](./guides/production-readiness.md) | Checklist before shipping to production | 15 min |
| [Security Best Practices](./guides/security-best-practices.md) | Build secure applications from the start | 20 min |
| [Specification-Driven Development](./guides/specification-driven-development.md) | Write specs first, implement reliably | 30 min |
| [Designing Agents](./guides/designing-agents.md) | Create project-specific custom agents | 20 min |
| [Designing Skills](./guides/designing-skills.md) | Build reusable slash command workflows | 20 min |

### Templates

| Template | Description |
|----------|-------------|
| [CLAUDE.md by Framework](./templates/claude-md-templates.md) | Ready-to-use templates for React, Next.js, Python, Go, and more |
| [Release Monitor Workflow](./templates/release-monitor-workflow.yml) | GitHub Actions workflow for automated release monitoring |
| [GitHub Actions Suite](./templates/github-actions-suite/) | Complete automation suite (CI, monitoring, social, newsletter) |

### Case Studies

| Case Study | Description |
|------------|-------------|
| [48-Hour Website](./case-studies/48-hour-website.md) | Building claude-world.com from zero to production in 48 hours |

## Topics Covered on claude-world.com

The website covers these advanced topics (examples coming soon):

| Topic | Article |
|-------|---------|
| **Fundamentals** | [From Operator to Director: The Mindset Shift](https://claude-world.com/articles/mindset-shift) |
| **Framework** | [The Director Mode Framework](https://claude-world.com/articles/director-mode) |
| **Configuration** | [CLAUDE.md Design Principles](https://claude-world.com/articles/claude-md-design) |
| **Agents** | [Claude Code Agents: Complete Guide](https://claude-world.com/articles/agents-guide) |
| **Multi-Agent** | [Multi-Agent Architecture Patterns](https://claude-world.com/articles/multi-agent-patterns) |
| **Skills** | [Claude Code Skills: Complete Guide](https://claude-world.com/articles/skills-guide) |
| **Hooks** | [Claude Code Hooks: Automated Policies](https://claude-world.com/articles/hooks-guide) |
| **MCP** | [Model Context Protocol Guide](https://claude-world.com/articles/mcp-guide) |
| **Memory** | [Building Persistent Project Intelligence](https://claude-world.com/articles/memory-system-guide) |
| **Context7** | [Access Up-to-Date Documentation](https://claude-world.com/articles/context7-integration) |
| **Extended Thinking** | [Unlock Deeper Reasoning](https://claude-world.com/articles/extended-thinking-guide) |
| **SpecKit** | [Specification-Driven Development](https://claude-world.com/articles/speckit-guide) |
| **Debugging** | [Advanced Debugging Techniques](https://claude-world.com/articles/debugging-techniques) |
| **Security** | [Security-First Development](https://claude-world.com/articles/security-first) |
| **CI/CD** | [Pipeline Integration](https://claude-world.com/articles/cicd-integration) |

## Quick Start

### 1. Install Claude Code

```bash
npm install -g @anthropic-ai/claude-code
```

### 2. Create a CLAUDE.md in your project

```markdown
# Project Instructions

## Tech Stack
- [Your framework]
- [Your database]

## Development Guidelines
- Run tests before committing
- Use TypeScript strict mode

## Autonomous Operations
- Read any file
- Run tests
- Create/modify source files

## Requires Confirmation
- Push to remote
- Delete files
- Modify environment variables
```

### 3. Start Claude Code

```bash
claude
```

## The Director Mode Mindset

### Traditional approach (Hands-on Developer Mode):
```
You: "Can you help me fix this bug?"
Claude: "Sure, I can help. First, let me ask..."
You: [waits for questions]
Claude: [asks 5 questions]
You: [answers questions]
Claude: [finally starts working]
```

### Director Mode approach:
```
You: "Fix the login bug"
Claude: [immediately launches 3 parallel agents]
[Agent 1: searches for auth code]
[Agent 2: checks error logs]
[Agent 3: reviews recent changes]
[finds and fixes the bug]
[commits with clear message]
You: [reviews the completed work]
```

**Key principle**: You're the Director. Claude is your autonomous team. Define goals, let them execute.

### The Three Pillars

1. **Goals over Instructions** - Define outcomes, not steps
2. **Team Delegation** - Trust parallel agents to work concurrently
3. **Outcome Verification** - Review results, not every action

## Model Selection

Choose the right model for each task:

| Model | Best For | Speed | Cost |
|-------|----------|-------|------|
| **Haiku 4.5** | Explore agents, file searches, pattern matching | Fast | Low |
| **Sonnet 4.6** | Implementation, code review, refactoring | Balanced | Medium |
| **Opus 4.6** | Architecture decisions, security audits, complex reasoning | Thorough | High |

**Quick tip**: Press `Option+P` (macOS) or `Alt+P` (Windows/Linux) to switch models during prompting.

## Community

- **Website**: [claude-world.com](https://claude-world.com)
- **Discord**: [Claude Code Builders Taiwan](https://discord.gg/rBtHzSD288)
- **Twitter**: [@lukashanren1](https://twitter.com/lukashanren1)

## Contributing

We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.

### How to Contribute

1. **Examples**: Add practical examples showing patterns in action
2. **Templates**: Create CLAUDE.md templates for different frameworks
3. **Guides**: Write in-depth guides on specific topics
4. **Translations**: Help translate content to other languages

For discussions and questions, join our [Discord community](https://discord.gg/rBtHzSD288).

## License

MIT License - see [LICENSE](./LICENSE)

---

Built with Claude Code by the Claude World community.

*Last updated: 2026-03-14*