A collection of useful Claude Code commands for common development workflows. This repository also serves as the default repository for the CPM (Claude Package Manager) tool, which helps you manage and install Claude Code commands from this repo or others.
Install CPM globally to manage Claude Code commands:
npm install -g @zieka-tools/cpm
Run CPM without arguments to open the interactive TUI:
cpm
CPM allows you to browse, install, and manage commands from this repository or any other command repository you configure.
This repository contains various Claude Code commands to automate and enhance your development workflow:
- todo-finder - Find TODO/FIXME comments and suggest priorities
- update-pr - Update PR description with commit summary
- perf-scan - Find performance bottlenecks and optimizations
- extract-patterns - Extract repeated code into reusable components
- smart-rename - Suggest better names based on usage context
- issue - Fix GitHub issue with tests and PR
- clean-comments - Clean up code comments in PR or staged changes
These commands are available as slash commands in Claude Code. Simply type /
followed by the command name to use them.
All commands in this repository follow a standardized header format for optimal Claude Code integration:
---
name: command-name
description: Action verb + what it does (<60 chars)
args: none|optional|required
---
- Fast Autocomplete - Descriptions under 60 characters ensure quick loading in Claude Code's slash command menu
- Clear Expectations - The
args
field immediately indicates whether arguments are needed - Action-Oriented - Starting descriptions with action verbs improves discoverability
- Clean Separation - Headers contain only metadata, while detailed documentation goes in the body
---
name: example-command
description: Analyze code and suggest improvements
args: optional
---
# Example Command
Brief explanation of what this command does.
## Arguments
- `$1`: Path to analyze (defaults to current directory)
- `--flag`: Optional configuration flag
## Workflow
Step-by-step instructions for Claude...
When contributing new commands:
- Follow the header standard above
- Keep descriptions concise and action-oriented
- Document all arguments clearly in the body
- Provide clear workflow instructions
- Test your command thoroughly before submitting
- Create a new branch for your changes
- Follow the existing code style and conventions
- Test your commands thoroughly
- Submit a pull request with a clear description of changes
[Add your license information here]