con un clic
item-exists-example
Custom invariant requires at least one greeting before advancing.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Custom invariant requires at least one greeting before advancing.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Smallest possible workflow skill — two phases joined by one auto transition.
Multi-phase linear workflow — the agent narrates each phase to the user as it advances.
Build a directed graph of nodes; the core `acyclic` invariant gates the terminal advance.
One question, one phase, interview.complete gates the transition. Demonstrates FR-022, FR-023, FR-024 happy path.
Question bank exercising every supported answer type — text, list<text>, enum, bool, int — with minItems and required flags. Demonstrates FR-022, FR-023 validation paths.
Two-phase workflow with followUpIf re-surfacing a question downstream. Demonstrates FR-024-AC-8 advisory channel.
| name | item-exists-example |
| description | Custom invariant requires at least one greeting before advancing. |
| contributes | {"workflows":"./workflows"} |
Smallest custom invariant: greeting.exists requires at least one
greeting item before greeted → done is allowed.
The skill ships its predicate in scripts/invariants.js. The engine
loads the file at loadSkill time and looks up greeting.exists by
name when the gated transition is attempted.