feat(commands): reference command with argument placeholders + guard fixtures

commands/az-hilfe.md: slash-command counterpart to the az-hilfe skill —
description frontmatter, template body using $ARGUMENTS and $1 topic
placeholder, kebab-case name → /az-hilfe after fleet delivery.

Four invalid command fixtures under tests/fixtures/commands/invalid/
covering all README-documented failure modes: missing frontmatter,
missing description, empty description value, umlaut filename.

Closes az-agent-defaults-gj1
This commit is contained in:
m3ta-chiron
2026-08-22 10:27:20 +02:00
parent d428d53e9e
commit fee0a0a61a
6 changed files with 42 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
---
description:
---
Arbeite das Ticket $ARGUMENTS ab.
(Testgegenstand: das `description`-Feld existiert, ist aber leer. Der Guard muss
rot abbrechen.)
+8
View File
@@ -0,0 +1,8 @@
---
agent: build
---
Arbeite das Ticket $ARGUMENTS ab.
(Testgegenstand: Frontmatter vorhanden, aber das Pflichtfeld `description` fehlt.
Der Guard muss rot abbrechen.)
+5
View File
@@ -0,0 +1,5 @@
Arbeite das Ticket $ARGUMENTS ab: zeige es mir, claime es, setze es um und
schließ es nach meiner Freigabe.
(Testgegenstand: dieser Command hat kein YAML-Frontmatter — die Pflicht-`description`
fehlt damit zwangsläufig. Der Guard muss rot abbrechen.)
+10
View File
@@ -0,0 +1,10 @@
---
description: Testgegenstand — Dateiname mit Umlaut, der später zum /slash-Namen würde.
---
Dieser Command-Inhalt ist formal in Ordnung: Frontmatter mit `description`,
Template-Body mit $ARGUMENTS.
(Testgegenstand: der Dateiname enthält einen Umlaut — aus `prüfung.md` würde der
/slash-Befehl `/prüfung`, was den Namensregeln widerspricht. Der Guard muss am
Dateinamen rot abbrechen.)