claude-code-best-practice
by shanraisshan
Collected tips and recommended practices for getting better results from Claude Code and agentic coding.
- Stars
- 69,390 stars
- Forks
- 6.9k forks
- Last push
- today
- Activity
- Active
# Get the repository$ git clone https://github.com/shanraisshan/claude-code-best-practice.git
cd claude-code-best-practiceCommands from the project's README. Run them after installing (see below).
Overview
Understand claude-code-best-practice in 60 seconds
- What it does
- claude-code-best-practice is a learning resource for Claude Code. It explains each building block, such as subagents, commands, skills, hooks, MCP servers, memory and settings, with a best-practice note and a working example in the repository.
- The problem it solves
- Claude Code has many features and it's hard to know how they fit together. This repo maps each one to where it lives (like .claude/agents or CLAUDE.md), links the official docs, and shows a full command to agent to skill workflow you can copy.
- Why choose it
- Choose it as a structured course: concept tables with links, implementations you can run, and a large tips and tricks section to apply to your own project.
- Who should use it
- Claude Code users moving beyond chat-style use
- Developers building their own agent workflows
- Teams writing CLAUDE.md and project settings
- Learners who prefer examples over docs alone
- Setup difficulty
You'll need:
- Claude Code installed
- git
How claude-code-best-practice works
The README is organised as tables. The Concepts table covers subagents, commands, skills, workflows, hooks, MCP servers, plugins, settings, status line, memory, checkpointing, sessions and the context window, each with its file location, official docs link and the repo's own best-practice and implementation notes. A Hot table tracks newer features.
The author suggests reading it as a course rather than installing it as a workflow. Running the /weather-orchestrator command shows a complete command, agent and skill flow you can use as a template.
There's also a tips and tricks section, sourced from the Claude team, that you can point Claude at to suggest improvements to your own CLAUDE.md. The repository is MIT licensed.
Features
Key features
Concept map
Every Claude Code feature with its file location.
Best-practice notes
A written guide per feature.
Implementations
Working examples in the repo.
Orchestration example
The /weather-orchestrator workflow.
Tips and tricks
Advice sourced from the Claude team.
Hot features
Tracks newly released features.
Strengths
- Clear structure
- Links to official docs
- Runnable examples
- MIT licensed
Limitations
- Reference material, not a tool
- Specific to Claude Code
- Feature list changes quickly
Practical use cases
Learn Claude Code
Work through the concept tables.
Improve your CLAUDE.md
Ask Claude to apply the tips to your project.
Template a workflow
Copy the command to agent to skill pattern.
Installation
Install claude-code-best-practice
Commands come from claude-code-best-practice's README. AIRepoHub hasn't run them yet. View source
Prerequisites
- Claude Code
- git
Supported systems
- Windows
- macOS
- Linux
- 1
Clone the repository
Shellgit clone https://github.com/shanraisshan/claude-code-best-practice.gitcd claude-code-best-practice - 2
Open it in Claude Code
Shellclaude
Configuration and API keys
| Setting | What it's for |
|---|
First run
- 1
Run the example workflow inside Claude Code
Text/weather-orchestrator
claude-code-best-practice's documentation doesn't include sample output, so we don't show any. Expect the results in your terminal.
Your first project
See a full command, agent and skill workflow
Run the example orchestration and use it as a template.
Before you start
- Claude Code installed
- Repository cloned
- 1
Start Claude Code in the repo
Shellcd claude-code-best-practiceclaude - 2
Run the orchestrator command
Text/weather-orchestrator - 3
Read how it's built
Open orchestration-workflow/orchestration-workflow.md and .claude/commands/weather-orchestrator.md.
What to expect
You see a command hand work to an agent that uses a skill, and the files that define each part.
Next steps
- Read the subagents and skills best-practice notes
- Apply the tips section to your own CLAUDE.md
- Explore the Hot features table
Costs and requirements
What it costs to run
- Repository
- Free under the MIT license.Free
- Claude Code
- Needs a Claude subscription or API usage.Depends
Troubleshooting
Common setup issues
Slash command not found
Make sure Claude Code was started inside the cloned repository folder.
Alternatives
Similar AI repositories
ECC
affaan-m
Add-on system for Claude Code, Codex, Cursor and similar coding agents that adds skills, memory and security checks.
hermes-agent
NousResearch
Personal AI agent from Nous Research that learns and improves the more you use it.
ponytail
DietrichGebert
Agent skill for Claude Code and Cursor that pushes your AI coding agent to write less, simpler code.
cc-switch
farion1231
Desktop app for Windows, macOS and Linux that manages settings for Claude Code, Codex, OpenCode and similar AI coding tools.