بنقرة واحدة
item-exists-example
Custom invariant requires at least one greeting before advancing.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Custom invariant requires at least one greeting before advancing.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف 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.