claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Automation & Workflows

claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect

Actively maintained
100/100
last commit 5 days ago
last release none
releases 0
open issues 1
// install
git clone https://github.com/shanraisshan/claude-code-best-practice

claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect


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

Claude Code mascot jumping
GitHub Trending #1 Repository Of The Day

Supported by:  Disrupt.com — Ventures Reimagined  ClaudeKit — Production-ready skills and workflows

Boris Cherny on Claude Code
Boris Cherny on X (tweet 1 · tweet 2 · tweet 3)

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

🧠 CONCEPTS

FeatureLocationDescription
claude-code-best-practice Subagents.claude/agents/<name>.mdBest Practice Implemented
claude-code-best-practice Commands.claude/commands/<name>.mdBest Practice Implemented
claude-code-best-practice Skills.claude/skills/<name>/SKILL.mdBest Practice Implemented Official Skills · Skills for Mono-repos
Workflows.claude/commands/weather-orchestrator.mdOrchestration Workflow
Hooks.claude/hooks/Best Practice Implemented Guide
MCP Servers.claude/settings.json, .mcp.jsonBest Practice Implemented
Pluginsdistributable packagesMarketplaces · Create Marketplaces
Settings.claude/settings.jsonBest Practice Implemented Permissions · Model Config · Output Styles · Sandboxing · Keybindings · Auto Mode Config
Status Line.claude/settings.jsonBest Practice Implemented
MemoryCLAUDE.md, .claude/rules/, ~/.claude/rules/, ~/.claude/projects/<project>/memory/Best Practice Implemented Auto Memory · Auto Memory Deep-dive · Rules
Checkpointingautomatic (file-edit tracking)
CLI Startup Flagsclaude [flags]Best Practice Interactive Mode · Env Vars
AI TermsBest Practice
Best PracticesPrompt Engineering · Extend Claude Code

🔥 Hot

FeatureLocationDescription
Ultrareview beta/code-review ultra, claude ultrareview [target]Tasks tracking
Devcontainers.devcontainer/
Channels beta--channels, plugin-basedReference
Ultraplan beta/ultraplan
No Flicker Mode beta/tui fullscreen, CLAUDE_CODE_NO_FLICKER=1Best Practice
Auto Mode beta--permission-mode auto, Shift+TabBest Practice Blog
Power-ups/powerupBest Practice
Fast Mode beta/fast, "fastMode": true
Advisor beta/advisor, advisorModel, --advisorBlog
Computer Use betacomputer-use MCP serverDesktop
Agent SDKnpm / pip packageQuickstart · Examples
Ralph Wiggum LooppluginBest Practice Implemented
Chrome beta--chrome, extensionBest Practice
Claude Code Web betaclaude.ai/codeRoutines
Slack@Claude in Slack
Code Review betaGitHub App (managed)Best Practice Blog Local /code-review
GitHub Actions.github/workflows/GitLab CI/CD
Remote Control/remote-control, /rcBest Practice Headless Mode
Deep Linksclaude-cli://open?repo=…&q=…
Dynamic Workflows/workflows, ultracode keyword, /effort ultracode, .claude/workflows/Deep Research
Agent Teams betabuilt-in (env var)Best Practice Implemented
Agent View betaclaude agents, --bg, /bg
Scheduled Tasks/loop, /schedule, cron toolsBest Practice Implemented Desktop scheduled tasks · Announcement
Routines betaclaude.ai/code/routines, /scheduleDesktop Tasks
Tasks/tasks, ~/.claude/tasks/Best Practice Ultrareview tracking
Goal/goal <condition>, /goal clearImplemented
Voice Dictation beta/voiceBest Practice
Bundled Skills/code-review, /batchBest Practice
Git Worktrees--worktree/-w, .worktreeinclude, EnterWorktree/ExitWorktree, isolation: "worktree", WorktreeCreate/WorktreeRemove hooksBest Practice

section divider

Orchestration Workflow

See orchestration-workflow for implementation details of claude-code-best-practice Commandclaude-code-best-practice Agentclaude-code-best-practice Skill pattern.

Command Skill Agent Architecture Flow

Orchestration Workflow Demo

How to Use

claude
/weather-orchestrator

section divider

⚙️ DEVELOPMENT WORKFLOWS

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

NameWorkflowclaude-code-best-practiceclaude-code-best-practiceclaude-code-best-practice
Superpowers236k0014
Everything Claude Code220k6784271
Matt Pocock Skills142k0034
Spec Kit115k0100
gstack113k0053
Get Shit Done65k33670
agent-skills61k3721
OpenSpec56k0110
BMAD-METHOD50k6042
oh-my-claudecode37k19040
Compound Engineering22k0127
HumanLayer11k6270

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

section divider

🔀 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.

NameTypeBridges toWhat it does
musistudio/claude-code-router34kRouterOpenRouter, DeepSeek, Ollama, Gemini, Kimi, Qwen, Groq, +moreRoutes Claude Code's API to any compatible provider, with per-task model selection
router-for-me/CLIProxyAPI32kRouterGemini CLI, Codex, Claude Code, AntigravityWraps each CLI as an OpenAI/Gemini/Claude/Codex-compatible API service
openai/codex-plugin-cc18kPluginCodex / GPT-5Official OpenAI plugin: /codex:review, /codex:adversarial-review, /codex:rescue inside Claude Code
BeehiveInnovations/pal-mcp-server12kMCPGemini, OpenAI, Azure, Grok, Ollama, OpenRouter (50+ models)Multi-model MCP server (formerly zen-mcp-server) — call other models as Claude tools

section divider

🧰 SKILL COLLECTIONS

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

Nameclaude-code-best-practice
anthropics/skills153k17
mattpocock/skills136k30
Egonex-AI/Understand-Anything67k8
wshobson/agents37k156
scientific-agent-skills29k147
impeccable27k1 (with 7 design domain references)
agent-skills27k21
awesome-agent-skills26k1,424+ (curated list)
claude-skills15k246 (across 9 domains)
shanraisshan/draw-json-architecture-skill31

section divider

🤖 AGENT COLLECTIONS

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

Nameclaude-code-best-practice
msitarzewski/agency-agents115k271
VoltAgent/awesome-claude-code-subagents22k156

section divider

💡 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)

TipSource
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)

TipSource
always start with plan modeBoris
start with a minimal spec or prompt and ask Claude to interview you using AskUserQuestion tool, then make a new session to execute the specThariq
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 reviewBoris
write detailed specs and reduce ambiguity before handing work off — the more specific you are, the better the outputBoris
prototype > PRD — build 20-30 versions instead of writing specs, the cost of building is low so take many shotsBoris Video

Context (5)

TipSource
context rot kicks in around ~300-400k tokens on the 1M context model — don't let sessions drift past that for intelligence-sensitive workThariq
dumb zone kicks in around ~40% context — "you hit this point where you have degrading results". Newcomers: "shoot to keep it under 40%, and if you get up to 60%, think about wrapping it up". Experienced: "aggressively keep it below 30%" — push to 60% only on simple tasks. Manual /compact or /clear to reset when switching tasksDex Video
rewind > correct — double-Esc or /rewind back to before the failed attempt and re-prompt with what you learned, instead of leaving failed attempts + corrections polluting context 🚫👶Thariq
/compact with a hint (/compact focus on the auth refactor, drop the test debugging) beats letting autocompact fire — the model is at its least intelligent point when auto-compacting due to context rotThariq
use subagents for context management — ask yourself "will I need this tool output again, or just the conclusion?" — 20 file reads + 12 greps + 3 dead ends stay in the child's context, only the final report returns 🚫👶Thariq

Session Management (6)

TipSource
every turn is a branching point — after Claude ends a turn, pick between Continue, /rewind, /clear, /compact, or Subagent based on how much existing context you need to carry forwardThariq
new task = new session — related tasks (e.g. writing docs for what you just built) can reuse context for efficiency, but genuinely new tasks deserve a fresh sessionThariq
use "summarize from here" before rewinding to have Claude write a handoff message — like a note to the previous iteration of Claude from its future selfThariq
/compact vs /clear — compact is lossy but momentum-friendly (mid-task, fuzzy details ok); /clear + brief is more work but you control exactly what carries forward (high-stakes next step)Thariq
use recaps for long-running sessions — short summaries of what Claude did and what's next, useful when returning after minutes or hours. Disable with recaps in /configBoris
/rename important sessions (e.g. [TODO - refactor task]) and /resume them later — label each instance when running multiple Claudes simultaneouslyCat

CLAUDE.md + .claude/rules (8)

TipSource
CLAUDE.md should target under 200 lines per file. 60 lines in humanlayer (still not 100% guaranteed)Boris Dex
.claude/rules/*.md auto-load into every session like CLAUDE.md — add paths: YAML frontmatter to lazy-load them only when Claude touches files matching the globClaude
wrap domain-specific CLAUDE.md rules in <important if="..."> tags to stop Claude from ignoring them as files grow longerDex
use multiple CLAUDE.md for monorepos — ancestor + descendant loadingBoris
use .claude/rules/ to split large instructionsClaude
any developer should be able to launch Claude, say "run the tests" and it works on the first try — if it doesn't, your CLAUDE.md is missing essential setup/build/test commandsDex
keep codebases clean and finish migrations — partially migrated frameworks confuse models that might pick the wrong patternBoris Video
use settings.json for harness-enforced behavior (attribution, permissions, model) — don't put "NEVER add Co-Authored-By" in CLAUDE.md when attribution.commit: "" is deterministicdavila7

claude-code-best-practice Agents (4)

TipSource
have feature specific sub-agents (extra context) with skills (progressive disclosure) instead of general qa, backend engineerBoris
say "use subagents" to throw more compute at a problem — offload tasks to keep your main context clean and focused 🚫👶Boris

view the full README on GitHub.

// compatibility

Platformscli, api, desktop, web
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageHTML

// faq

What is claude-code-best-practice?

from vibe coding to agentic engineering - practice makes claude perfect. It is open-source on GitHub.

Is claude-code-best-practice free to use?

claude-code-best-practice is open-source under the MIT license, so it is free to use.

What category does claude-code-best-practice belong to?

claude-code-best-practice is listed under other in the Claudeers registry of Claude-compatible tools.

4 views
61,931 stars
unclaimed
updated 15 days ago

// embed badge

claude-code-best-practice on Claudeers
[![Claudeers](https://claudeers.com/api/badge/claude-code-best-practice.svg)](https://claudeers.com/claude-code-best-practice)

// retro hit counter

claude-code-best-practice hit counter
[![Hits](https://claudeers.com/api/counter/claude-code-best-practice.svg)](https://claudeers.com/claude-code-best-practice)

// reviews

// guestbook

0/500

// related in Automation & Workflows

🔓

The agent that grows with you

// automationNousResearch/Python208,716MIT[ claude ]
🔓

The API to search, scrape, and interact with the web at scale. 🔥

// automationfirecrawl/TypeScript143,720AGPL-3.0[ claude ]
🔓

🌐 Make websites accessible for AI agents. Automate tasks online with ease.

// automationbrowser-use/Python102,507MIT[ claude ]
🔓

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message…

// automationbytedance/Python76,016MIT[ claude ]

// built by

Connectorlinks several projects together across the ecosystem · 11 connections

1 of its contributors also build on official projectsclaude-code, claude-cookbooks, claude-plugins-official

→ see how claude-code-best-practice connects across the ecosystem