Skip to content

cassler/awesome-claude-code-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Code Power Tools

Supercharge your Claude Code experience with lightning-fast commands and intelligent workflows.

🎯 19 Slash Commands β€’ ⚑ 17 Shell Tools
🧠 NLP Analysis β€’ πŸ€– MCP Servers πŸ’° 50-80% Token Savings
πŸ“¦ TypeScript/JS β€’ 🐍 Python β€’ 🐹 Go β€’ πŸ¦€ Rust

Brought to you by
Claude Code Power Tools

macOS Tests Linux Tests

πŸͺΆ What is AwesomeClaude?

AwesomeClaude is based on Anthropic's Claude Code Best Practices - implementing their recommended patterns for reducing token usage through batched operations, improving speed by scripting repetitive tasks, ensuring consistency with standardized workflows, and maintaining minimal context overhead. Like a seasoned engineer, we focus on mastering the environment Claude works in - not just adding more tools, but building the right foundation. We add only ~300 tokens to Claude's context while providing professional-grade capabilities:

  • βœ… Token-Conscious Bash - scripts, automations, and cli tools to minmize token usage while maximizing power.

  • βœ… NLP-Powered Code Analysis - static analysis, code quality, and documentation insights without external dependencies.

  • βœ… Thoughtful Batching - We keep complex business logic where it belongs: in code, not in Claude's context.

  • βœ… SDLC Best-Practices - We provide complete workflows for feature development, debugging, testing, documentation, git ops and deployment with simple slash commands.

  • βœ… MCP Server Integration - Seamlessly connect to Playwright and Context7 MCP servers for visual testing and always-current documentation.

πŸš€ Quick Install (30 seconds)

# One-line install
curl -sSL https://raw.githubusercontent.com/cassler/awesome-claude-code-setup/main/setup.sh | bash && source ~/.zshrc

# Or if you prefer to review first:
git clone https://github.com/cassler/awesome-claude-code-setup.git && cd awesome-claude-code-setup && ./setup.sh && source ~/.zshrc

That's it! You now have instant access to powerful commands and workflows. Setup handles everything automatically!

  • Detects existing servers to avoid duplicates
  • Installs only what you need
  • Works at user level - available in all projects
  • Falls back to manual instructions if needed

πŸ“¦ What Gets Installed?

  1. Helper scripts β†’ ~/.claude/scripts/
  2. Slash commands β†’ ~/.claude/commands/
  3. Shell aliases β†’ Added to your .zshrc or .bashrc
  4. Global config β†’ ~/.claude/CLAUDE.md (auto-updated)

πŸ“ Slash Commands - What You'll Actually Use

Type / in Claude to access these complete workflows:

Development Workflows

  • ✨ /start-feature - Create issue, branch, and draft PR automatically
  • πŸ› /debug-issue - Systematic debugging with root cause analysis
  • βœ… /pre-review-check - Ensure code is review-ready
  • 🚒 /pre-deploy-check - Production readiness verification

Analysis & Documentation

  • 🧠 /understand-codebase - Get up to speed on any project quickly
  • πŸ“ /update-docs - Keep documentation in sync with code
  • πŸ“š /gather-tech-docs - Extract all technical documentation
  • πŸ” /explore-module - Deep dive into module dependencies
  • πŸ“¦ /analyze-dependencies - Comprehensive dependency audit
  • 🌐 /api-documenter - Auto-generate API documentation
  • πŸ”§ /refactor-assistant - Systematic refactoring workflow

Testing & Quality

  • πŸ§ͺ /tdd - Test-driven development workflow
  • 🎨 /visual-test - Visual regression testing
  • πŸ’Έ /tech-debt-hunt - Find and prioritize technical debt
  • πŸ”’ /security-audit - Comprehensive security vulnerability scan
  • ⚑ /performance-check - Find performance bottlenecks

Process & Tracking

  • πŸ”„ /commit-and-push - Complete git workflow with PR checks
  • πŸ““ /dev-diary - Track development decisions
  • πŸš€ /post-init-onboarding - Systematic project onboarding

🎯 Shell Commands (How Claude Saves You Tokens)

These aliases are primarily for Claude to efficiently execute tasks without loading documentation into context, but you can use them directly too:

Essential Shortcuts

  • chp - Project overview - Get instant context about any codebase
  • chs find-code "pattern" - Lightning-fast search using ripgrep
  • ch - Main helper - Access any tool with ch [category] [command]

Command Categories

Category Alias Key Commands Purpose
project p chp β†’ full project overview Instant codebase analysis
search s find-code, find-file, search-imports Lightning-fast code search
git g quick-commit, pr-ready, status Streamlined git workflows
docker d ps, logs, shell, inspect Container management
typescript ts deps, build, test, outdated Node.js/TypeScript tools
python py deps, test, lint, venv, audit Complete Python toolkit
go go deps, test, build, mod, audit Full Go development
context ctx for-task, mdout, mdfm, mdh Smart context generation
multi m read-many, read-pattern Batch file operations
api - test, watch, benchmark API testing & monitoring
interactive i select-file, select-branch Interactive selections
nlp text tokens, complexity, security, smells 🧠 AI-powered code analysis

πŸ’‘ Usage: ch [category] [command] or use shortcuts like chp, chs πŸ“š Full docs: Run ch [category] help to see all commands for any category

🧠 NLP & Code Analysis - Your AI-Powered Code Review

Powerful static analysis without external dependencies! Our NLP toolkit uses only Python's standard library to provide:

πŸ“Š Token Management

  • ch nlp tokens file.py - Know the cost before reading files
  • Smart batching - Check multiple files: ch nlp tokens src/*.js
  • Prevent context bloat - Never accidentally load massive files

πŸ” Code Quality Analysis

  • ch nlp complexity file.py - Cyclomatic complexity scoring
  • ch nlp security code.py - Find SQL injection, hardcoded secrets, unsafe operations
  • ch nlp smells code.py - Detect long functions, deep nesting, magic numbers
  • ch nlp duplicates src/ 5 - Find duplicate code blocks (5+ lines)
  • ch nlp docs module.py - Documentation coverage analysis

πŸ“ Text Processing

  • ch nlp summary README.md - Extract key points from documentation
  • ch nlp keywords article.md 20 - Extract top keywords
  • ch nlp readability docs.md - Calculate readability scores
  • ch nlp sentiment "review text" - Analyze text sentiment

🎯 One Command, Complete Analysis

ch nlp overview app.py

Returns everything: complexity scores, security issues, code smells, documentation coverage, and improvement suggestions - all in one structured output!

πŸ’‘ Why Use This?

Token Usage Comparison

Approach Context Tokens Example
Other tools 5,000-15,000 tokens Full documentation loaded in context
Manual work 1,000+ tokens per task Multiple file reads, repeated commands
Claude Helpers ~300 tokens total Tiny config + environmental scripts

Without these tools:

  • Claude makes multiple tool calls to gather project info
  • You type long commands repeatedly
  • Token usage adds up quickly
  • Workflows vary between sessions

With these tools:

  • One command (chp) = complete project context
  • Shortcuts for everything (chs find-code "pattern")
  • Batched operations save 50-80% on tokens
  • AI-powered analysis (ch nlp overview file.py = complexity + security + quality)
  • Token awareness (ch nlp tokens before reading large files)
  • Consistent, reproducible workflows
  • Your context stays clean for actual work

πŸ”§ Required & Optional Tools

Required

  • ripgrep - Fast file searching (search-tools.sh)
  • jq - JSON processing (project-info.sh, ts-helper.sh, api-helper.sh)

Optional Enhancements

  • fzf - Interactive fuzzy finder
  • bat - Syntax highlighting
  • gum - Beautiful CLI prompts
  • delta - Enhanced git diffs
  • httpie - Better HTTP client

The setup script will offer to install missing tools automatically.

πŸ› οΈ Customization

Adding New Scripts

  1. Create script in scripts/my-helper.sh
  2. Run ./setup.sh to install
  3. Access via ch myhelper or add to main helper

Adding New Commands

  1. Create markdown in commands/my-command.md
  2. Run ./setup.sh to install
  3. Use in Claude as /my-command

🀝 Contributing

  1. Fork the repository
  2. Add your scripts/commands
  3. Submit a pull request
  4. Share your improvements!

πŸ“„ License

MIT License - see LICENSE file for details

About

Give Claude the super powers it deserves with this power user collection of bash scripts and slash commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •