一键导入
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.