Neues Troubleshooting-System: Skill und CLAUDE.md Erweiterung
- Neuer Skill: troubleshoot-host.md für standardisierten Workflow - CLAUDE.md erweitert um Host-Troubleshooting Sektion - Automatische Erkennung von ~/Nextcloud/hosts/ Verzeichnissen - Skills-Referenztabelle hinzugefügt Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
42
CLAUDE.md
42
CLAUDE.md
@@ -226,3 +226,45 @@ When a user requests to set up a new ongoing project:
|
||||
5. **Commit initial documentation**
|
||||
|
||||
This upfront investment minimizes questions in future sessions and enables faster, more informed development.
|
||||
|
||||
---
|
||||
|
||||
## Host Troubleshooting
|
||||
|
||||
### Automatische Erkennung
|
||||
|
||||
Wenn du in einem Verzeichnis unter `~/Nextcloud/hosts/` arbeitest:
|
||||
|
||||
1. **Lade die lokale Dokumentation**
|
||||
- Lies `copilot-instructions.md` falls vorhanden
|
||||
- Verstehe den System-Typ und Kontext
|
||||
|
||||
2. **Bei Troubleshooting-Aufgaben**
|
||||
- Nutze den Skill `/troubleshoot-host` für strukturiertes Vorgehen
|
||||
- Dokumentiere Lösungen in der `copilot-instructions.md`
|
||||
|
||||
### Verzeichnisstruktur
|
||||
|
||||
```
|
||||
~/Nextcloud/hosts/
|
||||
├── [kunde]/ # z.B. vinos, egonetix
|
||||
│ └── [hostname]/ # z.B. srv-monitor02, srv-db12
|
||||
│ └── copilot-instructions.md
|
||||
└── _templates/
|
||||
└── copilot-instructions-template.md # Master-Template
|
||||
```
|
||||
|
||||
### Neuen Host dokumentieren
|
||||
|
||||
1. Erstelle Verzeichnis: `mkdir -p ~/Nextcloud/hosts/[kunde]/[hostname]`
|
||||
2. Kopiere Template: `cp ~/Nextcloud/hosts/_templates/copilot-instructions-template.md ./copilot-instructions.md`
|
||||
3. Fülle während der Arbeit die relevanten Felder aus
|
||||
4. Committe die Dokumentation
|
||||
|
||||
### Skills-Referenz
|
||||
|
||||
| Skill | Zweck |
|
||||
|-------|-------|
|
||||
| `/troubleshoot-host` | Strukturierter Troubleshooting-Workflow |
|
||||
| `/session-end` | Session beenden, Commits erstellen |
|
||||
| `/new-project` | Neues Projekt anlegen |
|
||||
|
||||
Reference in New Issue
Block a user