# Claude Code Best Practice

> from vibe coding to agentic engineering - practice makes claude perfect

Claude Code Best Practice is an AI skill in the Coding & Development category, published by shanraisshan.

## Key facts

- Type: Skill
- Category: Coding & Development
- Version: 1.0.0
- License: MIT
- Author: shanraisshan (https://github.com/shanraisshan)
- Installs: 0
- GitHub stars: 69.4K
- Updated: 23 Nov 2026
- Source: https://github.com/shanraisshan/claude-code-best-practice
- Page: https://aiskillshq.com/skills/claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect

![updated with Claude Code](https://img.shields.io/badge/updated_with_Claude_Code-Nov%2023%2C%202026%209%3A38%20AM%20PKT-white?style=flat&labelColor=555) <a href="https://github.com/shanraisshan/claude-code-best-practice/stargazers"><img src="https://img.shields.io/github/stars/shanraisshan/claude-code-best-practice?style=flat&label=%E2%98%85&labelColor=555&color=white" alt="GitHub Stars"></a><br>

[![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](implementation/) [![Orchestration Workflow](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/orchestration-workflow.svg)](orchestration-workflow/orchestration-workflow.md) [![Claude](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/claude.svg)](https://code.claude.com/docs) [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](#-tips-and-tricks) [![Community](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community.svg)](#-subscribe) ![Click on these badges below to see the actual sources](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/click-badges.svg)<br>
<img src="!/tags/a.svg" height="14"> = Agents · <img src="!/tags/c.svg" height="14"> = Commands · <img src="!/tags/s.svg" height="14"> = Skills

<p align="center">
  <img src="!/claude-jumping.svg" alt="Claude Code mascot jumping" width="120" height="100"><br>
  <a href="https://github.com/trending"><img src="!/root/github-trending-day.svg" alt="GitHub Trending #1 Repository Of The Day"></a>
</p>

<p align="center">
  <img src="!/root/supported-label.svg" alt="Supported by:" height="34">&nbsp;&nbsp;<a href="https://disrupt.com/?utm_source=github&utm_campaign=shayan_claude_code_best_practice"><img src="!/root/supported-disrupt.svg" alt="Disrupt.com — Ventures Reimagined" height="34"></a>&nbsp;&nbsp;<a href="https://www.articos.com/?utm_source=github&utm_medium=sponsorship&utm_campaign=shayan_claude_code_best_practice"><img src="!/root/supported-articos.svg" alt="Articos — Synthetic user research" height="34"></a>
</p>

<p align="center">
  <img src="!/root/boris-slider.gif" alt="Boris Cherny on Claude Code" width="600"><br>
  Boris Cherny on X (<a href="https://x.com/bcherny/status/2007179832300581177">tweet 1</a> · <a href="https://x.com/bcherny/status/2017742741636321619">tweet 2</a> · <a href="https://x.com/bcherny/status/2021699851499798911">tweet 3</a>)
</p>

> [!TIP]
> Visit the [**How to Use**](#how-to-use) section to take full advantage of this repo.

## 🧠 CONCEPTS

| Feature | Location | Description |
|---------|----------|-------------|
| <img src="!/tags/a.svg" height="14"> [**Subagents**](https://code.claude.com/docs/en/sub-agents) | `.claude/agents/<name>.md` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-subagents.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](implementation/claude-subagents-implementation.md) |
| <img src="!/tags/c.svg" height="14"> [**Commands**](https://code.claude.com/docs/en/commands) | `.claude/commands/<name>.md` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-commands.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](implementation/claude-commands-implementation.md) |
| <img src="!/tags/s.svg" height="14"> [**Skills**](https://code.claude.com/docs/en/skills) | `.claude/skills/<name>/SKILL.md` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-skills.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](implementation/claude-skills-implementation.md) [Official Skills](https://github.com/anthropics/skills/tree/main/skills) · [Skills for Mono-repos](https://github.com/shanraisshan/claude-code-best-practice/blob/main/reports/claude-skills-for-larger-mono-repos.md) |
| [**Workflows**](https://code.claude.com/docs/en/common-workflows) | [`.claude/commands/weather-orchestrator.md`](https://github.com/shanraisshan/claude-code-best-practice/blob/main/.claude/commands/weather-orchestrator.md) | [![Orchestration Workflow](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/orchestration-workflow.svg)](orchestration-workflow/orchestration-workflow.md) |
| [**Hooks**](https://code.claude.com/docs/en/hooks) | `.claude/hooks/` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://github.com/shanraisshan/claude-code-hooks) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](https://github.com/shanraisshan/claude-code-hooks) [Guide](https://code.claude.com/docs/en/hooks-guide) |
| [**MCP Servers**](https://code.claude.com/docs/en/mcp) | `.claude/settings.json`, `.mcp.json` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-mcp.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](.mcp.json) |
| [**Plugins**](https://code.claude.com/docs/en/plugins/overview) | distributable packages | [Marketplaces](https://code.claude.com/docs/en/plugins/anthropic-marketplaces) · [Create Marketplaces](https://code.claude.com/docs/en/plugins/create-marketplace) · [Mods](https://code.claude.com/docs/en/plugins/mods/overview) |
| [**Settings**](https://code.claude.com/docs/en/settings) | `.claude/settings.json` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-settings.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](.claude/settings.json) [Permissions](https://code.claude.com/docs/en/permissions) · [Model Config](https://code.claude.com/docs/en/model-config) · [Output Styles](https://code.claude.com/docs/en/output-styles) · [Sandboxing](https://code.claude.com/docs/en/sandboxing) · [Keybindings](https://code.claude.com/docs/en/keybindings) · [Auto Mode Config](https://code.claude.com/docs/en/auto-mode-config) |
| [**Status Line**](https://code.claude.com/docs/en/statusline) | `.claude/settings.json` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://github.com/shanraisshan/claude-code-status-line) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](.claude/settings.json) |
| [**Memory**](https://code.claude.com/docs/en/memory) | `CLAUDE.md`, `.claude/rules/`, `~/.claude/rules/`, `~/.claude/projects/<project>/memory/` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-memory.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](CLAUDE.md) [Auto Memory](https://code.claude.com/docs/en/memory) · [Auto Memory Deep-dive](https://github.com/shanraisshan/claude-code-best-practice/blob/main/reports/claude-agent-memory.md) · [Rules](https://code.claude.com/docs/en/memory#organize-rules-with-claude/rules/) |
| [**Checkpointing**](https://code.claude.com/docs/en/checkpointing) | automatic (file-edit tracking) |  |
| [**Sessions**](https://code.claude.com/docs/en/sessions) | `--resume`, `--continue`, `/resume`, `/branch` |  |
| [**Context Window**](https://code.claude.com/docs/en/context-window) | `/compact`, `/clear`, `/context` |  |
| [**CLI Startup Flags**](https://code.claude.com/docs/en/cli-reference) | `claude [flags]` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-cli-startup-flags.md) [Interactive Mode](https://code.claude.com/docs/en/interactive-mode) · [Env Vars](https://code.claude.com/docs/en/env-vars) |
| **AI Terms** | | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://github.com/shanraisshan/claude-code-codex-cursor-gemini/blob/main/reports/ai-terms.md) |
| [**Best Practices**](https://code.claude.com/docs/en/best-practices) | | [Prompt Engineering](https://github.com/anthropics/prompt-eng-interactive-tutorial) · [Extend Claude Code](https://code.claude.com/docs/en/features-overview) |
| [**Prompt Library**](https://code.claude.com/docs/en/prompt-library) | |  |

### 🔥 Hot

| Feature | Location | Description |
|---------|----------|-------------|
| [**Ultrareview**](https://code.claude.com/docs/en/ultrareview) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `/code-review ultra`, `claude ultrareview [target]` | [Tasks tracking](https://code.claude.com/docs/en/ultrareview#track-a-running-review) |
| [**Devcontainers**](https://code.claude.com/docs/en/devcontainer) | `.devcontainer/` |  |
| [**Channels**](https://code.claude.com/docs/en/channels) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `--channels`, plugin-based | [Reference](https://code.claude.com/docs/en/channels-reference) |
| [**No Flicker Mode**](https://code.claude.com/docs/en/fullscreen) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `/tui fullscreen`, `CLAUDE_CODE_NO_FLICKER=1` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/bcherny/status/2039421575422980329) |
| [**Auto Mode**](https://code.claude.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode) | `--permission-mode auto`, `Shift+Tab` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/claudeai/status/2036503582166393240) [Blog](https://claude.com/blog/auto-mode) |
| [**Power-ups**](https://github.com/shanraisshan/claude-code-best-practice/blob/main/best-practice/claude-power-ups.md) | `/powerup` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](best-practice/claude-power-ups.md) |
| [**Fast Mode**](https://code.claude.com/docs/en/fast-mode) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `/fast`, `"fastMode": true` |  |
| [**Advisor**](https://code.claude.com/docs/en/advisor) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `/advisor`, `advisorModel`, `--advisor` | [Blog](https://claude.com/blog/the-advisor-strategy) |
| [**Code Mode**](https://code.claude.com/docs/en/code-mode) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1` |  |
| [**Computer Use**](https://code.claude.com/docs/en/computer-use) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `computer-use` MCP server | [Desktop](https://code.claude.com/docs/en/desktop#let-claude-use-your-computer) |
| [**Agent SDK**](https://code.claude.com/docs/en/agent-sdk/overview) | `npm` / `pip` package | [Quickstart](https://code.claude.com/docs/en/agent-sdk/quickstart) · [Examples](https://github.com/anthropics/claude-agent-sdk-demos) |
| [**Ralph Wiggum Loop**](https://github.com/anthropics/claude-code/tree/main/plugins/ralph-wiggum) | plugin | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://github.com/ghuntley/how-to-ralph-wiggum) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](https://github.com/shanraisshan/ralph-wiggum-self-evolving-loop) |
| [**Chrome**](https://code.claude.com/docs/en/chrome) | `--chrome`, extension | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](reports/claude-in-chrome-v-chrome-devtools-mcp.md) |
| [**Claude Code Web**](https://code.claude.com/docs/en/claude-code-on-the-web) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `claude.ai/code` | [Routines](https://code.claude.com/docs/en/routines) |
| [**Projects**](https://code.claude.com/docs/en/claude-projects) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `claude.ai/code`, Desktop app |  |
| [**Artifacts**](https://code.claude.com/docs/en/artifacts) | `/share`, `Artifact` tool |  |
| [**Slack**](https://code.claude.com/docs/en/slack) | `@Claude` in Slack | [Claude Tag](https://code.claude.com/docs/en/claude-tag) |
| [**Code Review**](https://code.claude.com/docs/en/code-review) | GitHub App (managed) | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/claudeai/status/2031088171262554195) [Blog](https://claude.com/blog/code-review) [Local /code-review](https://code.claude.com/docs/en/code-review-local) |
| [**GitHub Actions**](https://code.claude.com/docs/en/github-actions) | `.github/workflows/` | [GitLab CI/CD](https://code.claude.com/docs/en/gitlab-ci-cd) |
| [**Remote Control**](https://code.claude.com/docs/en/remote-control) | `/remote-control`, `/rc` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/noahzweben/status/2032533699116355819) [Headless Mode](https://code.claude.com/docs/en/headless) |
| [**Deep Links**](https://code.claude.com/docs/en/deep-links) | `claude-cli://open?repo=…&q=…` |  |
| [**Dynamic Workflows**](https://code.claude.com/docs/en/workflows) | `/workflows`, `ultracode` keyword, `/effort ultracode`, `.claude/workflows/` | [Deep Research](https://code.claude.com/docs/en/workflows#run-a-bundled-workflow) |
| [**Agent Teams**](https://code.claude.com/docs/en/agent-teams) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | built-in (env var) | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/bcherny/status/2019472394696683904) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](implementation/claude-agent-teams-implementation.md) |
| [**Agent View**](https://code.claude.com/docs/en/agent-view) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `claude agents`, `--bg`, `/bg` |  |
| [**Cross-Session Messaging**](https://code.claude.com/docs/en/cross-session-messaging) | `SendMessage`, `ListAgents`, `/list-agents` |  |
| [**Scheduled Tasks**](https://code.claude.com/docs/en/scheduled-tasks) | `/loop`, `/schedule`, cron tools | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/bcherny/status/2030193932404150413) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](implementation/claude-scheduled-tasks-implementation.md) [Desktop scheduled tasks](https://code.claude.com/docs/en/desktop-scheduled-tasks) · [Announcement](https://x.com/noahzweben/status/2036129220959805859) |
| [**Routines**](https://code.claude.com/docs/en/routines) ![beta](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/beta.svg) | `claude.ai/code/routines`, `/schedule` | [Desktop Tasks](https://code.claude.com/docs/en/desktop-scheduled-tasks) |
| [**Tasks**](https://github.com/shanraisshan/claude-code-best-practice/blob/main/reports/claude-global-vs-project-settings.md#tasks-system) | `/tasks`, `~/.claude/tasks/` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](reports/claude-global-vs-project-settings.md) [Ultrareview tracking](https://code.claude.com/docs/en/ultrareview#track-a-running-review) |
| [**Goal**](https://code.claude.com/docs/en/goal) | `/goal <condition>`, `/goal clear` | [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](implementation/claude-goal-implementation.md) |
| [**Voice Dictation**](https://code.claude.com/docs/en/voice-dictation) | `/voice` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/trq212/status/2028628570692890800) |
| [**Bundled Skills**](https://code.claude.com/docs/en/skills#bundled-skills) | `/code-review`, `/batch` | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/bcherny/status/2027534984534544489) |
| [**Git Worktrees**](https://code.claude.com/docs/en/worktrees) | `--worktree`/`-w`, `.worktreeinclude`, `EnterWorktree`/`ExitWorktree`, `isolation: "worktree"`, `WorktreeCreate`/`WorktreeRemove` hooks | [![Best Practice](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/best-practice.svg)](https://x.com/bcherny/status/2025007393290272904) |

<p align="center">
  <img src="!/claude-jumping.svg" alt="section divider" width="60" height="50">
</p>

<a id="orchestration-workflow"></a>

## <a href="orchestration-workflow/orchestration-workflow.md"><img src="!/tags/orchestration-workflow-hd.svg" alt="Orchestration Workflow"></a>

See [orchestration-workflow](https://github.com/shanraisshan/claude-code-best-practice/blob/main/orchestration-workflow/orchestration-workflow.md) for implementation details of <img src="!/tags/c.svg" height="14"> **Command** → <img src="!/tags/a.svg" height="14"> **Agent** → <img src="!/tags/s.svg" height="14"> **Skill** pattern.


<p align="center">
  <img src="orchestration-workflow/orchestration-workflow.svg" alt="Command Skill Agent Architecture Flow" width="100%">
</p>

<p align="center">
  <img src="orchestration-workflow/orchestration-workflow.gif" alt="Orchestration Workflow Demo" width="600">
</p>

![How to Use](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/how-to-use.svg)

```bash
claude
/weather-orchestrator
```

<p align="center">
  <img src="!/claude-jumping.svg" alt="section divider" width="60" height="50">
</p>

## ⚙️ DEVELOPMENT WORKFLOWS

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

| Name | ★ | Workflow | <img src="!/tags/a.svg" height="14"> | <img src="!/tags/c.svg" height="14"> | <img src="!/tags/s.svg" height="14"> |
|------|---|----------|---|---|---|
| [Matt Pocock Skills](https://github.com/mattpocock/skills) | 331k | <img src="https://img.shields.io/badge/setup--matt--pocock--skills-ddf4ff" alt="setup-matt-pocock-skills" align="middle"> → <img src="https://img.shields.io/badge/grill--me-ddf4ff" alt="grill-me" align="middle"> → <img src="https://img.shields.io/badge/to--spec-ddf4ff" alt="to-spec" align="middle"> → <img src="https://img.shields.io/badge/to--tickets-ddf4ff" alt="to-tickets" align="middle"> → <img src="https://img.shields.io/badge/implement-ddf4ff" alt="implement" align="middle"> → <img src="https://img.shields.io/badge/tdd-fff3b0" alt="tdd" align="middle"> → <img src="https://img.shields.io/badge/code--review-fff3b0" alt="code-review" align="middle"> → <img src="https://img.shields.io/badge/diagnosing--bugs-fff3b0" alt="diagnosing-bugs" align="middle"> → <img src="https://img.shields.io/badge/improve--codebase--architecture-ddf4ff" alt="improve-codebase-architecture" align="middle"> | 0 | 0 | 39 |
| [Superpowers](https://github.com/obra/superpowers) | 324k | <img src="https://img.shields.io/badge/brainstorming-ddf4ff" alt="brainstorming" align="middle"> → <img src="https://img.shields.io/badge/using--git--worktrees-ddf4ff" alt="using-git-worktrees" align="middle"> → <img src="https://img.shields.io/badge/writing--plans-ddf4ff" alt="writing-plans" align="middle"> → <img src="https://img.shields.io/badge/subagent--driven--development-ddf4ff" alt="subagent-driven-development" align="middle"> → <img src="https://img.shields.io/badge/implementer-fff3b0" alt="implementer" align="middle"> → <img src="https://img.shields.io/badge/task--reviewer-fff3b0" alt="task-reviewer" align="middle"> → <img src="https://img.shields.io/badge/test--driven--development-fff3b0" alt="test-driven-development" align="middle"> → <img src="https://img.shields.io/badge/requesting--code--review-fff3b0" alt="requesting-code-review" align="middle"> → <img src="https://img.shields.io/badge/finishing--a--development--branch-ddf4ff" alt="finishing-a-development-branch" align="middle"> | 0 | 0 | 15 |
| [Everything Claude Code](https://github.com/affaan-m/everything-claude-code) | 309k | <img src="https://img.shields.io/badge/plan-ddf4ff" alt="plan" align="middle"> → <img src="https://img.shields.io/badge/tdd--workflow-fff3b0" alt="tdd-workflow" align="middle"> → <img src="https://img.shields.io/badge/implement-ddf4ff" alt="implement" align="middle"> → <img src="https://img.shields.io/badge/code--review-ddf4ff" alt="code-review" align="middle"> → <img src="https://img.shields.io/badge/security--scan-fff3b0" alt="security-scan" align="middle"> → <img src="https://img.shields.io/badge/build--fix-fff3b0" alt="build-fix" align="middle"> → <img src="https://img.shields.io/badge/save--session-ddf4ff" alt="save-session" align="middle"> | 72 | 112 | 328 |
| [Spec Kit](https://github.com/github/spec-kit) | 151k | <img src="https://img.shields.io/badge/%2Fspeckit.constitution-ddf4ff" alt="/speckit.constitution" align="middle"> → <img src="https://img.shields.io/badge/%2Fspeckit.specify-ddf4ff" alt="/speckit.specify" align="middle"> → <img src="https://img.shields.io/badge/%2Fspeckit.plan-ddf4ff" alt="/speckit.plan" align="middle"> → <img src="https://img.shields.io/badge/%2Fspeckit.tasks-ddf4ff" alt="/speckit.tasks" align="middle"> → <img src="https://img.shields.io/badge/%2Fspeckit.implement-fff3b0" alt="/speckit.implement" align="middle"> → <img src="https://img.shields.io/badge/%2Fspeckit.converge-fff3b0" alt="/speckit.converge" align="middle"> | 0 | 9 | 0 |
| [gstack](https://github.com/garrytan/gstack) | 142k | <img src="https://img.shields.io/badge/%2Foffice--hours-ddf4ff" alt="/office-hours" align="middle"> → <img src="https://img.shields.io/badge/%2Fautoplan-ddf4ff" alt="/autoplan" align="middle"> → <img src="https://img.shields.io/badge/%2Fplan--ceo--review-fff3b0" alt="/plan-ceo-review" align="middle"> → <img src="https://img.shields.io/badge/%2Fplan--eng--review-fff3b0" alt="/plan-eng-review" align="middle"> → <img src="https://img.shields.io/badge/%2Fplan--design--review-fff3b0" alt="/plan-design-review" align="middle"> → <img src="https://img.shields.io/badge/%2Fplan--devex--review-fff3b0" alt="/plan-devex-review" align="middle"> → <img src="https://img.shields.io/badge/%2Freview-ddf4ff" alt="/review" align="middle"> → <img src="https://img.shields.io/badge/%2Fqa-ddf4ff" alt="/qa" align="middle"> → <img src="https://img.shields.io/badge/%2Fship-ddf4ff" alt="/ship" align="middle"> → <img src="https://img.shields.io/badge/%2Fland--and--deploy-ddf4ff" alt="/land-and-deploy" align="middle"> → <img src="https://img.shields.io/badge/%2Fretro-ddf4ff" alt="/retro" align="middle"> | 0 | 0 | 64 |
| [agent-skills](https://github.com/addyosmani/agent-skills) | 99.7k | <img src="https://img.shields.io/badge/%2Fspec-ddf4ff" alt="/spec" align="middle"> → <img src="https://img.shields.io/badge/%2Fplan-ddf4ff" alt="/plan" align="middle"> → <img src="https://img.shields.io/badge/%2Fbuild-ddf4ff" alt="/build" align="middle"> → <img src="https://img.shields.io/badge/%2Ftest-ddf4ff" alt="/test" align="middle"> → <img src="https://img.shields.io/badge/%2Freview-ddf4ff" alt="/review" align="middle"> → <img src="https://img.shields.io/badge/%2Fship-ddf4ff" alt="/ship" align="middle"> | 3 | 7 | 21 |
| [OpenSpec](https://github.com/Fission-AI/OpenSpec) | 75.5k | <img src="https://img.shields.io/badge/openspec--explore-ddf4ff" alt="openspec-explore" align="middle"> → <img src="https://img.shields.io/badge/openspec--propose-ddf4ff" alt="openspec-propose" align="middle"> → <img src="https://img.shields.io/badge/review-ddf4ff" alt="review" align="middle"> → <img src="https://img.shields.io/badge/openspec--apply--change-ddf4ff" alt="openspec-apply-change" align="middle"> → <img src="https://img.shields.io/badge/openspec--verify--change-fff3b0" alt="openspec-verify-change" align="middle"> → <img src="https://img.shields.io/badge/openspec--archive--change-ddf4ff" alt="openspec-archive-change" align="middle"> | 0 | 0 | 12 |
| [Get Shit Done](https://github.com/gsd-build/get-shit-done) | 64.1k | <img src="https://img.shields.io/badge/%2Fgsd--new--project-ddf4ff" alt="/gsd-new-project" align="middle"> → <img src="https://img.shields.io/badge/%2Fgsd--new--milestone-ddf4ff" alt="/gsd-new-milestone" align="middle"> → <img src="https://img.shields.io/badge/%2Fgsd--spec--phase-ddf4ff" alt="/gsd-spec-phase" align="middle"> → <img src="https://img.shields.io/badge/%2Fgsd--plan--phase-ddf4ff" alt="/gsd-plan-phase" align="middle"> → <img src="https://img.shields.io/badge/%2Fgsd--execute--phase-fff3b0" alt="/gsd-execute-phase" align="middle"> → <img src="https://img.shields.io/badge/%2Fgsd--verify--work-fff3b0" alt="/gsd-verify-work" align="middle"> → <img src="https://img.shields.io/badge/%2Fgsd--complete--milestone-ddf4ff" alt="/gsd-complete-milestone" align="middle"> → <img src="https://img.shields.io/badge/%2Fgsd--ship-ddf4ff" alt="/gsd-ship" align="middle"> | 33 | 85 | 0 |
| [BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD) | 55.6k | <img src="https://img.shields.io/badge/bmad--brainstorming-ddf4ff" alt="bmad-brainstorming" align="middle"> → <img src="https://img.shields.io/badge/bmad--facilitate-ddf4ff" alt="bmad-facilitate" align="middle"> → <img src="https://img.shields.io/badge/bmad--build-ddf4ff" alt="bmad-build" align="middle"> → <img src="https://img.shields.io/badge/bmad--code--review-fff3b0" alt="bmad-code-review" align="middle"> → <img src="https://img.shields.io/badge/bmad--qa--generate--e2e--tests-fff3b0" alt="bmad-qa-generate-e2e-tests" align="middle"> → <img src="https://img.shields.io/badge/bmad--retrospective-ddf4ff" alt="bmad-retrospective" align="middle"> | 7 | 0 | 33 |
| [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode) | 41.0k | <img src="https://img.shields.io/badge/deep--interview-ddf4ff" alt="deep-interview" align="middle"> → <img src="https://img.shields.io/badge/plan-ddf4ff" alt="plan" align="middle"> → <img src="https://img.shields.io/badge/team-ddf4ff" alt="team" align="middle"> → <img src="https://img.shields.io/badge/team--plan-fff3b0" alt="team-plan" align="middle"> → <img src="https://img.shields.io/badge/team--prd-fff3b0" alt="team-prd" align="middle"> → <img src="https://img.shields.io/badge/team--exec-fff3b0" alt="team-exec" align="middle"> → <img src="https://img.shields.io/badge/team--verify-fff3b0" alt="team-verify" align="middle"> → <img src="https://img.shields.io/badge/team--fix-fff3b0" alt="team-fix" align="middle"> → <img src="https://img.shields.io/badge/release-ddf4ff" alt="release" align="middle"> | 19 | 21 | 84 |
| [Compound Engineering](https://github.com/EveryInc/compound-engineering-plugin) | 26.2k | <img src="https://img.shields.io/badge/%2Fce--setup-ddf4ff" alt="/ce-setup" align="middle"> → <img src="https://img.shields.io/badge/%2Fce--brainstorm-ddf4ff" alt="/ce-brainstorm" align="middle"> → <img src="https://img.shields.io/badge/%2Fce--plan-ddf4ff" alt="/ce-plan" align="middle"> → <img src="https://img.shields.io/badge/%2Fce--work-ddf4ff" alt="/ce-work" align="middle"> → <img src="https://img.shields.io/badge/%2Fce--noslop-fff3b0" alt="/ce-noslop" align="middle"> → <img src="https://img.shields.io/badge/%2Fce--compound-ddf4ff" alt="/ce-compound" align="middle"> → <img src="https://img.shields.io/badge/%2Fce--compound--refresh-fff3b0" alt="/ce-compound-refresh" align="middle"> | 0 | 1 | 38 |
| [HumanLayer](https://github.com/humanlayer/humanlayer) | 12.9k | <img src="https://img.shields.io/badge/grind--research-ddf4ff" alt="grind-research" align="middle"> → <img src="https://img.shields.io/badge/grind--design--discussion-ddf4ff" alt="grind-design-discussion" align="middle"> → <img src="https://img.shields.io/badge/codebase--design-ddf4ff" alt="codebase-design" align="middle"> → <img src="https://img.shields.io/badge/subagent--orchestrator-fff3b0" alt="subagent-orchestrator" align="middle"> → <img src="https://img.shields.io/badge/test--it--locally-fff3b0" alt="test-it-locally" align="middle"> → <img src="https://img.shields.io/badge/bump--version-ddf4ff" alt="bump-version" align="middle"> | 0 | 0 | 29 |

> *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
- [RPI](https://github.com/shanraisshan/claude-code-best-practice/blob/main/development-workflows/rpi/rpi-workflow.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](development-workflows/rpi/rpi-workflow.md)
- [Ralph Wiggum Loop](https://www.youtube.com/watch?v=eAtvoGlpeRU) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](https://github.com/shanraisshan/ralph-wiggum-self-evolving-loop)
- [Andrej Karpathy (Founding Member, OpenAI) Workflow](https://x.com/karpathy/status/2015883857489522876)
- [Peter Steinberger (Creator of OpenClaw) Workflow](https://youtu.be/8lF7HmQ_RgY?t=2582)
- Boris Cherny (Creator of Claude Code) Workflow — [13 Tips](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-boris-13-tips-03-jan-26.md) · [10 Tips](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-boris-10-tips-01-feb-26.md) · [12 Tips](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-boris-12-tips-12-feb-26.md) · [2 Tips](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-boris-2-tips-25-mar-26.md) · [15 Tips](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-boris-15-tips-30-mar-26.md) · [6 Tips](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-boris-6-tips-16-apr-26.md) [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny)
- Thariq (Anthropic) Workflow — [Skills](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-thariq-tips-17-mar-26.md) · [Session Management](https://github.com/shanraisshan/claude-code-best-practice/blob/main/tips/claude-thariq-tips-16-apr-26.md) [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](https://x.com/trq212)

<p align="center">
  <img src="!/claude-jumping.svg" alt="section divider" width="60" height="50">
</p>

## 🔀 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](https://github.com/shanraisshan/claude-code-best-practice/blob/main/development-workflows/cross-model-workflow/cross-model-workflow.md) [![Implemented](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/implemented.svg)](development-workflows/cross-model-workflow/cross-model-workflow.md) — manual two-terminal flow with Plan in Claude, QA-Review in Codex.

| Name | ★ | Type | Bridges to | What it does |
|------|---|------|------------|--------------|
| [musistudio/claude-code-router](https://github.com/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](https://github.com/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](https://github.com/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](https://github.com/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 |

<p align="center">
  <img src="!/claude-jumping.svg" alt="section divider" width="60" height="50">
</p>

## 🧰 SKILL COLLECTIONS

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

| Name | ★ | <img src="!/tags/s.svg" height="14"> |
|------|---|---|
| [mattpocock/skills](https://github.com/mattpocock/skills) | 322k | 27 |
| [anthropics/skills](https://github.com/anthropics/skills) | 193k | 19 |
| [Egonex-AI/Understand-Anything](https://github.com/Egonex-AI/Understand-Anything) | 67k | 8 |
| [scientific-agent-skills](https://github.com/K-Dense-AI/scientific-agent-skills) | 57k | 177 |
| [wshobson/agents](https://github.com/wshobson/agents) | 42k | 185 |
| [awesome-agent-skills](https://github.com/VoltAgent/awesome-agent-skills) | 37k | 1,497+ (curated list) |
| [impeccable](https://github.com/pbakaus/impeccable) | 27k | 1 (with 7 design domain references) |
| [agent-skills](https://github.com/addyosmani/agent-skills) | 27k | 21 |
| [claude-skills](https://github.com/alirezarezvani/claude-skills) | 15k | 246 (across 9 domains) |
| [shanraisshan/draw-json-architecture-skill](https://github.com/shanraisshan/draw-json-architecture-skill) | 3 | 1 |

<p align="center">
  <img src="!/claude-jumping.svg" alt="section divider" width="60" height="50">
</p>

## 🤖 AGENT COLLECTIONS

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

| Name | ★ | <img src="!/tags/a.svg" height="14"> |
|------|---|---|
| [msitarzewski/agency-agents](https://github.com/msitarzewski/agency-agents) | 168k | 283 |
| [VoltAgent/awesome-claude-code-subagents](https://github.com/VoltAgent/awesome-claude-code-subagents) | 27k | 170 (curated list) |

<p align="center">
  <img src="!/claude-jumping.svg" alt="section divider" width="60" height="50">
</p>

## 💡 TIPS AND TRICKS (84)

🚫👶 = do not babysit

[Prompting](#tips-prompting) · [Planning](#tips-planning) · [Context](#tips-context) · [Session](#tips-session) · [CLAUDE.md + .claude/rules](#tips-claudemd) · [Agents](#tips-agents) · [Commands](#tips-commands) · [Skills](#tips-skills) · [Hooks](#tips-hooks) · [Workflows](#tips-workflows) · [Advanced](#tips-workflows-advanced) · [Git / PR](#tips-git-pr) · [Debugging](#tips-debugging) · [Utilities](#tips-utilities) · [Daily](#tips-daily) · [Usage / Limits](#tips-usage)

![Community](https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/!/tags/community.svg)

<a id="tips-prompting"></a>■ **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](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2017742752566632544) |
| after a mediocre fix — "knowing everything you know now, scrap this and implement the elegant solution" 🚫👶 | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2017742752566632544) |
| Claude fixes most bugs by itself — paste the bug, say "fix", don't micromanage how 🚫👶 | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2017742750473720121) |

<a id="tips-planning"></a>■ **Planning/Specs (7)**

| Tip | Source |
|-----|--------|
| always start with [plan mode](https://code.claude.com/docs/en/common-workflows) | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2007179845336527000) |
| start with a minimal spec or prompt and ask Claude to interview you using [AskUserQuestion](https://code.claude.com/docs/en/cli-reference) tool, then make a new session to execute the spec | [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](https://x.com/trq212/status/2005315275026260309) |
| always make a phase-wise gated plan, with each phase having multiple tests (unit, automation, integration) | [![Dex](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community-dex.svg)](videos/claude-dex-mlops-community-24-mar-26.md) [![Video](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/video.svg)](https://youtu.be/YwZR6tc7qYg?t=1032) |
| 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](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community-matt.svg)](videos/claude-matt-pocock-24-apr-26.md) [![Video](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/video.svg)](https://youtu.be/-QFHIoCo-Ko) |
| spin up a second Claude to review your plan as a staff engineer, or use [cross-model](https://github.com/shanraisshan/claude-code-best-practice/blob/main/development-workflows/cross-model-workflow/cross-model-workflow.md) for review | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2017742745365057733) |
| write detailed specs and reduce ambiguity before handing work off — the more specific you are, the better the output | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2017742752566632544) |
| prototype > PRD — build 20-30 versions instead of writing specs, the cost of building is low so take many shots | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://youtu.be/julbw1JuAz0?t=3630) [![Video](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/video.svg)](https://youtu.be/julbw1JuAz0?t=3630) |

<a id="tips-context"></a>■ **Context (5)**

| Tip | Source |
|-----|--------|
| context rot kicks in around ~300-400k tokens on the 1M context model — don't let sessions drift past that for intelligence-sensitive work | [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |
| 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](https://code.claude.com/docs/en/interactive-mode) or [/clear](https://code.claude.com/docs/en/cli-reference) to reset when switching tasks | [![Dex](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community-dex.svg)](videos/claude-dex-mlops-community-24-mar-26.md) [![Video](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/video.svg)](https://youtu.be/YwZR6tc7qYg?t=1541) |
| rewind > correct — double-Esc or [/rewind](https://code.claude.com/docs/en/checkpointing) back to before the failed attempt and re-prompt with what you learned, instead of leaving failed attempts + corrections polluting context 🚫👶 | [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |
| [/compact](https://code.claude.com/docs/en/interactive-mode) 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 rot | [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |
| 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](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |

<a id="tips-session"></a>■ **Session Management (6)**

| Tip | Source |
|-----|--------|
| 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 forward | [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |
| 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 session | [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |
| 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 self | [![Thariq](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |
| /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](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/thariq.svg)](tips/claude-thariq-tips-16-apr-26.md) |
| 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 /config | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](tips/claude-boris-6-tips-16-apr-26.md) |
| [/rename](https://code.claude.com/docs/en/cli-reference) important sessions (e.g. [TODO - refactor task]) and [/resume](https://code.claude.com/docs/en/cli-reference) them later — label each instance when running multiple Claudes simultaneously | [![Cat](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/cat-wu.svg)](https://every.to/podcast/how-to-use-claude-code-like-the-people-who-built-it) |

<a id="tips-claudemd"></a>■ **CLAUDE.md + .claude/rules (8)**

| Tip | Source |
|-----|--------|
| [CLAUDE.md](https://code.claude.com/docs/en/memory) should target under [200 lines](https://code.claude.com/docs/en/memory#write-effective-instructions) per file. [60 lines in humanlayer](https://www.humanlayer.dev/blog/writing-a-good-claude-md) ([still not 100% guaranteed](https://www.reddit.com/r/ClaudeCode/comments/1qn9pb9/claudemd_says_must_use_agent_claude_ignores_it_80/)) | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2007179840848597422) [![Dex](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community-dex.svg)](https://www.humanlayer.dev/blog/writing-a-good-claude-md) |
| .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 glob | [![Claude](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/claude.svg)](https://code.claude.com/docs/en/memory#organize-rules-with-claude/rules/) |
| wrap domain-specific CLAUDE.md rules in [\<important if="..."\> tags](https://www.hlyr.dev/blog/stop-claude-from-ignoring-your-claude-md) to stop Claude from ignoring them as files grow longer | [![Dex](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community-dex.svg)](https://www.hlyr.dev/blog/stop-claude-from-ignoring-your-claude-md) |
| use [multiple CLAUDE.md](https://github.com/shanraisshan/claude-code-best-practice/blob/main/best-practice/claude-memory.md) for monorepos — ancestor + descendant loading | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2016339448863355206) |
| use [.claude/rules/](https://code.claude.com/docs/en/memory#organize-rules-with-claude/rules/) to split large instructions | [![Claude](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/claude.svg)](https://code.claude.com/docs/en/memory#organize-rules-with-claude/rules/) |
| 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 commands | [![Dex](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community-dex.svg)](https://x.com/dexhorthy/status/2034713765401551053) |
| keep codebases clean and finish migrations — partially migrated frameworks confuse models that might pick the wrong pattern | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://youtu.be/julbw1JuAz0?t=1112) [![Video](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/video.svg)](https://youtu.be/julbw1JuAz0?t=1112) |
| use [settings.json](https://github.com/shanraisshan/claude-code-best-practice/blob/main/best-practice/claude-settings.md) for harness-enforced behavior (attribution, permissions, model) — don't put "NEVER add Co-Authored-By" in CLAUDE.md when attribution.commit: "" is deterministic | [![davila7](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/community-davila7.svg)](https://x.com/dani_avila7/status/2036182734310195550) |

<a id="tips-agents"></a><img src="!/tags/a.svg" height="14"> **Agents (4)**

| Tip | Source |
|-----|--------|
| have feature specific [sub-agents](https://code.claude.com/docs/en/sub-agents) (extra context) with [skills](https://code.claude.com/docs/en/skills) (progressive disclosure) instead of general qa, backend engineer | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2007179850139000872) |
| say "use subagents" to throw more compute at a problem — offload tasks to keep your main context clean and focused 🚫👶 | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2017742755737555434) |
| [agent teams with tmux](https://code.claude.com/docs/en/agent-teams) and [git worktrees](https://x.com/bcherny/status/2025007393290272904) for parallel development | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2025007393290272904) |
| use [test time compute](https://code.claude.com/docs/en/sub-agents) — separate context windows make results better; one agent can cause bugs and another (same model) can find them | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2031151689219321886) |

<a id="tips-commands"></a><img src="!/tags/c.svg" height="14"> **Commands (3)**

| Tip | Source |
|-----|--------|
| use [commands](https://code.claude.com/docs/en/skills) for your workflows instead of [sub-agents](https://code.claude.com/docs/en/sub-agents) | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2007179847949500714) |
| use [slash commands](https://code.claude.com/docs/en/skills) for every "inner loop" workflow you do many times a day — saves repeated prompting, commands live in .claude/commands/ and are checked into git | [![Boris](https://github.com/shanraisshan/claude-code-best-practice/blob/main/!/tags/boris-cherny.svg)](https://x.com/bcherny/status/2007179847949500714) |

## FAQ

### How do I install Claude Code Best Practice?

You can also download it as a ZIP and unpack it into `~/.claude/skills/`.

### Is Claude Code Best Practice free?

Yes. It is open source under the MIT license.

### Who made Claude Code Best Practice?

It is published by [shanraisshan](https://github.com/shanraisshan).

### When was Claude Code Best Practice last updated?

The latest version, 1.0.0, was released on 23 Nov 2026.
