claude-preset
v1.0.1
Published
11 curated Claude Code command presets for code review, testing, debugging, and more. Boost your productivity with one command.
Maintainers
Readme
claude-preset
Supercharge your Claude Code workflow with production-ready command presets
Install 11 curated, battle-tested command presets in seconds. No configuration needed.
Why claude-preset?
Claude Code is powerful, but building effective prompts takes time. This package gives you:
- 11 production-ready commands optimized for real-world workflows
- Zero configuration - works out of the box
- Multilingual support - English and Korean presets
- Consistent quality - carefully crafted prompts that actually work
- Time-saving - stop writing the same prompts over and over
Quick Start
npx claude-presetThat's it! Select your language, and all commands are installed to .claude/commands.
Available Commands
Development Workflow
/commit
Analyzes your changes and generates conventional commit messages.
# Automatically analyzes staged/unstaged changes
# Provides ready-to-use git commands
/commit/pr
Creates comprehensive pull request descriptions with context.
# Generates title, summary, and test plan
/pr/review
Performs thorough code review with actionable feedback.
# Reviews current changes or specific files
/review src/components/Button.tsxCode Quality
/test
Generates unit tests based on your testing framework.
# Auto-detects Jest, Vitest, Mocha, etc.
/test src/utils/format.js/lint
Fixes linting issues and explains what was wrong.
# Runs your linter and applies fixes
/lint/security
Scans for security vulnerabilities and best practices.
# Checks for common vulnerabilities (XSS, SQL injection, etc.)
/securityOptimization
/refactor
Suggests refactoring opportunities and removes dead code for cleaner codebase.
/refactor src/legacy//optimize
Analyzes and improves performance bottlenecks.
/optimize src/components/DataTable.tsxDocumentation & Debugging
/explain
Provides clear explanations of your codebase architecture.
/explain auth flow/debug
Helps diagnose and fix bugs with structured debugging.
/debug "login fails after password reset"Deployment
/ship
Runs pre-deployment checklist (build, test, lint, security).
# Complete pipeline before deploying
/shipLanguages
Choose your preferred language during installation:
- 🇺🇸 English (
en) - Default - 🇰🇷 한국어 (
ko) - Korean
All commands work identically in both languages, just with localized prompts.
How It Works
- Install:
npx claude-presetcopies preset files to.claude/commands/ - Use: Type any command like
/commitin Claude Code - Customize: Edit
.claude/commands/*.mdfiles to fit your workflow
Requirements
- Claude Code installed
- Node.js >= 18.0.0
Examples
Generate a commit message
# After making changes
/commit
# Claude analyzes git status, diff, and project style
# Returns: git add -A && git commit -m "feat(auth): add OAuth2 support"Create a PR description
/pr
# Generates:
# Title: Add user authentication system
# Summary: Implements JWT-based auth with refresh tokens...
# Test plan: ✓ Unit tests pass ✓ Manual testing completed...Debug an issue
/debug "API returns 500 on user creation"
# Claude systematically investigates:
# 1. Checks error logs
# 2. Reviews related code
# 3. Suggests fixes with explanationsContributing
We welcome contributions! To add a new preset:
- Create
.mdfiles inpresets/en/andpresets/ko/ - Follow the existing prompt structure
- Test with Claude Code
- Submit a PR
See CONTRIBUTING.md for details.
License
MIT © relkimm
