bollwerk/.github/skills/genome/SKILL.md
Jens Reinemann 7ccd2dc1fd refactor(genome): restructure as skill + prompt verbund
- Skill: .github/skills/genome/ (SKILL.md + genome-extract.py)
- Router: .github/prompts/genome.prompt.md (orchestriert alle 3 Phasen)
- Sub-Prompts: genome-distill.prompt.md, genome-propagate.prompt.md
- Output: .github/genome/output/ (gitignored)

Aufruf: /genome → fragt Quell-Repo + Zeitspanne, führt
Extraction → Distillation → Propagation durch.
2026-05-18 09:59:59 +02:00

61 lines
2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Genome Engine
Automatische Erkennung und Übertragung evolutionärer Verbesserungen an Copilot-Customization-Dateien (Skills, Agents, Prompts, Instructions) zwischen Repositories.
## Trigger-Phrasen
`genome`, `propagate`, `mutations übertragen`, `traits synchronisieren`, `genome extract`, `genome propagate`
## Konzept
Die Genome Engine erkennt Verbesserungen an Copilot-Konfigurationsdateien über Git-History, destilliert sie in übertragbare "Growth Vectors" und schlägt konkrete Patches für andere Repos vor.
**Begriffe:**
- **Trait** Ein Skill, Agent, Prompt(-Verbund) oder Instructions-File
- **Genome** Die Gesamtheit aller Traits eines Projekts
- **Mutation** Ein Git-Commit-Delta an einem Trait
- **Growth Vector** Destillierte, bewertete Mutation (bereinigt, klassifiziert, gescored)
- **Propagation** Konkreter Änderungsvorschlag für ein Ziel-Genome
## Pipeline
| Phase | Tool | Input → Output |
|-------|------|----------------|
| 1. Extraction | `genome-extract.py` | Git-History → `raw-mutations.md` |
| 2. Distillation | `genome-distill.prompt.md` | `raw-mutations.md``distilled-mutations.md` |
| 3. Propagation | `genome-propagate.prompt.md` | `distilled-mutations.md` + Ziel-Genome → Patches |
## Usage
```
/genome
```
Der Router-Prompt fragt nach Quell-Repo und Zeitspanne, dann orchestriert er alle 3 Phasen.
## Dateien
| Datei | Zweck |
|-------|-------|
| `SKILL.md` | Diese Dokumentation |
| `genome-extract.py` | Phase 1: Git-Scanning + Trait-Erkennung |
## Trait-Erkennung
Pfade werden automatisch zu Trait-Keys aufgelöst:
```
.github/skills/gh-tickets/SKILL.md → skill/gh-tickets
.github/agents/code-reviewer.agent.md → agent/code-reviewer
.github/prompts/nextstep.prompt.md → prompt/nextstep (inkl. Sub-Prompts)
.github/copilot-instructions.md → instructions/copilot-instructions
```
## Genome-Scope
Folgende Pfade bilden das Genome:
- `.github/skills/**`
- `.github/agents/**`
- `.github/prompts/**`
- `.github/copilot-instructions.md`
- `.github/*.instructions.md`