Skip to content

virgoC0der/awesome-claude-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Awesome Claude Code

A collection of powerful tools for Claude Code including custom slash commands and hooks to streamline development workflows and enhance productivity.

πŸ“‹ Available Commands

/code-reviewer

Expert code review with comprehensive analysis covering:

  • Security vulnerabilities and attack vectors
  • Performance bottlenecks and optimization opportunities
  • Logic errors and edge cases
  • Code maintainability and technical debt
  • Best practices and conventions

/fix-jira

Automated Jira ticket resolution workflow:

  1. Fetches and analyzes Jira ticket details
  2. Understands the problem and locates affected code
  3. Generates technical solution design
  4. Implements fixes using best practices

Usage: /fix-jira TICKET-123

/git-commit-pusher

Git workflow automation specialist that:

  • Reviews staged and unstaged changes
  • Generates conventional commit messages
  • Verifies changes before committing
  • Handles push operations safely

/golang-backend-engineer

Expert Go backend development assistance for:

  • Google Cloud Spanner queries and transactions
  • Pub/Sub message handling
  • Redis caching strategies
  • Elasticsearch operations
  • Follows systematic analysis β†’ planning β†’ implementation workflow

/pr

GitHub Pull Request creation with:

  • Automatic PR template population
  • Jira ticket integration (AFD-* pattern)
  • Smart upstream branch targeting

Usage: /pr [target-branch] (defaults to master)

/repo-analyze

AI-powered repository analysis using Gemini CLI + Claude collaboration:

  • Architecture and design pattern analysis
  • Code quality and maintainability assessment
  • Security vulnerability scanning
  • Performance bottleneck identification
  • Automatic documentation generation

Analysis types: architecture, functions, quality, security, performance, documentation, full

Usage: /repo-analyze [analysis-type] [repo-path] [output-path]

/technical-solution-architect

Transforms PRDs and requirements into comprehensive technical solutions:

  • Requirement analysis and system design
  • Architecture diagrams (Mermaid)
  • Interface and API specifications
  • Integration planning
  • Implementation roadmap

πŸ”” Hooks

This repository includes a powerful hooks system that enables real-time Slack notifications for Claude Code events, helping you stay informed when:

  • Claude Code needs your approval for an action
  • Tasks are completed and ready for review
  • Important events occur during development

Features

  • πŸ”” Automatic Notifications: Get Slack alerts when Claude Code requires human intervention
  • 🎨 Rich Messages: Beautiful notifications using Slack Block Kit
  • βš™οΈ Flexible Configuration: Support for multiple event types with custom triggers
  • πŸ”’ Secure: Sensitive information managed through environment variables
  • πŸ“¬ Dual Mode Support: Send via Webhook (to channels) or Direct Message (to yourself)
  • πŸ“¦ Minimal Dependencies: Webhook mode uses only Python stdlib, DM mode requires slack-sdk

Quick Start

Option 1: Direct Message Mode (Recommended)

Send notifications directly to your Slack DMs for better privacy.

  1. Create Slack App & Get Credentials

  2. Install Dependencies

    pip install slack-sdk
  3. Set Environment Variables

    export SLACK_CLAUDE_CODE_BOT_TOKEN="xoxb-your-token"
    export SLACK_MEMBER_ID="U01234567"
    # Add to ~/.bashrc or ~/.zshrc to make it permanent
  4. Install & Configure

    cp hooks/claude_slack_notifier.py ~/bin/
    chmod +x ~/bin/claude_slack_notifier.py

    Add to ~/.claude/settings.json:

    {
      "hooks": {
        "Notification": [{
          "matcher": "",
          "hooks": [{
            "type": "command",
            "command": "python3 ~/bin/claude_slack_notifier.py --event-type notification --mode dm"
          }]
        }],
        "Stop": [{
          "matcher": "",
          "hooks": [{
            "type": "command",
            "command": "python3 ~/bin/claude_slack_notifier.py --event-type stop --mode dm"
          }]
        }]
      }
    }
  5. Activate

    /hooks
    

Option 2: Webhook Mode

Send notifications to a Slack channel.

  1. Get Webhook URL from https://api.slack.com/apps
  2. Set export SLACK_WEBHOOK_URL="..."
  3. Use --mode webhook in commands (see hooks/README.md)

Supported Events

Event Trigger Recommended
Notification Claude Code requests approval βœ…
Stop Task completion βœ…
UserPromptSubmit New task submitted Optional
PreToolUse Before tool execution Optional
PostToolUse After tool execution Optional
PreCompaction Before context compression Optional
SessionStart Session begins Optional

Documentation

For detailed setup instructions, configuration options, and troubleshooting, see:

πŸš€ Installation

  1. Clone this repository:
git clone https://github.com/virgoC0der/claude-code-slash-commands.git
  1. Copy the command files to your Claude Code commands directory:
cp commands/*.md ~/.claude/commands/
  1. Restart Claude Code or reload commands.

πŸ“– Usage

Simply type the slash command in Claude Code:

/code-reviewer
/fix-jira AFD-1234
/pr master
/repo-analyze full ./my-project

πŸ› οΈ Customization

Each command is defined in a Markdown file in the commands/ directory. You can:

  • Modify existing commands to fit your workflow
  • Create new commands by adding .md files
  • Adjust prompts and behavior to match your team's standards

πŸ“š Requirements

Commands

Some commands have external dependencies:

  • /repo-analyze: Requires Gemini CLI
  • /fix-jira: Requires Atlassian MCP integration
  • /pr: Requires GitHub CLI (gh)

Hooks

  • Python 3.6+
  • DM Mode (recommended): slack-sdk library + Slack Bot Token + Member ID
  • Webhook Mode: Slack Webhook URL (no additional dependencies)

🀝 Contributing

Contributions are welcome! Feel free to:

  • Submit bug reports or feature requests
  • Create pull requests with improvements
  • Share your custom commands

πŸ“„ License

MIT License - feel free to use and modify these commands for your needs.

πŸ”— Links

Claude Code Official Docs

External APIs & SDKs

About

A collection of powerful tools for Claude Code including custom slash commands and hooks to streamline development workflows and enhance productivity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages