Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Claude Code

A collection of examples and best practices for using Claude Code in your daily development workflow.

Table of Contents


Installation

Install Claude Code CLI

curl -fsSL https://claude.ai/install.sh | bash

irm https://claude.ai/install.ps1 | iex

brew install --cask claude-code

npm install -g @anthropic-ai/claude-code

Status Line Setup

The status line shows Claude Code's current state in your terminal. Configure it for your shell:

/status-line

MCP Servers

MCP (Model Context Protocol) servers extend Claude Code with additional capabilities.

Installing MCP Servers

claude mcp add <server-name>

Listing Installed Servers

claude mcp list

Removing a Server

claude mcp remove <server-name>

Recommended MCP Servers

1. Context7

Up-to-date documentation for libraries and frameworks.

claude mcp add -s user -t http -H "CONTEXT7_API_KEY: {API_KEY}" context7 https://mcp.context7.com/mcp

Usage: Ask about any library and get current documentation, not outdated training data.

2. Obsidian

Connect Claude Code to your Obsidian vault for knowledge management.

claude mcp add mcp-obsidian --scope user --env OBSIDIAN_API_KEY={API_KEY} -- uvx mcp-obsidian

Usage: Search notes, create documentation, link knowledge from your vault.

3. Playwright

Browser automation and web testing capabilities.

claude mcp add playwright --scope user -- npx @playwright/mcp@latest

Usage: Automate browser interactions, take screenshots, test web applications.

4. Sequential Thinking

Enhanced reasoning for complex problem-solving.

claude mcp add sequential-thinking --scope user -- npx -y @modelcontextprotocol/server-sequential-thinking

Usage: Break down complex problems, step-by-step analysis, better planning.

MCP Configuration File

Servers are stored in ~/.claude/mcp.json:


Useful Commands

/clear - Clear current context

/context - Manage Context

View and manage what files and context Claude has access to.

/context              # Show current context

/resume - Resume Previous Session

Continue a previous conversation where you left off.

/resume               # List recent sessions

/usage - Token Usage

Check your token usage and costs.

/usage                # Show current session usage

Other Useful Commands

Command Description
/help Show all available commands
/config View/edit configuration
/model Switch between models
/compact Compact conversation to save tokens

Examples

This repository includes examples for:

CLAUDE.md

Project guidance file that helps Claude understand your codebase:

CLAUDE.md

Architecture Documentation

Example architecture guide for feature-first projects:

docs/architecture.md

Custom Commands

Slash commands for common workflows:

.claude/commands/
├── commit.md           # Smart commit with checks
└── analyze-endpoint.md # Generate endpoint flow diagrams

Custom Agents

Specialized agents for complex tasks:

.claude/agents/
├── code-reviewer.md    # Deep architectural analysis
└── test-generator.md   # Comprehensive test generation

Hooks & Permissions

Settings for automation and security:

.claude/settings.local.json
scripts/protect_architecture.py

Nuke Build Integration

Using Nuke as CLI tools for Claude:

build/Build.cs          # Build targets with .env support
.env.example   # Environment variables template

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages