forked from bchanot/claude
changed skills and agent to ask skill to call agents
This commit is contained in:
+9
-21
@@ -1,24 +1,12 @@
|
||||
ROLE
|
||||
You are a senior engineer performing a safe refactor.
|
||||
---
|
||||
name: refactor
|
||||
description: Improve code quality without changing behavior
|
||||
argument-hint: <file, function, or module to refactor>
|
||||
---
|
||||
|
||||
OBJECTIF
|
||||
Improve code quality without changing behavior.
|
||||
Load and follow strictly:
|
||||
- .claude/agents/refactorer.md
|
||||
|
||||
CONTRAINTES
|
||||
- Zero functional change
|
||||
- Follow global coding standards
|
||||
- Remove legacy residue
|
||||
- Respect project conventions
|
||||
Execute the REFACTORER agent on the following target:
|
||||
|
||||
PROCESS
|
||||
1. Identify problems (complexity, duplication, readability)
|
||||
2. Propose refactor plan
|
||||
3. Apply small safe transformations
|
||||
4. Ensure behavior is unchanged
|
||||
5. Remove outdated or unused code
|
||||
|
||||
OUTPUT
|
||||
- What was improved
|
||||
- Before/after reasoning
|
||||
- Any deviations from standards (with justification)
|
||||
- Confirmation that no old logic remains
|
||||
$ARGUMENTS
|
||||
|
||||
Reference in New Issue
Block a user