Claude Code Handbook
编写专业 Claude 标准提示词的综合指南,集成 MCP、Skills 与 Superpowers,遵循官方 Claude 4.x 最佳实践。
Introduction
This repository is automatically kept up to date. Every week, an AI agent researches the latest Claude, Anthropic, MCP, and AI news — then opens a PR with updates across all guides, skills, and templates. I review and merge it manually. You're always reading current information.
This repo runs on API credits — every coffee keeps it alive and updated.
Perplexity + Anthropic APIs power the weekly research agent that keeps every guide current.
If this guide saved you time, a coffee goes a long way.
Select Your Language:
ClaudeForge is the companion web app for this guide — it takes everything documented here and puts it into action. Describe what you need in plain English, pick your AI provider, and get a polished, model-optimized prompt in seconds.
7 AI Providers · 5 Prompt Targets · 9 Output Formats · Local LLM Support · BYOK
Full Feature List (click to expand)
| What You Get | Details |
|---|---|
| 7 AI Providers | Anthropic Claude, OpenAI, Google Gemini, OpenRouter, Ollama, LM Studio, Custom |
| 5 Prompt Targets | Claude, GPT, Gemini, Llama, Universal — each optimized for its model family |
| 9 Output Formats | XML (Anthropic), TOON, Harness, Markdown, Plain Text, JSON, YAML, Claude.md, System+User Split |
| Instant Format Switching | Switch between all 9 formats client-side — no regeneration needed |
| Extended Thinking | Toggle on/off with configurable effort levels |
| Skill Suggestions | Get relevant Claude Code plugin recommendations for your prompt |
| Prompt History | Browse, search, filter, and favorite past generations |
| BYOK | Bring Your Own Key — API keys stay in your browser, never touch our servers |
| Local LLM Support | Use Ollama or LM Studio with no API key required |
Supported Models (click to expand)
| Provider | Models |
|---|---|
| Anthropic | Claude Opus 4.6, Sonnet 4.6, Haiku 4.5 |
| OpenAI | GPT-4o, GPT-4o Mini, o3-mini |
| Google Gemini | Gemini 2.5 Pro, Gemini 2.5 Flash |
| OpenRouter | Auto (Best Available), Claude Sonnet 4, GPT-4o |
| Ollama | Llama 3.3, Qwen 2.5, + any custom model |
| LM Studio | Any loaded model |
| Custom | Any OpenAI-compatible endpoint |
Self-Host It
git clone https://github.com/ThamJiaHe/claudeforge.git
cd claudeforge && npm install && npm run dev
Tech Stack: Next.js 16 · React 19 · Tailwind CSS v4 · shadcn/ui · Zustand 5 · Supabase · Shiki · Framer Motion
The definitive guide to Claude prompt engineering and Claude Code mastery for Opus 4.6, Sonnet 4.6, and Haiku 4.5 — covering Skills, Plugins, MCP, Hooks, Agent Teams, Subagents, Ultrathink, and 100+ curated skills. Updated for March 2026 with Claude Code v2.1.83.
March 2026 Update
Last Updated: 26 March 2026 | Claude Code v2.1.83 | 220+ verified sources
What's New
| Feature | Description |
|---|---|
| Claude Code v2.1.83 | Voice mode, 1M context, 128K output, remote execution, computer use |
| 24 Hook Events | SessionStart, PreToolUse, PostToolUse, Stop, CwdChanged, FileChanged + more |
| Agent Teams | Multi-agent coordination with file ownership and shared task lists |
| Adaptive Thinking | Opus 4.6 auto-calibrates reasoning; ultrathink for max depth |
| Fast Mode | /fast — 2.5x faster Opus 4.6 output ($30/$150 per MTok) |
| MCP as Linux Foundation Standard | Tool Search GA, OAuth 2.1, MCP Elicitation |
| 100+ Skills Catalog | Curated skills from ECC, Superpowers, and community |
| 5 New Guides | Hooks, Agent Teams, Ultrathink, Plugins, Subagents |
| Deep Research | 13 community repos analyzed — plugins, agents, skills, orchestration, internal architecture |
| Skills Catalog | Curated top skills across 15 categories |
How to Use This Repo
- New to Claude? Start with the Quick Start Guide
- Prompt engineering? Read the Main Guide
- Using Claude Code? See the Claude Code Guide + Tips & Tricks
- Want skills? Browse the Skills Catalog (100+ curated)
- Building with API? Read the API Guide
- Deep diving? Explore the Deep Research Index (13 community repos analyzed)
- Need a template? Pick from Templates
Make Claude Code Behave Like a Senior Engineer
Reading this guide teaches you *what* to prompt. claude-kopitiam makes Claude *automatically act on it* — without you having to ask every time.
It's a companion config layer: 7 rules files that install into ~/.claude/rules/ and load on every Claude Code session.
| Without kopitiam | With kopitiam |
|---|---|
| Write Python — generic response | router.md auto-triggers python-reviewer |
| Start planning — Claude dives into code | Routes to brainstorming then writing-plans first |
| Touch auth or tokens — no safety net | security.md guards fire by default |
| Any commit message accepted | Conventional commits enforced automatically |
| Hit 85% context — silent degradation | /save-session + /compact discipline triggers |
git clone https://github.com/ThamJiaHe/claude-kopitiam
cd claude-kopitiam && bash INSTALL.sh
All Guides
Claude Code Deep Dives
| Guide | What You'll Learn |
|---|---|
| Claude Code Guide | CLI tool overview, v2.1.83 features, platforms, permissions |
| CLAUDE.md Guide | Configuration files, rules files, auto-memory, best practices |
| Hooks Guide | All 24 hook events, 4 types, matchers, patterns |
| Agent Teams Guide | Multi-agent coordination, file ownership, team patterns |
| Subagents Guide | Agent tool, model routing, parallel execution, tool inheritance |
| Plugins Guide | Plugin structure, marketplace, top plugins, creating plugins |
| Skills Guide | Skills system, progressive disclosure, skill creation |
| Skills Catalog | 100+ curated skills across 15 categories |
| Tips & Tricks | 50 power user tips, hidden features, community hacks |
| Superpowers Guide | obra's Superpowers plugin: brainstorm, plan, execute, debug |
Prompt Engineering
| Guide | What You'll Learn |
|---|---|
| Main Prompt Guide | 10-component framework, Claude 4.x best practices, advanced techniques |
| Ultrathink & Thinking Modes | Adaptive thinking, effort levels, ultrathink keyword, API usage |
| Quick Start | Get started in 5 minutes |
| API Guide | Claude API integration, SDK usage, effort parameter |
Integrations & Ecosystem
| Guide | What You'll Learn |
|---|---|
| MCP Integration | Model Context Protocol setup and usage |
| MCP Ecosystem Overview | MCP landscape, server registry, community |
| Messenger Integrations | WhatsApp, Telegram, Slack, Discord |
| Remotion Video Guide | React video generation with Claude Code |
| Cowork Guide | Claude Cowork autonomous workflows |
| Antigravity Comparison | Google Antigravity vs Claude Code |
Research & Analysis
| Guide | What You'll Learn |
|---|---|
| Research Report (Jan 2026) | 8,500+ word institutional-grade analysis |
| Ecosystem Market Analysis | Market position and growth trends |
| Pricing Comparison | Claude vs GPT-4 vs Gemini pricing |
| OpenCode & AirLLM Research | Alternative CLI tools |
Deep Research — Community Repository Analysis
13 major Claude Code community repositories analyzed, synthesized, and rewritten from scratch. Full index →
| Guide | What You'll Learn |
|---|---|
| Plugin Framework | Complete dev workflow — brainstorm → plan → TDD → subagent execution → code review |
| Everything Plugin | Agent harness performance — 30 skills, 20 agents, 12 language ecosystems |
| Production Skill Library | 205 skills across 9 domains — the largest open-source skill collection |
| Fullstack Skill Packs | 66 developer skills with progressive disclosure, ~50% token reduction |
| Subagent Catalog | 127+ agent definitions, orchestration patterns, model cost routing |
| Multi-Agent Orchestration | Enterprise swarm platform — 4 topologies, 5 consensus algorithms |
| Agent Harness Fundamentals | Build AI agents from scratch in Python — 12-session curriculum |
| Command & Config Reference | All 64 slash commands, 13 frontmatter fields, settings hierarchy |
| System Prompt Anatomy | How Claude Code assembles behavior from 110+ prompt components |
| Model Routing | Route requests to any LLM provider — cost optimization, per-project routing |
| Ecosystem Directory | 150+ tools, plugins, hooks, workflows, and alternative clients |
| Core Claude Code Runtime | NEW Internal architecture from the March 2026 source disclosure — query engine, 40+ tools, 70+ commands, bridge, memory |
| Claurst Integration | NEW Rust reimplementation — unreleased features (KAIROS, Buddy, ULTRAPLAN, autoDream), 14-file spec, security findings |
Templates & Examples
| Resource | Description |
|---|---|
| Minimal Template | Quick, lightweight prompt template |
| Comprehensive Template | Full 10-component template |
| Self-Evolving CLAUDE.md | Auto-learning configuration pattern |
| Coding Tasks | Code review and development prompts |
| Research Tasks | Research and information gathering |
| Business Analysis | Business and financial analysis |
| Document Creation | Documentation and writing tasks |
Skills Collection (31 example skills)
Browse skills/examples/ for production-ready skills:
<