npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

claude-powers-slash-commands

v1.0.2

Published

πŸš€ Claude Powers - Essential slash commands for Claude Code

Readme

πŸš€ Claude Powers


✨ Key Features

πŸ” Intelligent Bug Detection - Automatically finds problematic patterns
⚑ Fast Analysis - Scans complete projects in seconds
πŸ› οΈ Fix Suggestions - Get automatic solutions for detected issues
πŸ“Š Detailed Reports - Clear outputs with metrics and statistics
βš™οΈ Flexible Configuration - Customize rules according to your project
🌐 Multi-language - Support for JS, TS, React, Node.js and more

πŸš€ Installation

πŸ“¦ NPM

# Global installation
npm install -g claude-powers-slash-commands

# Or in your project
npm install claude-powers-slash-commands
npx claude-powers install

βœ… Verify Installation

npx claude-powers --version
npx claude-powers --help

🎯 Immediate Usage

Once installed, you can use the commands directly in Claude Code:

Find Bugs

/find-bugs
/find-bugs src/components --types=react --severity=high

Find Unused Code

/find-unused-code
/find-unused-code src/ --types=variables,functions --severity=medium

Automate Git Workflow

/auto-commit
/create-pr --type=feature --reviewers=@team

Automatic Code Review

/code-review
/code-review src/ --aspects=security,quality --severity=strict

Specific Analysis

/find-bugs backend/ --types=node,js --output=json
/find-unused-code --types=deps --bundle-impact=true
/auto-commit --type=hotfix --validate=all

πŸ“‹ Available Commands

πŸ”₯ Super Powers (Most Impactful)

| Command | Description | Impact | Status | |---------|-------------|---------|--------| | /generate-tests | Automatic test generation with 90%+ coverage | ⭐⭐⭐⭐⭐ | βœ… Available | | /fix-bugs | Auto-detection and bug fixing (90% reduction) | ⭐⭐⭐⭐⭐ | βœ… Available | | /performance-turbo | Automatic optimization (60%+ improvement) | ⭐⭐⭐⭐⭐ | βœ… Available | | /security-fortress | Automatic protection (95%+ vulnerabilities) | ⭐⭐⭐⭐⭐ | βœ… Available | | /explain-code | Personal code teacher (80% onboarding) | ⭐⭐⭐⭐⭐ | βœ… Available |

πŸ› οΈ Base Commands

| Command | Description | Status | |---------|-------------|--------| | /find-bugs | Detects bugs and problematic patterns | βœ… Available | | /find-unused-code | Finds unused code, variables and files | βœ… Available | | /auto-commit | Generates automatic commits with AI | βœ… Available | | /create-pr | Creates intelligent pull requests | βœ… Available | | /code-review | Complete automatic code review | βœ… Available |

πŸ” Usage Examples

πŸ”₯ Super Powers Examples

Generate Tests - Save 70% testing time

/generate-tests src/components/UserProfile.tsx --coverage=95%

Result: 24 unit tests + 6 integration tests + 8 edge cases in 2 minutes

Fix Bugs - Reduce production bugs 90%

/fix-bugs --types=memory-leaks,null-pointers --confidence=high

Result: 12 memory leaks + 8 null pointers fixed automatically

Performance Turbo - 60%+ automatic improvement

/performance-turbo --target=web --budget=strict

Result: Bundle 847KB→287KB, LCP 3.2s→1.4s, Lighthouse 45→94

Security Fortress - Impenetrable fortress

/security-fortress --compliance=gdpr,owasp --harden=paranoid

Result: 23 vulnerabilities eliminated, OWASP Top 10 compliant

Explain Code - Personal teacher

/explain-code src/algorithm.js --level=beginner --diagram=flowchart

Result: Step-by-step explanation + diagrams + interactive examples


πŸ› οΈ Base Commands Examples

Find Bugs

# Ejecutar en tu proyecto
/find-bugs src/

Expected output:

πŸ› CLAUDE POWERS - FIND BUGS REPORT
===================================

πŸ“Š SUMMARY:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Severity    β”‚ Count β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€
β”‚ High        β”‚   2   β”‚
β”‚ Medium      β”‚   5   β”‚ 
β”‚ Low         β”‚   8   β”‚
β”‚ Total       β”‚  15   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ” DETAILS:
πŸ“ src/components/UserForm.tsx
  ❌ [HIGH] Line 23 - Comparison with == null
  ⚠️ [MEDIUM] Line 45 - useEffect without dependencies

πŸ› οΈ SUGGESTIONS:
β€’ 12 automatic fixes available
β€’ 2 critical issues require manual review

Find Unused Code

# Detect unused code
/find-unused-code

Expected output:

🧹 CLAUDE POWERS - UNUSED CODE REPORT
=====================================

πŸ“Š SUMMARY:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Category        β”‚ Count β”‚ Size    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Variables       β”‚  12   β”‚ 35 LOC  β”‚
β”‚ Functions       β”‚   5   β”‚ 85 LOC  β”‚
β”‚ Imports         β”‚  18   β”‚ 18 LOC  β”‚
β”‚ Files           β”‚   3   β”‚ 210 LOC β”‚
β”‚ Total           β”‚  38   β”‚ 348 LOC β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ’Ύ IMPACT: Bundle reducible by ~32KB

Auto Commit & PR

# Generate intelligent commit
/auto-commit --interactive

Expected output:

πŸ€– CLAUDE POWERS - AUTO COMMIT ANALYSIS
=======================================

πŸ“Š DETECTED CHANGES:
β€’ Detected type: feat
β€’ Suggested scope: auth
β€’ 8 files changed, +292 -109

πŸ’¬ GENERATED MESSAGE:
feat(auth): implement OAuth2 authentication system

- Add LoginForm component with validation
- Implement AuthProvider for state management
- Add comprehensive test suite

βœ… READY TO COMMIT

Automatic Code Review

# Review code quality
/code-review --format=summary

Expected output:

πŸ‘¨β€πŸ’» CLAUDE POWERS - CODE REVIEW REPORT
=======================================

πŸ“Š OVERALL SCORE: 8.2/10 (GOOD)
🎯 EVALUATED ASPECTS:
β€’ Quality: 8.5/10 (Excellent)
β€’ Architecture: 7.8/10 (Good)  
β€’ Performance: 9.1/10 (Excellent)
β€’ Security: 7.2/10 (Good)
β€’ Testing: 7.9/10 (Good)

🚦 STATUS: βœ… APPROVED WITH SUGGESTIONS

βš™οΈ Configuration

Basic Configuration

Create .claude/find-bugs-config.json in your project:

{
  "severity": "medium",
  "rules": {
    "javascript": true,
    "typescript": true,
    "react": true,
    "node": true
  },
  "exclude": [
    "node_modules",
    "dist",
    "*.test.js"
  ]
}

Advanced Configuration

{
  "rules": {
    "javascript": {
      "enabled": true,
      "checks": {
        "equalityChecks": true,
        "asyncAwait": true,
        "promiseHandling": true
      }
    }
  },
  "customPatterns": [
    {
      "pattern": "console\\.log\\(",
      "message": "Console.log detected",
      "severity": "low"
    }
  ]
}

πŸ› οΈ For Developers

Project Structure

claude-powers/
β”œβ”€β”€ .claude/
β”‚   β”œβ”€β”€ commands/           # Command definitions
β”‚   └── find-bugs-config.json
β”œβ”€β”€ scripts/                # Installation scripts
β”œβ”€β”€ package.json
└── README.md

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/new-command
  3. Commit your changes: git commit -am 'Add new command'
  4. Push to the branch: git push origin feature/new-command
  5. Create a Pull Request

Adding New Commands

  1. Create the command file in .claude/commands/command-name.md
  2. Define the configuration in .claude/command-name-config.json
  3. Update the installation script
  4. Add tests if applicable

🌟 Use Cases

Daily Development

# Complete automated workflow
/find-bugs --severity=high
/find-unused-code --types=variables,imports --severity=medium
/code-review --aspects=quality,security --format=summary
/auto-commit --validate=lint,test
/create-pr --type=feature --draft=true

# Specific component review
/find-bugs src/components/Dashboard.tsx --types=react
/find-unused-code components/ --types=react --min-size=5

CI/CD Pipeline

# .github/workflows/quality.yml
- name: Analyze Code
  run: npx claude-powers find-bugs --output=json --severity=high

Pre-commit Hook

#!/bin/sh
npx claude-powers find-bugs --severity=high

πŸ“Š Roadmap

v1.1.0 - Q1 2024

  • [ ] /fix-bugs command with auto-correction
  • [ ] ESLint integration
  • [ ] Vue.js support

v1.2.0 - Q2 2024

  • [ ] /analyze-performance command
  • [ ] Historical metrics
  • [ ] Web dashboard

v2.0.0 - Q3 2024

  • [ ] Advanced AI for detection
  • [ ] Customizable commands
  • [ ] Command marketplace

πŸ“¦ Distribution

Claude Powers is available on npm for easy and fast installation.

πŸ“ License

MIT License - see LICENSE for complete details.

🎯 Brand & Colors

  • Primary Color: #009a7f (Occupational Therapists Chile)
  • Typography: Inter, SF Pro, system-ui
  • Icons: Phosphor Icons