chore: update all paths and IDs from kispielwiese to krisenvorrat repo

This commit is contained in:
Jens Reinemann 2026-05-13 13:49:40 +02:00
parent 60d1281b40
commit f62d069555
6 changed files with 30 additions and 30 deletions

View file

@ -5,7 +5,7 @@ description: "Konventionen für GitHub-Issues in diesem Workspace: Aufgabentyp-L
# Skill: GitHub Tickets (gh-tickets) # Skill: GitHub Tickets (gh-tickets)
Dieses Dokument definiert die verbindlichen Konventionen für GitHub-Issues im Repository `jreinemann-euris/kispielwiese`. Dieses Dokument definiert die verbindlichen Konventionen für GitHub-Issues im Repository `jreinemann-euris/krisenvorrat`.
--- ---
@ -39,14 +39,14 @@ Stoppe und fordere den User zur Zuordnung auf. Starte den Workflow **nicht** ohn
| Label | Workflow-Prompt | | Label | Workflow-Prompt |
| ---------------- | -------------------------------------------------------------------- | | ---------------- | -------------------------------------------------------------------- |
| `block-planning` | `x:\KI Spielwiese\.github\prompts\workflow-block-planning.prompt.md` | | `block-planning` | `.github/prompts/workflow-block-planning.prompt.md` |
| `feature` | `x:\KI Spielwiese\.github\prompts\workflow-implementation.prompt.md` | | `feature` | `.github/prompts/workflow-implementation.prompt.md` |
| `migration` | `x:\KI Spielwiese\.github\prompts\workflow-implementation.prompt.md` | | `migration` | `.github/prompts/workflow-implementation.prompt.md` |
| `refactoring` | `x:\KI Spielwiese\.github\prompts\workflow-implementation.prompt.md` | | `refactoring` | `.github/prompts/workflow-implementation.prompt.md` |
| `tech-decision` | `x:\KI Spielwiese\.github\prompts\workflow-tech-decision.prompt.md` | | `tech-decision` | `.github/prompts/workflow-tech-decision.prompt.md` |
| `infrastructure` | `x:\KI Spielwiese\.github\prompts\workflow-infrastructure.prompt.md` | | `infrastructure` | `.github/prompts/workflow-infrastructure.prompt.md` |
| `planning` | `x:\KI Spielwiese\.github\prompts\workflow-planning.prompt.md` | | `planning` | `.github/prompts/workflow-planning.prompt.md` |
| `test` | `x:\KI Spielwiese\.github\prompts\workflow-test.prompt.md` | | `test` | `.github/prompts/workflow-test.prompt.md` |
--- ---
@ -58,11 +58,11 @@ Die Abarbeitungsreihenfolge wird über das **Project Board** gesteuert, nicht ü
| Eigenschaft | Wert | | Eigenschaft | Wert |
| ------------- | ----------------------------------------------------------------- | | ------------- | ----------------------------------------------------------------- |
| Projekt-Name | `HVA Client Migration` | | Projekt-Name | `Krisenvorrat` |
| Projekt-Nr | `1` | | Projekt-Nr | `2` |
| Owner | `jreinemann-euris` | | Owner | `jreinemann-euris` |
| Sortierfeld | `Order` (Number-Feld) | | Sortierfeld | `Order` (Number-Feld) |
| URL | https://github.com/users/jreinemann-euris/projects/1 | | URL | https://github.com/users/jreinemann-euris/projects/2 |
### Order-Feld Konventionen ### Order-Feld Konventionen
@ -91,7 +91,7 @@ Ausgabe: `#68 [M] CRM: Erweiterte Kundensuche (Order: 120)`
```powershell ```powershell
# Issue zum Board hinzufügen # Issue zum Board hinzufügen
gh project item-add 1 --owner jreinemann-euris --url "https://github.com/jreinemann-euris/kispielwiese/issues/<N>" gh project item-add 2 --owner jreinemann-euris --url "https://github.com/jreinemann-euris/krisenvorrat/issues/<N>"
# Order-Wert setzen (erfordert Item-ID und Field-ID) # Order-Wert setzen (erfordert Item-ID und Field-ID)
gh project item-edit --id <ITEM_ID> --field-id <ORDER_FIELD_ID> --project-id <PROJECT_ID> --number <ORDER_VALUE> gh project item-edit --id <ITEM_ID> --field-id <ORDER_FIELD_ID> --project-id <PROJECT_ID> --number <ORDER_VALUE>

View file

@ -19,9 +19,9 @@ param(
[Parameter(Mandatory)][string]$Labels [Parameter(Mandatory)][string]$Labels
) )
$repo = "jreinemann-euris/kispielwiese" $repo = "jreinemann-euris/krisenvorrat"
$projectId = "PVT_kwHOCFqiJ84BWFbQ" $projectId = "PVT_kwHOCFqiJ84BXk9U"
$orderFieldId = "PVTF_lAHOCFqiJ84BWFbQzhRi30o" $orderFieldId = "PVTF_lAHOCFqiJ84BXk9UzhSw4jo"
# --- 1. Type-Label validieren --- # --- 1. Type-Label validieren ---
$labelList = $Labels -split ',' | ForEach-Object { $_.Trim() } $labelList = $Labels -split ',' | ForEach-Object { $_.Trim() }
@ -46,7 +46,7 @@ if ($LASTEXITCODE -ne 0) {
$issueNumber = ($issueUrl -split '/')[-1] $issueNumber = ($issueUrl -split '/')[-1]
# --- 3. Zum Board hinzufügen --- # --- 3. Zum Board hinzufügen ---
$addResult = gh project item-add 1 --owner jreinemann-euris --url $issueUrl --format json 2>&1 $addResult = gh project item-add 2 --owner jreinemann-euris --url $issueUrl --format json 2>&1
if ($LASTEXITCODE -ne 0) { if ($LASTEXITCODE -ne 0) {
Write-Error "Fehler beim Hinzufügen zum Board: $addResult" Write-Error "Fehler beim Hinzufügen zum Board: $addResult"
exit 1 exit 1
@ -54,7 +54,7 @@ if ($LASTEXITCODE -ne 0) {
$itemId = ($addResult | ConvertFrom-Json).id $itemId = ($addResult | ConvertFrom-Json).id
# --- 4. Niedrigsten Order-Wert ermitteln --- # --- 4. Niedrigsten Order-Wert ermitteln ---
$raw = gh project item-list 1 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json $raw = gh project item-list 2 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json
$minOrder = $raw.items | $minOrder = $raw.items |
Where-Object { $_.status -ne "Done" -and $_.id -ne $itemId } | Where-Object { $_.status -ne "Done" -and $_.id -ne $itemId } |
ForEach-Object { [double]$_.order } | ForEach-Object { [double]$_.order } |

View file

@ -9,7 +9,7 @@
#> #>
param([int]$IssueNumber) param([int]$IssueNumber)
$repo = "jreinemann-euris/kispielwiese" $repo = "jreinemann-euris/krisenvorrat"
if ($IssueNumber -gt 0) { if ($IssueNumber -gt 0) {
# Variante A: Explizite Issue-Nummer # Variante A: Explizite Issue-Nummer
@ -27,7 +27,7 @@ if ($IssueNumber -gt 0) {
Write-Host "#$($json.number) $type $($json.title)" Write-Host "#$($json.number) $type $($json.title)"
} else { } else {
# Variante B: Nächstes Ticket per Board-Query (serverseitig auf Todo gefiltert) # Variante B: Nächstes Ticket per Board-Query (serverseitig auf Todo gefiltert)
$raw = gh project item-list 1 --owner jreinemann-euris --format json --query "status:Todo" | ConvertFrom-Json $raw = gh project item-list 2 --owner jreinemann-euris --format json --query "status:Todo" | ConvertFrom-Json
$todos = $raw.items | ForEach-Object { $todos = $raw.items | ForEach-Object {
$labels = $_.labels $labels = $_.labels
$prio = if ($labels -contains "priority:high") { 0 } $prio = if ($labels -contains "priority:high") { 0 }

View file

@ -14,8 +14,8 @@ param(
[Parameter(Mandatory)][ValidateSet("Todo","InProgress","Done")][string]$Status [Parameter(Mandatory)][ValidateSet("Todo","InProgress","Done")][string]$Status
) )
$projectId = "PVT_kwHOCFqiJ84BWFbQ" $projectId = "PVT_kwHOCFqiJ84BXk9U"
$statusFieldId = "PVTSSF_lAHOCFqiJ84BWFbQzhRcfAE" $statusFieldId = "PVTSSF_lAHOCFqiJ84BXk9UzhSw4es"
$statusMap = @{ $statusMap = @{
"Todo" = "f75ad846" "Todo" = "f75ad846"
@ -26,7 +26,7 @@ $statusMap = @{
$optionId = $statusMap[$Status] $optionId = $statusMap[$Status]
# Item-ID im Board finden # Item-ID im Board finden
$items = gh project item-list 1 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json $items = gh project item-list 2 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json
$item = $items.items | Where-Object { $_.content.number -eq $IssueNumber } | Select-Object -First 1 $item = $items.items | Where-Object { $_.content.number -eq $IssueNumber } | Select-Object -First 1
if (-not $item) { if (-not $item) {

View file

@ -7,7 +7,7 @@ description: "CoPuPi-Workflow: Commit, Mac-Build-Test, Push, GitHub-Pipeline beo
Dieser Skill kapselt Tools und Konventionen für den Ship-Workflow den Weg vom lokalen Commit bis zur grünen CI-Pipeline. Dieser Skill kapselt Tools und Konventionen für den Ship-Workflow den Weg vom lokalen Commit bis zur grünen CI-Pipeline.
Der vollständige Workflow wird über `x:\KI Spielwiese\.github\prompts\ship.prompt.md` gesteuert. Der vollständige Workflow wird über `.github/prompts/ship.prompt.md` gesteuert.
--- ---
@ -21,16 +21,16 @@ Beobachtet den neuesten GitHub Actions Run bis zum Abschluss. Gibt Status, Dauer
```powershell ```powershell
# Standard: 15s warten, dann neuesten Run beobachten (nach Push) # Standard: 15s warten, dann neuesten Run beobachten (nach Push)
& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" & ".github/skills/ship/watch-pipeline.ps1"
# Run existiert bereits sofort starten # Run existiert bereits sofort starten
& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" -WaitForNew 0 & ".github/skills/ship/watch-pipeline.ps1" -WaitForNew 0
# Bestimmten Commit verfolgen (wartet bis Run erscheint) # Bestimmten Commit verfolgen (wartet bis Run erscheint)
& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" -ExpectedSha abc1234 & ".github/skills/ship/watch-pipeline.ps1" -ExpectedSha abc1234
# Längerer Timeout (Default: 300s) # Längerer Timeout (Default: 300s)
& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" -Timeout 600 & ".github/skills/ship/watch-pipeline.ps1" -Timeout 600
``` ```
**Parameter:** **Parameter:**
@ -59,7 +59,7 @@ Beobachtet den neuesten GitHub Actions Run bis zum Abschluss. Gibt Status, Dauer
Schritt 4 des `ship.prompt.md` ruft das Skript auf: Schritt 4 des `ship.prompt.md` ruft das Skript auf:
```powershell ```powershell
& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" & ".github/skills/ship/watch-pipeline.ps1"
``` ```
Verwende `mode=sync` mit `timeout=300000` beim Aufruf über `run_in_terminal`. Verwende `mode=sync` mit `timeout=300000` beim Aufruf über `run_in_terminal`.

View file

@ -21,7 +21,7 @@ param(
[string]$ExpectedSha = "" [string]$ExpectedSha = ""
) )
$repo = "jreinemann-euris/kispielwiese" $repo = "jreinemann-euris/krisenvorrat"
$poll = 10 $poll = 10
# --- Warten --- # --- Warten ---