@jeremyy_prt/cc-config 1.0.0 → 1.0.1
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/README.md +38 -129
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,159 +1,68 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CC Config
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Config Claude Code en français avec commandes, agents et scripts.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- `/commit` - Commits conventionnels rapides avec push automatique
|
|
9
|
-
- `/corriger-orthographe` - Correction grammaticale et orthographique
|
|
10
|
-
- `/creer-agent` - Créer et optimiser des agents personnalisés
|
|
11
|
-
- `/creer-commande` - Créer et optimiser des commandes
|
|
12
|
-
- `/liste-commande` - Liste toutes les commandes et agents avec exemples
|
|
13
|
-
- `/memoire-claude` - Créer et mettre à jour les fichiers CLAUDE.md
|
|
14
|
-
- `/surveiller-ci` - Surveiller et corriger automatiquement les erreurs de CI GitHub Actions
|
|
15
|
-
|
|
16
|
-
### 🤖 Agents (4)
|
|
17
|
-
- `@corriger-orthographe` - Correction orthographique de fichiers
|
|
18
|
-
- `@explorer-code` - Exploration de codebase
|
|
19
|
-
- `@explorer-docs` - Exploration de documentation avec Context7
|
|
20
|
-
- `@recherche-web` - Recherche web rapide
|
|
21
|
-
|
|
22
|
-
### 🔒 Sécurité
|
|
23
|
-
- Hook PreToolUse avec validation des commandes bash (700+ lignes)
|
|
24
|
-
- Bloque les commandes dangereuses (`rm -rf /`, `sudo`, etc.)
|
|
25
|
-
|
|
26
|
-
### 🎨 Autres
|
|
27
|
-
- Statusline personnalisée avec Git et tracking des coûts
|
|
28
|
-
- Sons de notification (finish, need-human)
|
|
29
|
-
- Hooks configurés (PreToolUse, Stop, Notification)
|
|
30
|
-
|
|
31
|
-
## 🚀 Installation
|
|
32
|
-
|
|
33
|
-
### Option 1: Script Shell (local)
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
cd /Users/jeremy/Documents/code/scripts/claude-config-jeremy
|
|
37
|
-
./install.sh
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Option 2: NPM Package (recommandé)
|
|
7
|
+
**Prérequis:** [Claude Code](https://claude.ai/download) installé
|
|
41
8
|
|
|
42
9
|
```bash
|
|
43
10
|
npx @jeremyy_prt/cc-config setup
|
|
44
11
|
```
|
|
45
12
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
bunx @jeremyy_prt/cc-config setup
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### Option 3: Installation manuelle
|
|
13
|
+
⚠️ **Important:** Ne pas utiliser `npm install`, utiliser `npx` avec `setup`
|
|
53
14
|
|
|
54
|
-
|
|
55
|
-
# Cloner/télécharger le repo
|
|
56
|
-
git clone https://github.com/jeremy-prt/cc-config.git
|
|
15
|
+
## Contenu
|
|
57
16
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
17
|
+
**7 Commandes:**
|
|
18
|
+
- `/commit` - Commits rapides avec push auto
|
|
19
|
+
- `/corriger-orthographe` - Correction grammaire/orthographe
|
|
20
|
+
- `/creer-agent` - Créer des agents
|
|
21
|
+
- `/creer-commande` - Créer des commandes
|
|
22
|
+
- `/liste-commande` - Lister tout avec exemples
|
|
23
|
+
- `/memoire-claude` - Gérer les fichiers CLAUDE.md
|
|
24
|
+
- `/surveiller-ci` - Auto-fix des erreurs CI
|
|
63
25
|
|
|
64
|
-
|
|
26
|
+
**4 Agents:**
|
|
27
|
+
- `@corriger-orthographe` - Correction de fichiers
|
|
28
|
+
- `@explorer-code` - Explorer le code
|
|
29
|
+
- `@explorer-docs` - Explorer la doc
|
|
30
|
+
- `@recherche-web` - Recherche web
|
|
65
31
|
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
- `gh` CLI (optionnel, pour /surveiller-ci)
|
|
32
|
+
**Sécurité:**
|
|
33
|
+
- Hook de validation bash (bloque `rm -rf /`, `sudo`, etc.)
|
|
69
34
|
|
|
70
|
-
|
|
35
|
+
**Bonus:**
|
|
36
|
+
- Statusline avec Git et coûts
|
|
37
|
+
- Sons de notification
|
|
38
|
+
- Hooks configurés
|
|
71
39
|
|
|
72
|
-
|
|
40
|
+
## Exemples
|
|
73
41
|
|
|
74
42
|
```bash
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Ou avec API key:
|
|
79
|
-
```bash
|
|
80
|
-
claude mcp add --transport http context7 https://mcp.context7.com/mcp \
|
|
81
|
-
--header "CONTEXT7_API_KEY: ta_clé"
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## 📚 Exemples d'utilisation
|
|
85
|
-
|
|
86
|
-
### Commits rapides
|
|
87
|
-
```bash
|
|
43
|
+
# Commit rapide
|
|
88
44
|
/commit
|
|
89
|
-
```
|
|
90
45
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
/corriger-orthographe src/components/Header.vue
|
|
94
|
-
/corriger-orthographe src/**/*.vue
|
|
95
|
-
```
|
|
46
|
+
# Corriger fichier
|
|
47
|
+
/corriger-orthographe src/app.vue
|
|
96
48
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
@explorer-docs cherche la doc de Nuxt 4
|
|
100
|
-
```
|
|
101
|
-
ou en conversationnel:
|
|
102
|
-
```
|
|
103
|
-
Comment utiliser les server routes dans Vue 3 ?
|
|
104
|
-
```
|
|
49
|
+
# Explorer doc
|
|
50
|
+
@explorer-docs cherche Nuxt 4
|
|
105
51
|
|
|
106
|
-
|
|
107
|
-
```bash
|
|
52
|
+
# Surveiller CI
|
|
108
53
|
/surveiller-ci
|
|
109
|
-
```
|
|
110
54
|
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
/creer-commande create deploy
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Lister toutes les commandes avec exemples
|
|
117
|
-
```bash
|
|
55
|
+
# Lister tout
|
|
118
56
|
/liste-commande --exemples
|
|
119
57
|
```
|
|
120
58
|
|
|
121
|
-
##
|
|
59
|
+
## Config optionnelle
|
|
122
60
|
|
|
61
|
+
Context7 pour @explorer-docs:
|
|
62
|
+
```bash
|
|
63
|
+
claude mcp add --transport http context7 https://mcp.context7.com/mcp
|
|
123
64
|
```
|
|
124
|
-
claude-config-jeremy/
|
|
125
|
-
├── commands/ # Commandes slash personnalisées
|
|
126
|
-
│ ├── commit.md
|
|
127
|
-
│ ├── corriger-orthographe.md
|
|
128
|
-
│ ├── creer-agent.md
|
|
129
|
-
│ ├── creer-commande.md
|
|
130
|
-
│ ├── liste-commande.md
|
|
131
|
-
│ ├── memoire-claude.md
|
|
132
|
-
│ └── surveiller-ci.md
|
|
133
|
-
├── agents/ # Agents spécialisés
|
|
134
|
-
│ ├── corriger-orthographe.md
|
|
135
|
-
│ ├── explorer-code.md
|
|
136
|
-
│ ├── explorer-docs.md
|
|
137
|
-
│ └── recherche-web.md
|
|
138
|
-
├── scripts/ # Scripts utilitaires
|
|
139
|
-
│ ├── validate-command.js
|
|
140
|
-
│ └── statusline/
|
|
141
|
-
├── song/ # Sons de notification
|
|
142
|
-
│ ├── finish.mp3
|
|
143
|
-
│ └── need-human.mp3
|
|
144
|
-
├── settings.json # Configuration des hooks et statusline
|
|
145
|
-
├── install.sh # Script d'installation shell
|
|
146
|
-
└── README.md
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
## 🤝 Contribution
|
|
150
|
-
|
|
151
|
-
N'hésite pas à proposer des améliorations ou de nouvelles commandes!
|
|
152
65
|
|
|
153
|
-
##
|
|
66
|
+
## License
|
|
154
67
|
|
|
155
68
|
MIT
|
|
156
|
-
|
|
157
|
-
## 🙏 Crédits
|
|
158
|
-
|
|
159
|
-
Inspiré par [AIBlueprint](https://github.com/Melvynx/aiblueprint) de Melvynx
|