claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect

updated with Claude Code

Best Practice Implemented Orchestration Workflow Claude Boris Community Click on these badges below to see the actual sources = Agents · = Commands · = Skills

[!TIP] Visit the How to Use section to take full advantage of this repo.

🧠 CONCEPTS

Feature Location Description
Subagents .claude/agents/<name>.md Best Practice Implemented
Commands .claude/commands/<name>.md Best Practice Implemented
Skills .claude/skills/<name>/SKILL.md Best Practice Implemented Official Skills · Skills for Mono-repos
Workflows .claude/commands/weather-orchestrator.md Orchestration Workflow
Hooks .claude/hooks/ Best Practice Implemented Guide
MCP Servers .claude/settings.json, .mcp.json Best Practice Implemented
Plugins distributable packages Marketplaces · Create Marketplaces
Settings .claude/settings.json Best Practice Implemented Permissions · Model Config · Output Styles · Sandboxing · Keybindings · Auto Mode Config
Status Line .claude/settings.json Best Practice Implemented
Memory CLAUDE.md, .claude/rules/, ~/.claude/rules/, ~/.claude/projects/<project>/memory/ Best Practice Implemented Auto Memory · Auto Memory Deep-dive · Rules
Checkpointing automatic (file-edit tracking)
CLI Startup Flags claude [flags] Best Practice Interactive Mode · Env Vars
AI Terms Best Practice
Best Practices Prompt Engineering · Extend Claude Code

🔥 Hot

Feature Location Description
Ultrareview beta /code-review ultra, claude ultrareview [target] Tasks tracking
Devcontainers .devcontainer/
Channels beta --channels, plugin-based Reference
Ultraplan beta /ultraplan
No Flicker Mode beta /tui fullscreen, CLAUDE_CODE_NO_FLICKER=1 Best Practice
Auto Mode beta --permission-mode auto, Shift+Tab Best Practice Blog
Power-ups /powerup Best Practice
Fast Mode beta /fast, "fastMode": true
Advisor beta /advisor, advisorModel, --advisor Blog
Computer Use beta computer-use MCP server Desktop
Agent SDK npm / pip package Quickstart · Examples
Ralph Wiggum Loop plugin Best Practice Implemented
Chrome --chrome, extension Best Practice
Claude Code Web beta claude.ai/code Routines
Artifacts beta /share, Artifact tool
Slack @Claude in Slack
Code Review beta GitHub App (managed) Best Practice Blog Local /code-review
GitHub Actions .github/workflows/ GitLab CI/CD
Remote Control /remote-control, /rc Best Practice Headless Mode
Deep Links claude-cli://open?repo=…&q=…
Dynamic Workflows /workflows, ultracode keyword, /effort ultracode, .claude/workflows/ Deep Research
Agent Teams beta built-in (env var) Best Practice Implemented
Agent View beta claude agents, --bg, /bg
Scheduled Tasks /loop, /schedule, cron tools Best Practice Implemented Desktop scheduled tasks · Announcement
Routines beta claude.ai/code/routines, /schedule Desktop Tasks
Tasks /tasks, ~/.claude/tasks/ Best Practice Ultrareview tracking
Goal /goal <condition>, /goal clear Implemented
Voice Dictation beta /voice Best Practice
Bundled Skills /code-review, /batch Best Practice
Git Worktrees --worktree/-w, .worktreeinclude, EnterWorktree/ExitWorktree, isolation: "worktree", WorktreeCreate/WorktreeRemove hooks Best Practice

See orchestration-workflow for implementation details of CommandAgentSkill pattern.

How to Use

claude
/weather-orchestrator

⚙️ DEVELOPMENT WORKFLOWS

All major workflows converge on the same architectural pattern: Research → Plan → Execute → Review → Ship

Name Workflow
Superpowers 251k → → → → → → → → → 0 0 14
Everything Claude Code 228k → → → → → → 67 139 278
Matt Pocock Skills 163k → → → → → → → → → → 0 0 38
gstack 121k → → → → → → → 0 0 53
Spec Kit 119k → → → → → → → → 0 10 0
agent-skills 69k → → → → → 3 7 21
Get Shit Done 65k → → → → → 33 67 0
OpenSpec 60k → → → → → 0 12 0
BMAD-METHOD 50k → → → → → → → → 6 0 47
oh-my-claudecode 38k → → → → → 19 0 40
Compound Engineering 23k → → → → → 0 1 29
HumanLayer 11k → → → → → → 6 27 0

Note: yellow tags are sub-loops — steps that repeat inside a parent step (e.g. per task, per story, or until a verify condition passes).

Others

🔀 CROSS-MODEL WORKFLOWS

Use Claude Code together with other models — Codex, Gemini, GPT, Kimi, DeepSeek, local — via three mechanisms:

  • Plugin — another model's CLI runs inside Claude Code (slash commands like /codex:review)
  • MCP — Claude Code calls another model as a tool through Model Context Protocol
  • Router — Claude Code's API endpoint is swapped to a different provider

Methodology: Cross-Model (Claude Code + Codex) Workflow Implemented — manual two-terminal flow with Plan in Claude, QA-Review in Codex.

Name Type Bridges to What it does
musistudio/claude-code-router 34k Router OpenRouter, DeepSeek, Ollama, Gemini, Kimi, Qwen, Groq, +more Routes Claude Code's API to any compatible provider, with per-task model selection
router-for-me/CLIProxyAPI 32k Router Gemini CLI, Codex, Claude Code, Antigravity Wraps each CLI as an OpenAI/Gemini/Claude/Codex-compatible API service
openai/codex-plugin-cc 18k Plugin Codex / GPT-5 Official OpenAI plugin: /codex:review, /codex:adversarial-review, /codex:rescue inside Claude Code
BeehiveInnovations/pal-mcp-server 12k MCP Gemini, OpenAI, Azure, Grok, Ollama, OpenRouter (50+ models) Multi-model MCP server (formerly zen-mcp-server) — call other models as Claude tools

🧰 SKILL COLLECTIONS

Repos primarily known as curated libraries of SKILL.md files (distinct from full workflow methodologies above). Sorted by stars descending.

Name
mattpocock/skills 160k 34
anthropics/skills 159k 17
Egonex-AI/Understand-Anything 67k 8
wshobson/agents 38k 149
scientific-agent-skills 30k 148
awesome-agent-skills 28k 1,497+ (curated list)
impeccable 27k 1 (with 7 design domain references)
agent-skills 27k 21
claude-skills 15k 246 (across 9 domains)
shanraisshan/draw-json-architecture-skill 3 1

🤖 AGENT COLLECTIONS

Repos primarily known as curated libraries of subagent definitions (.claude/agents/*.md). Sorted by stars descending.

Name
msitarzewski/agency-agents 130k 254
VoltAgent/awesome-claude-code-subagents 23k 156

💡 TIPS AND TRICKS (83)

🚫👶 = do not babysit

Prompting · Planning · Context · Session · CLAUDE.md + .claude/rules · Agents · Commands · Skills · Hooks · Workflows · Advanced · Git / PR · Debugging · Utilities · Daily

Community

Prompting (3)

Tip Source
challenge Claude — "grill me on these changes and don't make a PR until I pass your test." or "prove to me this works" and have Claude diff between main and your branch 🚫👶 Boris
after a mediocre fix — "knowing everything you know now, scrap this and implement the elegant solution" 🚫👶 Boris
Claude fixes most bugs by itself — paste the bug, say "fix", don't micromanage how 🚫👶 Boris

Planning/Specs (7)

Tip Source
always start with plan mode Boris
start with a minimal spec or prompt and ask Claude to interview you using AskUserQuestion tool, then make a new session to execute the spec Thariq
always make a phase-wise gated plan, with each phase having multiple tests (unit, automation, integration) Dex Video
break PRDs into vertical slices (tracer bullets) that cross all layers (DB + service + UI) — AI defaults to horizontal phasing (DB phase, then API phase, then frontend phase) which delays end-to-end feedback until the last phase. From the Pragmatic Programmer 🚫👶 Matt Video
spin up a second Claude to review your plan as a staff engineer, or use cross-model for review Boris
write detailed specs and reduce ambiguity before handing work off — the more specific you are, the better the output Boris
prototype > PRD — build 20-30 versions instead of writing specs, the cost of building is low so take many shots [Boris](https://youtu.be/julb