Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:47:23 +08:00
commit eb42d25f7b
51 changed files with 9966 additions and 0 deletions

25
commands/rf.md Normal file
View File

@@ -0,0 +1,25 @@
---
description: "[Express] Refactor code - alias for /refactor-code"
allowed-tools: Read, Write, Edit, Glob, Grep
---
# Express Refactor (/rf)
Quick alias for code refactoring. Uses the same functionality as `/refactor-code`.
## Usage
- `/rf` - Suggest refactoring for current code
- `/rf <file-path>` - Refactor specific file
- `/rf extract` - Extract methods/functions
- `/rf simplify` - Simplify complex logic
$ARGUMENTS
Refactoring focus:
1. Improve code readability
2. Reduce complexity
3. Remove duplication (DRY)
4. Improve naming
5. Apply design patterns where appropriate
Maintain existing behavior - no functional changes unless requested.