claude-world-examples
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 19 GitHub stars
Code Basarisiz
- exec() — Shell command execution in templates/github-actions-suite/blog-monitor.yml
- process.env — Environment variable access in templates/github-actions-suite/blog-monitor.yml
- fs module — File system access in templates/github-actions-suite/blog-monitor.yml
- network request — Outbound network request in templates/github-actions-suite/blog-monitor.yml
- process.env — Environment variable access in templates/github-actions-suite/newsletter-trigger.yml
- fs module — File system access in templates/github-actions-suite/newsletter-trigger.yml
- network request — Outbound network request in templates/github-actions-suite/newsletter-trigger.yml
- process.env — Environment variable access in templates/github-actions-suite/social-post.yml
- network request — Outbound network request in templates/github-actions-suite/social-post.yml
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Practical examples & best practices for Claude Code and Director Mode — concepts, guides, templates, case studies
Claude World Examples
Practical examples and best practices for mastering Claude Code - the official AI-powered CLI from Anthropic
v1.3.0 (2026-10-21): every concept, example, guide, and template is updated for Claude Code 2.1.x, the Claude 5.5 models, and anthropics/claude-code-action@v1, and CI now validates the code samples and links. See the CHANGELOG.
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. This repository is the companion to claude-world.com: the articles explain the ideas, and the files here are the copy-paste examples.
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, skills, subagents, memory, effort levels, and more
What the Examples Target
| Area | Version |
|---|---|
| Claude Code | 2.1.x (checked against 2.1.305) |
| Models | Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.1 |
| GitHub Action | anthropics/claude-code-action@v1 |
| Claude API | Messages API, anthropic-version: 2023-06-01 |
| Workflow templates | Node.js 24, actions/checkout@v7 |
Retired model IDs such as claude-sonnet-4-20250514 no longer work; every example uses current IDs.
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
Most pages have a Traditional Chinese translation in a zh-TW/ folder next to them.
Content Overview
Core Concepts
| Concept | Description | Difficulty |
|---|---|---|
| Director Mode Basics | The mindset shift that 10x your productivity | Beginner |
| CLAUDE.md Principles | How to write effective project instructions | Beginner |
| Hooks Basics | Automated policies and guardrails | Beginner |
| MCP Basics | Extend Claude with external tools and databases | Beginner |
| Memory System | CLAUDE.md, auto memory, and the Memory MCP | Beginner |
| CLAUDE.md Anti-Patterns | Common mistakes and how to fix them | Intermediate |
| Parallel Agents | Run subagents in parallel for faster results | Intermediate |
| AI-Assisted Workflow | Leverage Claude Code as a force multiplier | Intermediate |
| Multi-AI Workflow | Coordinate Claude, Codex, and Gemini CLI | Advanced |
Practical Examples
| Example | Description | Use Case |
|---|---|---|
| Simple CLAUDE.md | A minimal but effective CLAUDE.md template | Getting started |
| Bug Hunting Pattern | Use parallel agents to find bugs fast | Debugging |
| Feature Development | Structured approach to building features | Implementation |
| Refactoring Patterns | Systematic code improvement with Claude | Code quality |
| Hooks Patterns | Production-ready hook configurations | Automation |
| MCP Setup | Complete MCP configuration recipes | Integration |
| Trend Pulse: Basic Trending | Query live topics with get_trending and search_trends |
Research |
| Trend Pulse: Content Brief | Turn trending signals into a content brief | Content strategy |
| CF Browser: Screenshot Capture | Capture and inspect rendered pages with browser MCP tools | QA |
| CF Browser: Page Scraping | Scrape JavaScript-rendered pages through a browser session | Web data |
| GitHub Actions Automation | Claude API workflows and the Claude Code GitHub Action | CI/CD |
| Multi-Language Astro | Complete multi-language website setup | i18n |
| Supabase + Cloudflare | Full-stack with free hosting and database | Full-stack |
| Newsletter System | Complete multi-language newsletter architecture | |
| Content Pipeline | Automated content generation and distribution | Automation |
| Social Media Automation | X/Threads API with Claude-generated posts | Social |
| RSS Feed Astro | Multi-language RSS feeds with Astro | Content |
| React Components | Common UI patterns for Claude Code projects | UI |
| API Endpoint Patterns | Cloudflare Edge API design patterns | Backend |
Guides
| Guide | Description | Time |
|---|---|---|
| Agents Guide | Built-in and custom subagents, from Explore to your own | 25 min |
| Extended Thinking | Effort levels, ultrathink, and when to reason deeper |
15 min |
| Quick Reference Cards | One-page visual guides for fast lookup | 5 min |
| Production Readiness | Checklist before shipping to production | 15 min |
| Security Best Practices | Build secure applications and lock down Claude Code | 20 min |
| Specification-Driven Development | Write specs first, implement reliably | 30 min |
| Designing Agents | Create project-specific custom subagents | 20 min |
| Designing Skills | Build reusable skills and slash commands | 20 min |
Templates
| Template | Description |
|---|---|
| CLAUDE.md by Framework | Ready-to-use templates for React, Next.js, Python, Go, and more |
| Release Monitor Workflow | GitHub Actions workflow for automated release monitoring |
| GitHub Actions Suite | Claude Code @claude assistant and PR review, plus CI, monitoring, social, and newsletter workflows |
Case Studies
| Case Study | Description |
|---|---|
| 48-Hour Website | Building claude-world.com from zero to production in 48 hours |
Topics Covered on claude-world.com
The website covers these advanced topics in depth:
| Topic | Article |
|---|---|
| Fundamentals | From Operator to Director: The Mindset Shift |
| Framework | The Director Mode Framework |
| Configuration | CLAUDE.md Design Principles |
| Agents | Claude Code Agents: Complete Guide |
| Multi-Agent | Multi-Agent Architecture Patterns |
| Skills | Claude Code Skills: Complete Guide |
| Hooks | Claude Code Hooks: Automated Policies |
| MCP | Model Context Protocol Guide |
| Memory | Building Persistent Project Intelligence |
| Context7 | Access Up-to-Date Documentation |
| Extended Thinking | Unlock Deeper Reasoning |
| SpecKit | Specification-Driven Development |
| Debugging | Advanced Debugging Techniques |
| Security | Security-First Development |
| CI/CD | Pipeline Integration |
Quick Start
1. Install Claude Code
# macOS, Linux, WSL
curl -fsSL https://claude.ai/install.sh | bash
# Homebrew
brew install --cask claude-code
On Windows, run irm https://claude.ai/install.ps1 | iex in PowerShell or winget install Anthropic.ClaudeCode. Installing with npm still works but is deprecated. Update later with claude update.
2. Create a CLAUDE.md in your project
Run /init inside Claude Code to generate one from your codebase, or start from this:
# 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
CLAUDE.md is guidance. To enforce the "Requires Confirmation" list, add permission rules to .claude/settings.json:
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"ask": ["Bash(git push *)", "Bash(rm *)"],
"deny": ["Read(./.env)", "Read(./.env.*)"]
}
}
3. Start Claude Code
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
- Goals over Instructions - Define outcomes, not steps
- Team Delegation - Trust parallel agents to work concurrently
- Outcome Verification - Review results, not every action
Model Selection
Choose the right model for each task:
| Model | Best For | Speed | Cost |
|---|---|---|---|
| Haiku 5.5 | High-volume, latency-sensitive work: classification, extraction, quick searches | Fastest | Low |
| Sonnet 5.5 | Implementation, code review, refactoring | Fast | Medium |
| Opus 5.5 | Architecture decisions, security audits, long-running agentic work | Moderate | High |
| Fable 5.1 | Demanding reasoning and long-horizon agentic work; select it explicitly | Slower | Highest |
Quick tips: Switch with /model (or Option+P on macOS, Alt+P on Windows/Linux) and set reasoning depth with /effort. In the Claude API, use the full IDs claude-haiku-5-5, claude-sonnet-5-5, claude-opus-5-5, and claude-fable-5-1.
Quality Checks
Every pull request runs the Validate workflow:
- yamllint and actionlint (with shellcheck) on every workflow template
- Code blocks: every
jsoncode block must be valid JSON, everyyamlblock must parse, and complete workflows inside Markdown are linted with actionlint - lychee checks every link in every Markdown file (also weekly, to catch link rot)
See CONTRIBUTING.md to run the same checks locally.
Community
- Website: claude-world.com
- Discord: Claude Code Builders Taiwan
- Twitter: @lukashanren1
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
How to Contribute
- Examples: Add practical examples showing patterns in action
- Templates: Create CLAUDE.md templates for different frameworks
- Guides: Write in-depth guides on specific topics
- Translations: Help translate content to other languages
For discussions and questions, join our Discord community.
Security
Found a problem in an example or template that could harm someone who copies it? Please report it privately; see SECURITY.md.
License
MIT License - see LICENSE
Built with Claude Code by the Claude World community.
Last updated: 2026-10-21
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi