claude-code-best-practice CLAUDE.md
From shanraisshan
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Facts
- Repository
- shanraisshan/claude-code-best-practice
- Status
- Actively maintained
- Last commit
- Source file
- CLAUDE.md
Source preview
The instructions Claude Code reads when this claude.md runs.
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Repository Overview
This is a best practices repository for Claude Code configuration, demonstrating patterns for skills, subagents, hooks, and commands. It serves as a reference implementation rather than an application codebase.
## Key Components
### Weather System (Example Workflow)
A demonstration of two distinct skill patterns via the **Command → Agent → Skill** architecture:
- `/weather-orchestrator` command (`.claude/commands/weather-orchestrator.md`): Entry point — asks user for C/F, invokes agent, then invokes SVG skill
- `weather-agent` agent (`.claude/agents/weather-agent.md`): Fetches temperature using its preloaded `weather-fetcher` skill (agent skill pattern)
- `weather-fetcher` skill (`.claude/skills/weather-fetcher/SKILL.md`): Preloaded into agent — instructions for fetching temperature from Open-Meteo
- `weather-svg-creator` skill (`.claude/skills/weather-svg-creator/SKILL.md`): Skill — creates SVG weather card, writes `orchestration-workflow/weather.svg` and `orchestration-workflow/output.md`
Two skill patterns: agent skills (preloaded via `skills:` field) vs skills (invoked via `Skill` tool). See `orchestration-workflow/orchestration-workflow.md` for the complete flow diagram.
### Skill Definition Structure
Skills in `.claude/skills/<naView full source on GitHub →Other claude.md files
ECC CLAUDE.md
★ 229,918This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
affaan-mupdated 15d agoMITui-ux-pro-max-skill CLAUDE.md
★ 105,847This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
nextlevelbuilderupdated 14d agoMITcaveman CLAUDE.md
★ 89,686README = product front door. Non-technical people read it to decide if caveman worth install. Treat like UI copy.
JuliusBrusseeupdated 25d agoMITservers CLAUDE.md
★ 88,502This file provides guidance to Claude Code when working with code in this repository.
modelcontextprotocolupdated 19d agoNOASSERTIONclaude-mem CLAUDE.md
★ 87,329Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future ses
thedotmackupdated 13d agoApache-2.0agent-skills CLAUDE.md
★ 78,448This is the agent-skills project — a collection of production-grade engineering skills for AI coding agents.
addyosmaniupdated 16d agoMIT