@the-bearded-bear/claude-craft 4.1.0 → 4.3.0-next.70cc26c
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/Dev/i18n/de/Common/commands/sub-agents-patterns.md +163 -0
- package/Dev/i18n/de/Common/templates/mcp.json.template +23 -0
- package/Dev/i18n/de/Python/rules/08-quality-tools.md +572 -0
- package/Dev/i18n/de/Python/rules/11-security-python.md +596 -0
- package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +72 -0
- package/Dev/i18n/es/Common/templates/mcp.json.template +23 -0
- package/Dev/i18n/es/Python/rules/08-quality-tools.md +572 -0
- package/Dev/i18n/es/Python/rules/11-security-python.md +596 -0
- package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +163 -0
- package/Dev/i18n/fr/Common/templates/mcp.json.template +23 -0
- package/Dev/i18n/fr/Python/rules/08-quality-tools.md +572 -0
- package/Dev/i18n/fr/Python/rules/11-security-python.md +596 -0
- package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +163 -0
- package/Dev/i18n/pt/Common/templates/mcp.json.template +23 -0
- package/Dev/i18n/pt/Flutter/rules/07-testing-flutter.md +692 -0
- package/Dev/i18n/pt/Flutter/skills/testing-flutter/SKILL.md +10 -0
- package/Dev/i18n/pt/Python/rules/08-quality-tools.md +572 -0
- package/Dev/i18n/pt/Python/rules/11-security-python.md +596 -0
- package/Dev/scripts/install-angular-rules.sh +1 -1
- package/Dev/scripts/install-common-rules.sh +1 -1
- package/Dev/scripts/install-csharp-rules.sh +1 -1
- package/Dev/scripts/install-flutter-rules.sh +1 -1
- package/Dev/scripts/install-from-config.sh +4 -1
- package/Dev/scripts/install-laravel-rules.sh +1 -1
- package/Dev/scripts/install-php-rules.sh +1 -1
- package/Dev/scripts/install-python-rules.sh +1 -1
- package/Dev/scripts/install-react-rules.sh +1 -1
- package/Dev/scripts/install-reactnative-rules.sh +1 -1
- package/Dev/scripts/install-symfony-rules.sh +1 -1
- package/Dev/scripts/install-vuejs-rules.sh +1 -1
- package/Project/agents/architect.yaml +174 -0
- package/Project/agents/ba.yaml +111 -0
- package/Project/agents/bmad-master.yaml +119 -0
- package/Project/agents/dev.yaml +142 -0
- package/Project/agents/pm.yaml +141 -0
- package/Project/agents/po.yaml +140 -0
- package/Project/agents/qa.yaml +140 -0
- package/Project/agents/sm.yaml +123 -0
- package/Project/agents/ux.yaml +135 -0
- package/Project/i18n/de/commands/analyze-backlog.md +114 -0
- package/Project/i18n/de/commands/gate-report.md +94 -0
- package/Project/i18n/de/commands/gate-validate-backlog.md +98 -0
- package/Project/i18n/de/commands/gate-validate-prd.md +125 -0
- package/Project/i18n/de/commands/gate-validate-sprint.md +215 -0
- package/Project/i18n/de/commands/gate-validate-story.md +204 -0
- package/Project/i18n/de/commands/gate-validate-techspec.md +185 -0
- package/Project/i18n/de/commands/migrate-backlog.md +144 -0
- package/Project/i18n/de/commands/project-batch-status.md +213 -0
- package/Project/i18n/de/commands/project-run-epic.md +187 -0
- package/Project/i18n/de/commands/project-run-queue.md +250 -0
- package/Project/i18n/de/commands/project-run-sprint.md +262 -0
- package/Project/i18n/de/commands/sprint-auto-route.md +217 -0
- package/Project/i18n/de/commands/sprint-bmad-status.md +121 -0
- package/Project/i18n/de/commands/sprint-next-story.md +148 -0
- package/Project/i18n/de/commands/sprint-transition.md +223 -0
- package/Project/i18n/de/commands/sync-backlog.md +165 -0
- package/Project/i18n/de/commands/update-stories.md +190 -0
- package/Project/i18n/en/commands/analyze-backlog.md +137 -0
- package/Project/i18n/en/commands/gate-report.md +247 -0
- package/Project/i18n/en/commands/gate-validate-backlog.md +221 -0
- package/Project/i18n/en/commands/gate-validate-prd.md +172 -0
- package/Project/i18n/en/commands/gate-validate-sprint.md +215 -0
- package/Project/i18n/en/commands/gate-validate-story.md +204 -0
- package/Project/i18n/en/commands/gate-validate-techspec.md +185 -0
- package/Project/i18n/en/commands/migrate-backlog.md +186 -0
- package/Project/i18n/en/commands/project-batch-status.md +213 -0
- package/Project/i18n/en/commands/project-run-epic.md +187 -0
- package/Project/i18n/en/commands/project-run-queue.md +250 -0
- package/Project/i18n/en/commands/project-run-sprint.md +262 -0
- package/Project/i18n/en/commands/sprint-auto-route.md +217 -0
- package/Project/i18n/en/commands/sprint-bmad-status.md +143 -0
- package/Project/i18n/en/commands/sprint-next-story.md +148 -0
- package/Project/i18n/en/commands/sprint-transition.md +223 -0
- package/Project/i18n/en/commands/sync-backlog.md +165 -0
- package/Project/i18n/en/commands/update-stories.md +190 -0
- package/Project/i18n/es/commands/analyze-backlog.md +114 -0
- package/Project/i18n/es/commands/gate-report.md +94 -0
- package/Project/i18n/es/commands/gate-validate-backlog.md +98 -0
- package/Project/i18n/es/commands/gate-validate-prd.md +125 -0
- package/Project/i18n/es/commands/gate-validate-sprint.md +215 -0
- package/Project/i18n/es/commands/gate-validate-story.md +204 -0
- package/Project/i18n/es/commands/gate-validate-techspec.md +185 -0
- package/Project/i18n/es/commands/migrate-backlog.md +144 -0
- package/Project/i18n/es/commands/project-batch-status.md +213 -0
- package/Project/i18n/es/commands/project-run-epic.md +187 -0
- package/Project/i18n/es/commands/project-run-queue.md +250 -0
- package/Project/i18n/es/commands/project-run-sprint.md +262 -0
- package/Project/i18n/es/commands/sprint-auto-route.md +217 -0
- package/Project/i18n/es/commands/sprint-bmad-status.md +121 -0
- package/Project/i18n/es/commands/sprint-next-story.md +148 -0
- package/Project/i18n/es/commands/sprint-transition.md +223 -0
- package/Project/i18n/es/commands/sync-backlog.md +165 -0
- package/Project/i18n/es/commands/update-stories.md +190 -0
- package/Project/i18n/fr/commands/analyze-backlog.md +114 -0
- package/Project/i18n/fr/commands/gate-report.md +94 -0
- package/Project/i18n/fr/commands/gate-validate-backlog.md +98 -0
- package/Project/i18n/fr/commands/gate-validate-prd.md +125 -0
- package/Project/i18n/fr/commands/gate-validate-sprint.md +215 -0
- package/Project/i18n/fr/commands/gate-validate-story.md +204 -0
- package/Project/i18n/fr/commands/gate-validate-techspec.md +185 -0
- package/Project/i18n/fr/commands/migrate-backlog.md +144 -0
- package/Project/i18n/fr/commands/project-batch-status.md +213 -0
- package/Project/i18n/fr/commands/project-run-epic.md +187 -0
- package/Project/i18n/fr/commands/project-run-queue.md +250 -0
- package/Project/i18n/fr/commands/project-run-sprint.md +262 -0
- package/Project/i18n/fr/commands/sprint-auto-route.md +217 -0
- package/Project/i18n/fr/commands/sprint-bmad-status.md +121 -0
- package/Project/i18n/fr/commands/sprint-next-story.md +148 -0
- package/Project/i18n/fr/commands/sprint-transition.md +223 -0
- package/Project/i18n/fr/commands/sync-backlog.md +165 -0
- package/Project/i18n/fr/commands/update-stories.md +190 -0
- package/Project/i18n/pt/commands/analyze-backlog.md +114 -0
- package/Project/i18n/pt/commands/gate-report.md +94 -0
- package/Project/i18n/pt/commands/gate-validate-backlog.md +98 -0
- package/Project/i18n/pt/commands/gate-validate-prd.md +125 -0
- package/Project/i18n/pt/commands/gate-validate-sprint.md +215 -0
- package/Project/i18n/pt/commands/gate-validate-story.md +204 -0
- package/Project/i18n/pt/commands/gate-validate-techspec.md +185 -0
- package/Project/i18n/pt/commands/migrate-backlog.md +144 -0
- package/Project/i18n/pt/commands/project-batch-status.md +213 -0
- package/Project/i18n/pt/commands/project-run-epic.md +187 -0
- package/Project/i18n/pt/commands/project-run-queue.md +250 -0
- package/Project/i18n/pt/commands/project-run-sprint.md +262 -0
- package/Project/i18n/pt/commands/sprint-auto-route.md +217 -0
- package/Project/i18n/pt/commands/sprint-bmad-status.md +121 -0
- package/Project/i18n/pt/commands/sprint-next-story.md +148 -0
- package/Project/i18n/pt/commands/sprint-transition.md +223 -0
- package/Project/i18n/pt/commands/sync-backlog.md +165 -0
- package/Project/i18n/pt/commands/update-stories.md +190 -0
- package/Project/install-project-commands.sh +7 -4
- package/Project/templates/agent.yaml.template +51 -0
- package/Project/templates/batch-queue.yaml.template +35 -0
- package/Project/templates/sprint-status.yaml.template +82 -0
- package/README.md +170 -5
- package/package.json +1 -1
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Sub-Agents Patterns
|
|
2
|
+
|
|
3
|
+
Leitfaden zur effektiven Nutzung von Sub-Agents in Claude Code fuer parallele und komplexe Aufgaben.
|
|
4
|
+
|
|
5
|
+
## Agent-Typen
|
|
6
|
+
|
|
7
|
+
### 1. Explore Agent (Schnelle Recherche)
|
|
8
|
+
Verwenden Sie diesen Typ fuer schnelle Codebase-Exploration und Informationssammlung.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
Task Tool mit subagent_type: "Explore"
|
|
12
|
+
- Schnelle Dateimustersuche
|
|
13
|
+
- Schluesselwortsuche im Code
|
|
14
|
+
- Verstaendnis der Codebase-Struktur
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Wann zu verwenden:**
|
|
18
|
+
- Suche nach Dateien anhand von Mustern
|
|
19
|
+
- Suche nach spezifischen Code-Patterns
|
|
20
|
+
- Beantwortung von Fragen zur Codebase-Organisation
|
|
21
|
+
|
|
22
|
+
### 2. General-Purpose Agent (Komplexe Aufgaben)
|
|
23
|
+
Verwenden Sie diesen Typ fuer mehrstufige Aufgaben, die Autonomie erfordern.
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
Task Tool mit subagent_type: "general-purpose"
|
|
27
|
+
- Komplexes Refactoring
|
|
28
|
+
- Multi-File-Aktualisierungen
|
|
29
|
+
- Recherche und Implementierung
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**Wann zu verwenden:**
|
|
33
|
+
- Aufgaben, die mehrere Dateien umfassen
|
|
34
|
+
- Unabhaengige Teilaufgaben, die parallel ausgefuehrt werden koennen
|
|
35
|
+
- Aufgaben, die Urteilsvermoegen und Iteration erfordern
|
|
36
|
+
|
|
37
|
+
### 3. Plan Agent (Architektur)
|
|
38
|
+
Verwenden Sie diesen Typ zur Gestaltung von Implementierungsstrategien.
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
Task Tool mit subagent_type: "Plan"
|
|
42
|
+
- Implementierungsplanung
|
|
43
|
+
- Architekturentscheidungen
|
|
44
|
+
- Trade-off-Analyse
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**Wann zu verwenden:**
|
|
48
|
+
- Vor der Implementierung komplexer Features
|
|
49
|
+
- Wenn mehrere Ansaetze moeglich sind
|
|
50
|
+
- Fuer Architekturentscheidungen
|
|
51
|
+
|
|
52
|
+
## Parallel Task Patterns
|
|
53
|
+
|
|
54
|
+
### Pattern 1: Parallele Recherche
|
|
55
|
+
Starten Sie mehrere Explore Agents fuer verschiedene Aspekte:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
# Parallel starten (einzelne Nachricht mit mehreren Tool-Aufrufen):
|
|
59
|
+
- Agent 1: Suche nach Authentifizierungs-Patterns
|
|
60
|
+
- Agent 2: Suche nach API-Endpoints
|
|
61
|
+
- Agent 3: Suche nach Datenbankmodellen
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Pattern 2: Parallele Aktualisierungen
|
|
65
|
+
Fuer unabhaengige Dateiaktualisierungen ueber Sprachen/Module hinweg:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
# Parallel starten:
|
|
69
|
+
- Agent 1: Franzoesische Templates aktualisieren
|
|
70
|
+
- Agent 2: Spanische Templates aktualisieren
|
|
71
|
+
- Agent 3: Deutsche Templates aktualisieren
|
|
72
|
+
- Agent 4: Portugiesische Templates aktualisieren
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Pattern 3: Parallele Qualitaetspruefungen
|
|
76
|
+
Fuehren Sie verschiedene Qualitaetspruefungen gleichzeitig aus:
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
# Parallel starten:
|
|
80
|
+
- Agent 1: Linter ausfuehren
|
|
81
|
+
- Agent 2: Tests ausfuehren
|
|
82
|
+
- Agent 3: Typen pruefen
|
|
83
|
+
- Agent 4: Sicherheitsaudit
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Background Agents
|
|
87
|
+
|
|
88
|
+
Verwenden Sie `run_in_background: true` fuer lang laufende Aufgaben:
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
Task Tool mit:
|
|
92
|
+
run_in_background: true
|
|
93
|
+
|
|
94
|
+
Vorteile:
|
|
95
|
+
- Weiterarbeiten waehrend der Agent laeuft
|
|
96
|
+
- Fortschritt ueber Ausgabedatei pruefen
|
|
97
|
+
- Benachrichtigung bei Abschluss
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Am besten geeignet fuer:**
|
|
101
|
+
- Testsuiten
|
|
102
|
+
- Build-Prozesse
|
|
103
|
+
- Grosse Migrationen
|
|
104
|
+
- Qualitaets-Pipelines
|
|
105
|
+
|
|
106
|
+
## Best Practices
|
|
107
|
+
|
|
108
|
+
### Empfohlen
|
|
109
|
+
- Starten Sie unabhaengige Aufgaben parallel (einzelne Nachricht, mehrere Tools)
|
|
110
|
+
- Verwenden Sie Explore Agent fuer schnelle Suchen
|
|
111
|
+
- Verwenden Sie den Hintergrundmodus fuer lange Aufgaben
|
|
112
|
+
- Geben Sie klare, detaillierte Prompts an
|
|
113
|
+
|
|
114
|
+
### Vermeiden
|
|
115
|
+
- Abhaengige Aufgaben parallel starten
|
|
116
|
+
- Agents fuer einfaches Lesen einzelner Dateien verwenden
|
|
117
|
+
- Vergessen, Background Agent-Ergebnisse zu pruefen
|
|
118
|
+
- Vage Prompts verwenden, die Klaerung erfordern
|
|
119
|
+
|
|
120
|
+
## Beispiel: Multi-Language Update
|
|
121
|
+
|
|
122
|
+
```markdown
|
|
123
|
+
# Aufgabe: Alle i18n-Templates auf neues Format aktualisieren
|
|
124
|
+
|
|
125
|
+
## Parallele Ausfuehrung:
|
|
126
|
+
1. 4 Agents starten (FR, ES, DE, PT) mit run_in_background: true
|
|
127
|
+
2. Mit anderen Phasen fortfahren
|
|
128
|
+
3. Ergebnisse pruefen, wenn benachrichtigt
|
|
129
|
+
|
|
130
|
+
## Jeder Agent erhaelt:
|
|
131
|
+
- Liste der zu aktualisierenden Dateien
|
|
132
|
+
- Zu befolgendes Template-Format
|
|
133
|
+
- Anweisungen zum Lesen vor dem Schreiben
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Coordination Patterns
|
|
137
|
+
|
|
138
|
+
### Sequentiell mit Checkpoints
|
|
139
|
+
Fuer Aufgaben mit Abhaengigkeiten:
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
1. Agent A schliesst Aufgabe A ab
|
|
143
|
+
2. Ergebnis pruefen
|
|
144
|
+
3. Agent B verwendet Ergebnis fuer Aufgabe B
|
|
145
|
+
4. Ergebnis pruefen
|
|
146
|
+
5. Fortfahren...
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Fan-Out/Fan-In
|
|
150
|
+
Fuer parallele Arbeit mit kombinierten Ergebnissen:
|
|
151
|
+
|
|
152
|
+
```
|
|
153
|
+
1. Fan-out: N parallele Agents starten
|
|
154
|
+
2. Warten: Alle Agents abgeschlossen
|
|
155
|
+
3. Fan-in: Ergebnisse kombinieren/verifizieren
|
|
156
|
+
4. Mit zusammengefuehrtem Zustand fortfahren
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## Referenzen
|
|
160
|
+
|
|
161
|
+
- Claude Code Task Tool-Dokumentation
|
|
162
|
+
- `.claude/rules/01-workflow-analysis.md` fuer Analyse-Patterns
|
|
163
|
+
- `.claude/settings.json` fuer Berechtigungskonfiguration
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://claude.ai/mcp-schema.json",
|
|
3
|
+
"mcpServers": {
|
|
4
|
+
"context7": {
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["-y", "@anthropic/context7-mcp"],
|
|
7
|
+
"description": "Context7 documentation lookup for frameworks and libraries"
|
|
8
|
+
},
|
|
9
|
+
"filesystem": {
|
|
10
|
+
"command": "npx",
|
|
11
|
+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/project"],
|
|
12
|
+
"description": "Enhanced filesystem access"
|
|
13
|
+
},
|
|
14
|
+
"github": {
|
|
15
|
+
"command": "npx",
|
|
16
|
+
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
17
|
+
"env": {
|
|
18
|
+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}"
|
|
19
|
+
},
|
|
20
|
+
"description": "GitHub integration for issues, PRs, and repositories"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|