changed skills and agent to ask skill to call agents
This commit is contained in:
+9
-20
@@ -1,23 +1,12 @@
|
||||
ROLE
|
||||
You are a senior software engineer specialized in code analysis.
|
||||
---
|
||||
name: analyze
|
||||
description: Analyze code or a codebase deeply before any modification
|
||||
argument-hint: <code, file, or area to analyze>
|
||||
---
|
||||
|
||||
OBJECTIF
|
||||
Understand the provided code or project deeply before any modification.
|
||||
Load and follow strictly:
|
||||
- .claude/agents/analyzer.md
|
||||
|
||||
CONTRAINTES
|
||||
- Do not modify anything
|
||||
- Do not assume missing behavior
|
||||
- Stay factual
|
||||
Execute the ANALYZER agent on the following target:
|
||||
|
||||
PROCESS
|
||||
1. Identify the purpose of the code
|
||||
2. Identify main components (functions, modules, flows)
|
||||
3. Explain data flow
|
||||
4. Detect potential issues or unclear parts
|
||||
5. Highlight complexity or risks
|
||||
|
||||
OUTPUT
|
||||
- Summary of what the code does
|
||||
- Key components
|
||||
- Data flow explanation
|
||||
- Risks / unclear areas
|
||||
$ARGUMENTS
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
name: architect
|
||||
description: Design a robust and scalable system architecture
|
||||
argument-hint: <system or feature to architect>
|
||||
---
|
||||
|
||||
Load and follow strictly:
|
||||
- .claude/agents/architect.md
|
||||
|
||||
Execute the ARCHITECT agent on the following request:
|
||||
|
||||
$ARGUMENTS
|
||||
+9
-21
@@ -1,24 +1,12 @@
|
||||
ROLE
|
||||
You are a senior engineer specialized in debugging.
|
||||
---
|
||||
name: debug
|
||||
description: Find root cause and fix an issue precisely
|
||||
argument-hint: <issue description or failing code>
|
||||
---
|
||||
|
||||
OBJECTIF
|
||||
Find root cause and fix the issue.
|
||||
Load and follow strictly:
|
||||
- .claude/agents/debugger.md
|
||||
|
||||
CONTRAINTES
|
||||
- Do not patch blindly
|
||||
- Identify root cause first
|
||||
- Preserve existing behavior outside the fix
|
||||
Execute the DEBUGGER agent on the following issue:
|
||||
|
||||
PROCESS
|
||||
1. Understand expected behavior
|
||||
2. Reconstruct failing scenario
|
||||
3. Trace execution path
|
||||
4. Identify root cause
|
||||
5. Implement minimal fix
|
||||
6. Check for side effects
|
||||
|
||||
OUTPUT
|
||||
- Root cause
|
||||
- Fix explanation
|
||||
- Code changes
|
||||
- Edge cases to watch
|
||||
$ARGUMENTS
|
||||
|
||||
+9
-22
@@ -1,25 +1,12 @@
|
||||
ROLE
|
||||
You are a senior engineer implementing a feature.
|
||||
---
|
||||
name: implement
|
||||
description: Implement a feature cleanly following project conventions
|
||||
argument-hint: <feature or change to implement>
|
||||
---
|
||||
|
||||
OBJECTIF
|
||||
Implement the requested feature cleanly and safely.
|
||||
Load and follow strictly:
|
||||
- .claude/agents/implementer.md
|
||||
|
||||
CONTRAINTES
|
||||
- Follow project conventions
|
||||
- Respect existing architecture
|
||||
- Preserve existing behavior
|
||||
- Follow strict code quality rules (see CLAUDE.md global)
|
||||
Execute the IMPLEMENTER agent on the following request:
|
||||
|
||||
PROCESS
|
||||
1. Analyze existing code
|
||||
2. Identify integration points
|
||||
3. Propose minimal design
|
||||
4. Implement step by step
|
||||
5. Ensure no regression
|
||||
6. Keep code readable and modular
|
||||
|
||||
OUTPUT
|
||||
- Explanation of approach
|
||||
- Code changes
|
||||
- Impacted parts
|
||||
- Potential risks
|
||||
$ARGUMENTS
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: init-project
|
||||
description: Initialize a complete project from scratch with structure, stack, and base files
|
||||
argument-hint: <project idea or description>
|
||||
---
|
||||
|
||||
Load and follow strictly:
|
||||
- .claude/agents/init-project.md
|
||||
- .claude/agents/analyzer.md
|
||||
- .claude/agents/designer.md
|
||||
- .claude/agents/implementer.md
|
||||
- .claude/agents/reviewer.md
|
||||
- .claude/agents/tester.md
|
||||
|
||||
Execute the orchestrator defined in .claude/agents/init-project.md with the following request:
|
||||
|
||||
$ARGUMENTS
|
||||
+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
|
||||
|
||||
+9
-22
@@ -1,25 +1,12 @@
|
||||
ROLE
|
||||
You are a strict but pragmatic code reviewer.
|
||||
---
|
||||
name: review
|
||||
description: Strict code review with severity-graded issues
|
||||
argument-hint: <file, function, or code to review>
|
||||
---
|
||||
|
||||
OBJECTIF
|
||||
Evaluate code quality and compliance with standards.
|
||||
Load and follow strictly:
|
||||
- .claude/agents/reviewer.md
|
||||
|
||||
CONTRAINTES
|
||||
- Apply global coding standards
|
||||
- Be precise, not verbose
|
||||
- Distinguish critical vs minor issues
|
||||
Execute the REVIEWER agent on the following code:
|
||||
|
||||
PROCESS
|
||||
1. Check structure and readability
|
||||
2. Check function size and responsibilities
|
||||
3. Check parameters and variables
|
||||
4. Check naming clarity
|
||||
5. Detect code smells
|
||||
6. Identify deviations from standards
|
||||
7. Evaluate justification of deviations
|
||||
|
||||
OUTPUT
|
||||
- Critical issues
|
||||
- Improvements
|
||||
- Deviations from standard
|
||||
- Justified vs unjustified deviations
|
||||
$ARGUMENTS
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: ship-feature
|
||||
description: Ship a feature end-to-end via multi-agent orchestrator
|
||||
argument-hint: <description de la feature à implémenter>
|
||||
---
|
||||
|
||||
Load and follow strictly these agent files:
|
||||
- .claude/agents/ship-feature.md
|
||||
- .claude/agents/analyzer.md
|
||||
- .claude/agents/designer.md
|
||||
- .claude/agents/implementer.md
|
||||
- .claude/agents/reviewer.md
|
||||
- .claude/agents/tester.md
|
||||
|
||||
Execute the orchestrator defined in .claude/agents/ship-feature.md with the following request:
|
||||
|
||||
$ARGUMENTS
|
||||
Reference in New Issue
Block a user