qwen-superpowers 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +106 -0
- package/CHANGELOG.md +30 -0
- package/LICENSE +21 -0
- package/README.md +257 -0
- package/cli/index.js +335 -0
- package/hooks/post-execute.js +103 -0
- package/hooks/pre-execute.js +106 -0
- package/package.json +65 -0
- package/scripts/install.js +71 -0
- package/scripts/release.js +97 -0
- package/scripts/verify-skills.js +81 -0
- package/scripts/version.js +43 -0
- package/skills/brainstorming/SKILL.md +94 -0
- package/skills/code-review/SKILL.md +101 -0
- package/skills/executing-plans/SKILL.md +71 -0
- package/skills/git-worktrees/SKILL.md +105 -0
- package/skills/subagent-driven-development/SKILL.md +109 -0
- package/skills/systematic-debugging/SKILL.md +74 -0
- package/skills/test-driven-development/SKILL.md +88 -0
- package/skills/verification-before-completion/SKILL.md +109 -0
- package/skills/writing-plans/SKILL.md +101 -0
- package/skills/writing-skills/SKILL.md +112 -0
package/AGENTS.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Qwen Superpowers — Instructions pour l'Agent
|
|
2
|
+
|
|
3
|
+
> **Rôle :** Tu es un ingénieur logiciel discipliné. Tu suis un workflow structuré en 7 étapes et tu appliques des pratiques d'ingénierie rigoureuses (TDD, planification, revue de code, développement par sous-agents).
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 📋 Workflow Obligatoire en 7 Étapes
|
|
8
|
+
|
|
9
|
+
Tu DOIS suivre ces étapes dans l'ordre pour chaque tâche de développement :
|
|
10
|
+
|
|
11
|
+
| Étape | Nom | Description |
|
|
12
|
+
|-------|-----|-------------|
|
|
13
|
+
| 1 | **Brainstorming** | Questionnement socratique pour affiner l'idée → sauvegarde du design doc |
|
|
14
|
+
| 2 | **Git Worktrees** | Création d'un workspace isolé → setup → vérification tests propres |
|
|
15
|
+
| 3 | **Writing Plans** | Découpage en tâches de 2-5 min avec chemins, snippets et vérifications |
|
|
16
|
+
| 4 | **Subagent-Driven Dev** | Dispatch d'un sous-agent par tâche → revue 2 étapes → continue autonome |
|
|
17
|
+
| 5 | **Test-Driven Dev** | RED → GREEN → REFACTOR → supprime code écrit avant tests → commit si passe |
|
|
18
|
+
| 6 | **Code Review** | Compare le résultat au plan → bloque si issues critiques → rapport par sévérité |
|
|
19
|
+
| 7 | **Branch Finalization** | Vérifie tous les tests → présente options merge/PR/garder/supprimer → cleanup |
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 🧠 Skills Disponibles
|
|
24
|
+
|
|
25
|
+
Les skills sont des compétences modulaires que tu dois activer automatiquement selon le contexte :
|
|
26
|
+
|
|
27
|
+
| Skill | Trigger | Description |
|
|
28
|
+
|-------|---------|-------------|
|
|
29
|
+
| `brainstorming` | L'utilisateur a une idée vague | Pose des questions socratiques, produit un design doc |
|
|
30
|
+
| `git-worktrees` | Début de travail sur une feature | Crée un worktree Git isolé |
|
|
31
|
+
| `writing-plans` | Design doc validé | Produit un plan d'exécution détaillé |
|
|
32
|
+
| `executing-plans` | Plan écrit et validé | Exécute le plan étape par étape |
|
|
33
|
+
| `test-driven-development` | Tout développement de code | TDD strict : test d'abord, code ensuite |
|
|
34
|
+
| `systematic-debugging` | Bug ou échec de test | Debugging méthodique en 4 phases |
|
|
35
|
+
| `code-review` | Code produit | Revue de code systématique contre le plan |
|
|
36
|
+
| `subagent-driven-development` | Plan avec tâches parallélisables | Dispatch à des sous-agents |
|
|
37
|
+
| `verification-before-completion` | Fin de tâche | Vérification avant de marquer comme terminé |
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## ⚙️ Règles Fondamentales
|
|
42
|
+
|
|
43
|
+
### 1. TDD est Non-Négociable
|
|
44
|
+
- **JAMAIS** de code de production avant un test qui échoue (RED)
|
|
45
|
+
- Toujours écrire le test **en premier**
|
|
46
|
+
- Si du code de production existe avant un test → **SUPPRIME-LE**
|
|
47
|
+
- Commit uniquement quand les tests passent (GREEN)
|
|
48
|
+
|
|
49
|
+
### 2. La Simplicité est l'Objectif Premier
|
|
50
|
+
- Réduire la complexité est la priorité architecturale n°1
|
|
51
|
+
- Choisis toujours la solution la plus simple qui fonctionne
|
|
52
|
+
- Refactorise pour simplifier, pas pour ajouter des fonctionnalités
|
|
53
|
+
|
|
54
|
+
### 3. Les Preuves priment sur les Affirmations
|
|
55
|
+
- Les tests sont la seule preuve acceptable de bon fonctionnement
|
|
56
|
+
- Ne dis pas "ça devrait marcher" — **montre** que ça marche
|
|
57
|
+
- Vérifie systématiquement avant de compléter
|
|
58
|
+
|
|
59
|
+
### 4. Pas de Travail Ad-Hoc
|
|
60
|
+
- Suis le processus structuré, pas de coding au feeling
|
|
61
|
+
- Chaque action doit être planifiée et justifiée
|
|
62
|
+
- Documente les décisions et leur raisonnement
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 🔄 Invocation Automatique des Skills
|
|
67
|
+
|
|
68
|
+
Tu dois **automatiquement** détecter quand un skill est pertinent et l'appliquer :
|
|
69
|
+
|
|
70
|
+
- **L'utilisateur dit "je pense à faire X"** → Trigger `brainstorming`
|
|
71
|
+
- **L'utilisateur dit "commence à travailler sur X"** → Trigger `git-worktrees` → `writing-plans`
|
|
72
|
+
- **Un plan est validé** → Trigger `executing-plans` + `subagent-driven-development`
|
|
73
|
+
- **Du code doit être écrit** → Trigger `test-driven-development`
|
|
74
|
+
- **Un test échoue ou un bug est signalé** → Trigger `systematic-debugging`
|
|
75
|
+
- **Du code est produit** → Trigger `code-review`
|
|
76
|
+
- **La tâche est finie** → Trigger `verification-before-completion`
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 📁 Structure des Skills
|
|
81
|
+
|
|
82
|
+
Chaque skill se trouve dans `skills/<nom-du-skill>/SKILL.md` et contient :
|
|
83
|
+
- Une description et les conditions de déclenchement
|
|
84
|
+
- Les instructions étape par étape
|
|
85
|
+
- Les règles à respecter
|
|
86
|
+
- Le format de sortie attendu
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 🔧 Configuration
|
|
91
|
+
|
|
92
|
+
La configuration locale se trouve dans `.qwen-powers.json` à la racine du projet :
|
|
93
|
+
- `enabledSkills` : liste des skills activés
|
|
94
|
+
- `workflow.enforceStages` : si true, force le passage par les 7 étapes
|
|
95
|
+
- `settings.tddEnforced` : si true, force le TDD
|
|
96
|
+
- `settings.codeReviewRequired` : si true, requiert une revue avant commit
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 📌 Note sur la Langue
|
|
101
|
+
|
|
102
|
+
**Convention :** Toujours répondre en **français** à la demande de l'utilisateur.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
> *"Un ingénieur discipliné vaut mieux qu'un codeur brillant mais chaotique."*
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Toutes les modifications notables de ce projet sont documentées dans ce fichier.
|
|
4
|
+
|
|
5
|
+
Le format suit [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/)
|
|
6
|
+
et ce projet adhere au [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2025-04-11
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- CLI `qwen-powers` avec 10 commandes (list, show, init, enable, disable, workflow, hook, create, update, help)
|
|
12
|
+
- 10 skills complets :
|
|
13
|
+
- `test-driven-development` — TDD RED-GREEN-REFACTOR
|
|
14
|
+
- `systematic-debugging` — Debug en 4 phases
|
|
15
|
+
- `brainstorming` — Questions socratiques → design doc
|
|
16
|
+
- `writing-plans` — Plans en tâches de 2-5 min
|
|
17
|
+
- `executing-plans` — Exécution étape par étape
|
|
18
|
+
- `code-review` — Revue conformité + qualité
|
|
19
|
+
- `git-worktrees` — Isolation par worktrees
|
|
20
|
+
- `subagent-driven-development` — Dispatch sous-agents avec revue 2 étapes
|
|
21
|
+
- `verification-before-completion` — Vérification systématique
|
|
22
|
+
- `writing-skills` — Comment créer de nouveaux skills
|
|
23
|
+
- Système de hooks (pre-execute, post-execute)
|
|
24
|
+
- Workflow en 7 étapes obligatoire
|
|
25
|
+
- Fichier `AGENTS.md` pour injection de contexte Qwen Code
|
|
26
|
+
- Configuration `.qwen-powers.json` avec skills activés et settings
|
|
27
|
+
- GitHub Actions CI (tests multi-OS, multi-Node)
|
|
28
|
+
- GitHub Actions Publish (npm + GitHub Release)
|
|
29
|
+
- Scripts d'installation et de vérification
|
|
30
|
+
- Documentation complète (README, QWEN.md)
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Qwen Superpowers Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
# Qwen Superpowers
|
|
2
|
+
|
|
3
|
+
> **Transformez Qwen Code en ingénieur logiciel discipliné.** Plugin de skills et workflow structuré pour le développement IA autonome et fiable.
|
|
4
|
+
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](https://nodejs.org)
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🚀 Qu'est-ce que c'est ?
|
|
11
|
+
|
|
12
|
+
**Qwen Superpowers** est un plugin pour [Qwen Code](https://github.com/QwenLM/qwen-code) qui injecte un ensemble de compétences ("skills") et un workflow en 7 étapes rigoureux. Inspiré du projet [Superpowers](https://github.com/obra/superpowers), il transforme un agent IA qui code de manière ad-hoc en un **ingénieur logiciel autonome et discipliné**.
|
|
13
|
+
|
|
14
|
+
### Philosophie
|
|
15
|
+
|
|
16
|
+
- **TDD non-négociable** — tests avant code, toujours
|
|
17
|
+
- **Processus systématique** — pas de devinettes, que de la méthode
|
|
18
|
+
- **Simplicité première** — réduire la complexité est la priorité n°1
|
|
19
|
+
- **Preuves > Affirmations** — les tests sont la seule preuve acceptable
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 📋 Workflow en 7 Étapes
|
|
24
|
+
|
|
25
|
+
Chaque tâche de développement suit un pipeline obligatoire :
|
|
26
|
+
|
|
27
|
+
| Étape | Nom | Description |
|
|
28
|
+
|-------|-----|-------------|
|
|
29
|
+
| 1 | **Brainstorming** | Questions socratiques → Design doc validé |
|
|
30
|
+
| 2 | **Git Worktrees** | Workspace isolé → Setup → Tests de base propres |
|
|
31
|
+
| 3 | **Writing Plans** | Découpage en tâches de 2-5 min avec chemins et vérifications |
|
|
32
|
+
| 4 | **Subagent-Driven Dev** | Dispatch par sous-agent → Revue 2 étapes → Continue |
|
|
33
|
+
| 5 | **Test-Driven Dev** | RED → GREEN → REFACTOR → Commit si tests verts |
|
|
34
|
+
| 6 | **Code Review** | Comparaison au plan → Blocage si critiques → Rapport |
|
|
35
|
+
| 7 | **Branch Finalization** | Tests finaux → Options merge/PR → Cleanup |
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 🧠 Skills Disponibles
|
|
40
|
+
|
|
41
|
+
| Skill | Description | Catégorie |
|
|
42
|
+
|-------|-------------|-----------|
|
|
43
|
+
| [`test-driven-development`](skills/test-driven-development/SKILL.md) | TDD strict : RED → GREEN → REFACTOR | Testing |
|
|
44
|
+
| [`systematic-debugging`](skills/systematic-debugging/SKILL.md) | Debugging méthodique en 4 phases | Debugging |
|
|
45
|
+
| [`verification-before-completion`](skills/verification-before-completion/SKILL.md) | Vérification systématique avant "terminé" | Qualité |
|
|
46
|
+
| [`brainstorming`](skills/brainstorming/SKILL.md) | Questionnement socratique → Design doc | Collaboration |
|
|
47
|
+
| [`writing-plans`](skills/writing-plans/SKILL.md) | Plans détaillés avec tâches atomiques | Collaboration |
|
|
48
|
+
| [`executing-plans`](skills/executing-plans/SKILL.md) | Exécution étape par étape d'un plan | Collaboration |
|
|
49
|
+
| [`code-review`](skills/code-review/SKILL.md) | Revue en 2 passes : conformité + qualité | Collaboration |
|
|
50
|
+
| [`git-worktrees`](skills/git-worktrees/SKILL.md) | Isolation par worktrees Git | Collaboration |
|
|
51
|
+
| [`subagent-driven-development`](skills/subagent-driven-development/SKILL.md) | Dispatch à sous-agents avec revue | Collaboration |
|
|
52
|
+
| [`writing-skills`](skills/writing-skills/SKILL.md) | Comment créer de nouveaux skills | Méta |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 📦 Installation
|
|
57
|
+
|
|
58
|
+
### Prérequis
|
|
59
|
+
- **Node.js** >= 18.0.0
|
|
60
|
+
- **Qwen Code** installé et configuré
|
|
61
|
+
- **Git** (pour les worktrees)
|
|
62
|
+
|
|
63
|
+
### Via npm (recommandé)
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npm install -g qwen-superpowers
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Depuis les sources
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
git clone https://github.com/votre-org/qwen-superpowers
|
|
73
|
+
cd qwen-superpowers
|
|
74
|
+
npm link
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Initialisation dans un projet
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
# Se déplacer dans le projet cible
|
|
81
|
+
cd mon-projet
|
|
82
|
+
|
|
83
|
+
# Initialiser le plugin
|
|
84
|
+
qwen-powers init
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Cela créera :
|
|
88
|
+
- `.qwen-powers.json` — Configuration locale
|
|
89
|
+
- `.qwen-skills/` — Copie des skills
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 🔧 Utilisation
|
|
94
|
+
|
|
95
|
+
### CLI
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Lister les skills
|
|
99
|
+
qwen-powers list
|
|
100
|
+
|
|
101
|
+
# Voir les détails d'un skill
|
|
102
|
+
qwen-powers show test-driven-development
|
|
103
|
+
|
|
104
|
+
# Activer un skill
|
|
105
|
+
qwen-powers enable test-driven-development
|
|
106
|
+
|
|
107
|
+
# Désactiver un skill
|
|
108
|
+
qwen-powers disable brainstorming
|
|
109
|
+
|
|
110
|
+
# Afficher le workflow
|
|
111
|
+
qwen-powers workflow
|
|
112
|
+
|
|
113
|
+
# Créer un nouveau skill
|
|
114
|
+
qwen-powers create mon-skill
|
|
115
|
+
|
|
116
|
+
# Aide
|
|
117
|
+
qwen-powers help
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Intégration avec Qwen Code
|
|
121
|
+
|
|
122
|
+
1. Placer le fichier [`AGENTS.md`](AGENTS.md) à la racine de votre projet
|
|
123
|
+
2. Ou copier son contenu dans votre fichier `QWEN.md`
|
|
124
|
+
3. L'agent détectera automatiquement les skills et le workflow
|
|
125
|
+
|
|
126
|
+
### Configuration
|
|
127
|
+
|
|
128
|
+
Fichier `.qwen-powers.json` :
|
|
129
|
+
|
|
130
|
+
```json
|
|
131
|
+
{
|
|
132
|
+
"version": "1.0.0",
|
|
133
|
+
"enabledSkills": [
|
|
134
|
+
"test-driven-development",
|
|
135
|
+
"code-review",
|
|
136
|
+
"brainstorming"
|
|
137
|
+
],
|
|
138
|
+
"workflow": {
|
|
139
|
+
"enforceStages": true,
|
|
140
|
+
"stages": [
|
|
141
|
+
"brainstorming",
|
|
142
|
+
"git-worktrees",
|
|
143
|
+
"writing-plans",
|
|
144
|
+
"subagent-driven-development",
|
|
145
|
+
"test-driven-development",
|
|
146
|
+
"code-review",
|
|
147
|
+
"finishing-branch"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"settings": {
|
|
151
|
+
"tddEnforced": true,
|
|
152
|
+
"codeReviewRequired": true,
|
|
153
|
+
"autoRunTests": true,
|
|
154
|
+
"autoLint": true
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 🏗️ Architecture
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
qwen-superpowers/
|
|
165
|
+
├── AGENTS.md # Instructions pour Qwen Code
|
|
166
|
+
├── .qwen-powers.example.json # Config exemple
|
|
167
|
+
├── package.json # Metadata du plugin
|
|
168
|
+
│
|
|
169
|
+
├── cli/
|
|
170
|
+
│ └── index.js # CLI principal (qwen-powers)
|
|
171
|
+
│
|
|
172
|
+
├── skills/ # Librairie de skills
|
|
173
|
+
│ ├── test-driven-development/
|
|
174
|
+
│ │ └── SKILL.md
|
|
175
|
+
│ ├── systematic-debugging/
|
|
176
|
+
│ │ └── SKILL.md
|
|
177
|
+
│ ├── brainstorming/
|
|
178
|
+
│ │ └── SKILL.md
|
|
179
|
+
│ ├── writing-plans/
|
|
180
|
+
│ │ └── SKILL.md
|
|
181
|
+
│ ├── executing-plans/
|
|
182
|
+
│ │ └── SKILL.md
|
|
183
|
+
│ ├── code-review/
|
|
184
|
+
│ │ └── SKILL.md
|
|
185
|
+
│ ├── git-worktrees/
|
|
186
|
+
│ │ └── SKILL.md
|
|
187
|
+
│ ├── subagent-driven-development/
|
|
188
|
+
│ │ └── SKILL.md
|
|
189
|
+
│ ├── verification-before-completion/
|
|
190
|
+
│ │ └── SKILL.md
|
|
191
|
+
│ └── writing-skills/
|
|
192
|
+
│ └── SKILL.md
|
|
193
|
+
│
|
|
194
|
+
├── hooks/
|
|
195
|
+
│ ├── pre-execute.js # Hook avant exécution
|
|
196
|
+
│ └── post-execute.js # Hook après exécution
|
|
197
|
+
│
|
|
198
|
+
├── docs/ # Documentation additionnelle
|
|
199
|
+
├── scripts/ # Scripts d'automatisation
|
|
200
|
+
└── README.md # Ce fichier
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## 📖 Comment ça marche
|
|
206
|
+
|
|
207
|
+
### 1. Injection de Contexte
|
|
208
|
+
Le fichier `AGENTS.md` (ou son contenu dans `QWEN.md`) sert de **system prompt** pour Qwen Code. Il définit les règles, le workflow et les skills disponibles.
|
|
209
|
+
|
|
210
|
+
### 2. Détection Automatique
|
|
211
|
+
L'agent détecte automatiquement le contexte et active le skill approprié :
|
|
212
|
+
- "Je pense à faire X" → `brainstorming`
|
|
213
|
+
- "Commence à travailler" → `git-worktrees` → `writing-plans`
|
|
214
|
+
- Code à écrire → `test-driven-development`
|
|
215
|
+
- Bug signalé → `systematic-debugging`
|
|
216
|
+
|
|
217
|
+
### 3. Workflow Obligatoire
|
|
218
|
+
Les 7 étapes doivent être suivies dans l'ordre. L'agent ne peut pas sauter d'étape sans justification.
|
|
219
|
+
|
|
220
|
+
### 4. Hooks
|
|
221
|
+
Les hooks `pre-execute` et `post-execute` valident l'environnement avant et après chaque action.
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## 🤝 Contribution
|
|
226
|
+
|
|
227
|
+
Les contributions sont les bienvenues ! Voici comment participer :
|
|
228
|
+
|
|
229
|
+
1. **Forker** le dépôt
|
|
230
|
+
2. **Créer une branche** : `git checkout -b feature/mon-skill`
|
|
231
|
+
3. **Créer un skill** : `qwen-powers create mon-skill`
|
|
232
|
+
4. **Tester** avec Qwen Code
|
|
233
|
+
5. **Soumettre une PR**
|
|
234
|
+
|
|
235
|
+
### Guidelines
|
|
236
|
+
- Un skill = une responsabilité unique
|
|
237
|
+
- Triggers explicites et détectables
|
|
238
|
+
- Instructions actionnables, pas théoriques
|
|
239
|
+
- Sortie vérifiable définie
|
|
240
|
+
- Respecter le TDD pour tout code du plugin
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## 📄 Licence
|
|
245
|
+
|
|
246
|
+
MIT — Voir le fichier [LICENSE](LICENSE) pour les détails.
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## 🙏 Remerciements
|
|
251
|
+
|
|
252
|
+
- **Inspiration principale :** [obra/superpowers](https://github.com/obra/superpowers) — Le projet original qui a tout commencé
|
|
253
|
+
- **Qwen Code** — L'agent IA qui rend ce plugin possible
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
> *"Un ingénieur discipliné vaut mieux qu'un codeur brillant mais chaotique."*
|