trigger-conditions

Installation
SKILL.md

Trigger Conditions

Comparable to: Middleware guards, event filters

Key Concepts

Use the concepts below when they fit the task. Not every trigger needs a condition.

  • A Condition Function is a registered function that returns a boolean (true or false)
  • The engine calls the condition function before the handler; the handler runs only if true
  • Attach a condition to any trigger type via condition_function_id in the trigger config
  • The condition function receives the same event data as the handler would
  • Works with all trigger types: http, queue, cron, state, stream, subscribe

Architecture

When a trigger fires, the engine first invokes the condition function with the event data. If the condition returns true, the handler executes normally. If false, the handler is skipped silently with no error or retry.

iii Primitives Used

Related skills
Installs
3
Repository
iii-hq/skills
GitHub Stars
7
First Seen
Mar 23, 2026