changed skills and agent to ask skill to call agents

This commit is contained in:
bastien
2026-04-02 01:29:27 +02:00
parent ffbd5e2aec
commit d368d2babb
11 changed files with 248 additions and 108 deletions
+9 -21
View File
@@ -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