A collection of examples and best practices for using Claude Code in your daily development workflow.
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-codeThe status line shows Claude Code's current state in your terminal. Configure it for your shell:
/status-lineMCP (Model Context Protocol) servers extend Claude Code with additional capabilities.
claude mcp add <server-name>claude mcp listclaude mcp remove <server-name>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/mcpUsage: Ask about any library and get current documentation, not outdated training data.
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-obsidianUsage: Search notes, create documentation, link knowledge from your vault.
Browser automation and web testing capabilities.
claude mcp add playwright --scope user -- npx @playwright/mcp@latestUsage: Automate browser interactions, take screenshots, test web applications.
Enhanced reasoning for complex problem-solving.
claude mcp add sequential-thinking --scope user -- npx -y @modelcontextprotocol/server-sequential-thinkingUsage: Break down complex problems, step-by-step analysis, better planning.
Servers are stored in ~/.claude/mcp.json:
View and manage what files and context Claude has access to.
/context # Show current context
Continue a previous conversation where you left off.
/resume # List recent sessions
Check your token usage and costs.
/usage # Show current session usage
| Command | Description |
|---|---|
/help |
Show all available commands |
/config |
View/edit configuration |
/model |
Switch between models |
/compact |
Compact conversation to save tokens |
This repository includes examples for:
Project guidance file that helps Claude understand your codebase:
CLAUDE.md
Example architecture guide for feature-first projects:
docs/architecture.md
Slash commands for common workflows:
.claude/commands/
├── commit.md # Smart commit with checks
└── analyze-endpoint.md # Generate endpoint flow diagrams
Specialized agents for complex tasks:
.claude/agents/
├── code-reviewer.md # Deep architectural analysis
└── test-generator.md # Comprehensive test generation
Settings for automation and security:
.claude/settings.local.json
scripts/protect_architecture.py
Using Nuke as CLI tools for Claude:
build/Build.cs # Build targets with .env support
.env.example # Environment variables template
Contributions are welcome! Please feel free to submit a Pull Request.