context7
Fetches up-to-date documentation and code examples for libraries, frameworks, SDKs, CLI tools and cloud services, so an AI agent can answer API questions and generate code against current references.
A guide for engineers who want Claude Code to handle real work, from simple prompting to coordinated autonomous development. Also ships a deploy skill for releasing, rolling back and checking service health.
Claude Code
$ npx -y skills add vignesh2027/claude-best-practice --agent claude-code
Codex
$ npx skills add vignesh2027/claude-best-practice -a codex
Cursor
$ npx skills add vignesh2027/claude-best-practice -a cursor
Gemini CLI
$ npx skills add vignesh2027/claude-best-practice -a gemini-cli
GitHub Copilot
$ npx skills add vignesh2027/claude-best-practice -a github-copilot
OpenCode
$ npx skills add vignesh2027/claude-best-practice -a opencode
Windsurf
$ npx skills add vignesh2027/claude-best-practice -a windsurf
The most comprehensive, production-ready guide to mastering Claude Code From vibe coding โ agentic engineering โ autonomous AI development teams
Built for engineers who treat Claude Code as infrastructure, not a toy.
Most Claude Code guides cover the basics. This one doesn't stop there.
After thousands of hours of real-world usage across solo projects, startup teams, and enterprise codebases, this repository captures:
.claude/settings.json, hooks, commands, skillsWhether you're a solo developer building side projects or an engineering team shipping at scale, this guide gives you the mental models and practical tools to unlock Claude Code's full potential.
Claude Code is Anthropic's official AI-powered CLI and IDE extension that brings Claude directly into your development workflow. Unlike chat-based AI tools, Claude Code:
| Feature | Claude Code | GitHub Copilot | Cursor | ChatGPT |
|---|---|---|---|---|
| Full codebase access | โ | โ | โ | โ |
| Shell command execution | โ | โ | Limited | โ |
| Agentic task execution | โ | โ | Limited | โ |
| Subagent orchestration | โ | โ | โ | โ |
| MCP tool integrations | โ | โ | โ | โ |
| Custom hooks | โ | โ | โ | โ |
| CLAUDE.md project context | โ | โ | โ | โ |
| Cross-model routing | โ | โ | โ | โ |
| Scheduled/automated tasks | โ | โ | โ | โ |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CLAUDE CODE SYSTEM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ USER INPUT โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ CLAUDE ORCHESTRATOR โ โ
โ โ โข Reads CLAUDE.md (project context) โ โ
โ โ โข Applies settings.json (permissions/model/style) โ โ
โ โ โข Fires pre-tool hooks โ โ
โ โ โข Routes to subagents / invokes tools โ โ
โ โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โผ โผ โผ โ
โ โโโโโโโโ โโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โ
โ โ Read โ โ Edit โ โ Bash โ โ MCP โ โ
โ โ File โ โ File โ โ Shell โ โ Tools โ โ
โ โโโโโโโโ โโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โ
โ โ
โ SUBAGENTS (isolated context windows) โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Explore โ โ Planner โ โ Coder โ โ Reviewer โ โ
โ โ Agent โ โ Agent โ โ Agent โ โ Agent โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ
โ HOOKS (event-driven automation) โ
โ PreToolUse โ PostToolUse โ Stop โ SubagentStop โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Install Claude Code CLI
npm install -g @anthropic-ai/claude-code
# Or use the VS Code / JetBrains extension
# Or access via claude.ai/code
# Navigate to your project
cd my-project
# Start Claude Code
claude
# Or start with a specific task
claude "explain the architecture of this codebase"
# Enable plan mode for complex tasks
claude --plan "refactor the authentication system"
# Initialize CLAUDE.md for your project
claude /init
# Check settings
claude /config
# View available commands
claude /help
Context is the most critical resource in Claude Code. Mismanaging it is the #1 cause of degraded output quality.
Claude Code operates within a token context window. Think of it like RAM โ finite, precious, and easy to exhaust.
Context Window
โโโ System prompt (CLAUDE.md + settings) ~5-10%
โโโ Conversation history grows with each turn
โโโ File contents (read files) can be large
โโโ Tool outputs (bash, search results) often very large
โโโ Available for response shrinks as above grows
Rule 1: The 30% Rule Keep your context utilization below 30-40%. Above this threshold, Claude starts "forgetting" earlier context and output quality degrades.
0% โโโโโโโโโโโโโโโโโโโโโโ 30% โโโโโโโโโโโโ 60% โโโโ 80% โโ 100%
IDEAL ZONE WARNING DANGER CRITICAL
Rule 2: Rewind Don't Correct When Claude makes a mistake mid-task, don't keep piling on corrections. The corrections consume context AND confuse the model. Instead:
ESC to interrupt/rewind to go back to the last clean stateRule 3: Fresh Sessions for Fresh Tasks
# Wrong: Continuing from a long session for an unrelated task
# (you're now paying the cost of all that prior context)
# Right: New task = new session
claude /clear
claude "new task here"
# Or use /compact to summarize and continue
claude /compact "focus on the auth refactor"
Rule 4: Strategic /compact
Use /compact with a specific hint so Claude summarizes what matters:
# Bad (no hint โ Claude guesses what to keep)
/compact
# Good (Claude knows what to preserve)
/compact "we're mid-way through the database migration, keep all schema decisions"
Don't read files you don't need. Be surgical:
# Instead of asking Claude to read the whole codebase, guide it:
"Read only src/auth/middleware.ts and tell me what token validation logic exists"
# Not:
"Read the codebase and tell me about auth"
Plan Mode is Claude Code's most powerful feature for complex, multi-step tasks. It separates thinking from acting, preventing premature execution.
| Task Type | Plan Mode? |
|---|---|
| Simple bug fix (1-2 files) | Optional |
| Feature spanning 3+ files | Yes |
| Refactoring/architecture changes | Yes |
| Database migrations | Yes, always |
| Security-sensitive changes | Yes, always |
| Anything you can't easily undo | Yes |
# Via CLI flag
claude --plan "migrate the users table to add OAuth columns"
# Via slash command mid-session
/plan
# Via keyboard shortcut
Shift + Tab # toggle plan/execute mode
GOOD PLAN WORKFLOW:
1. Enter plan mode
2. State the goal + constraints
3. Review the plan Claude proposes
4. Ask questions / push back on decisions
5. Refine until you're confident
6. Exit plan mode โ execute
BAD PLAN WORKFLOW:
1. Skip plan mode
2. Ask Claude to "just do it"
3. Get halfway through, realize the approach was wrong
4. Spend 3x as long cleaning up
# Template for complex tasks
I need to [GOAL].
Constraints:
- [constraint 1]
- [constraint 2]
Do NOT touch:
- [file/system to leave alone]
Before executing, give me a step-by-step plan including:
1. Which files will be modified
2. What tests need to run
3. Any risks or irreversible steps
Subagents are isolated Claude instances with their own context windows. They're the key to handling complex tasks without exhausting your main context.
WITHOUT SUBAGENTS:
Main Context: [task 1 history] [task 2 history] [task 3 history]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Context fills up โ quality degrades
WITH SUBAGENTS:
Main Context: [orchestration logic only] โ stays clean
Subagent 1: [task 1 isolated]
Subagent 2: [task 2 isolated]
Subagent 3: [task 3 isolated]
Each starts fresh โ quality stays high
Fetches up-to-date documentation and code examples for libraries, frameworks, SDKs, CLI tools and cloud services, so an AI agent can answer API questions and generate code against current references.
Gives Claude Code skills and agents for writing React documentation on react.dev, covering MDX components, voice and style rules, blog post structure, and interactive Sandpack code examples.
An agent skill that turns complex terminal output into styled HTML pages you actually want to read. Ask your agent to explain a system architecture, review a diff, or compare requirements against a plan.
A WYSIWYG markdown editor so you can edit markdown files like a Google Doc or Notion page, with a desktop app and web UI for navigation, search, and wiki-style linking. It also ships skills for working in codebase wiki, personal CRM, and knowledge base projects.
A guide for engineers who want Claude Code to handle real work, from simple prompting to coordinated autonomous development. Also ships a deploy skill for releasing, rolling back and checking service health. Install it with the command on its page. It includes deploy. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it