contextrefactorlisted
Install: claude install-skill event4u-app/agent-config
# /context refactor
## Instructions
### 1. Find the context
- List all context documents in `agents/settings/contexts/`.
- Also check module-level contexts via `enumerate_modules()` — for each
module, look in `{module_path}/{modules.agent_folder}/settings/contexts/`
(Laravel shape: `app/Modules/*/agents/settings/contexts/`).
If only one context exists, ask if that's the one to refactor.
If the user has a context file open in their editor, use that one.
If multiple exist, show a list:
```
📂 Existing context documents:
# Name Ort Typ Letzte Aktualisierung
─ ────────────────────── ─────────────────── ───────────── ─────────────────────
1 client-software.md Modul: ClientSoftware Module 2026-03-15
2 import-pipeline.md Projekt-Root Domain 2026-03-10
3 probaus-api.md Projekt-Root Integration 2026-02-28
Which context do you want to update? (number or name)
```
If no contexts exist:
```
ℹ️ No context documents found. Create one first with /context-create.
```
Stop.
### 2. Load and display the context
- Read the selected context file completely.
- Display a summary:
```
═══════════════════════════════════════════════
✏️ CONTEXT: {title}
═══════════════════════════════════════════════
📊 Typ: {type}
📅 Last updated: {last updated}
📦 Module: {module or "project-wide"}
───────────────────────────────────────────────
CURRENT