
This is middleware for your iii triggers. Before your handler runs, a condition function evaluates the incoming event and returns true or false. Handler only fires on true, otherwise it's silently skipped. Works across all trigger types: HTTP, durable subscribers, cron, state, stream, whatever. The architecture is clean: same event data flows to both the condition and the handler, so you're filtering on exactly what you'd be processing. It's optional by design, you register a condition function and reference it by ID in your trigger config. Useful when you want declarative filtering without cluttering handler logic, though simple cases might not need the abstraction.
$ npx -y skills add iii-hq/iii --skill iii-trigger-conditions --agent claude-codeInstalls into .claude/skills of the current project.
This is middleware for your iii triggers. Before your handler runs, a condition function evaluates the incoming event and returns true or false. Handler only fires on true, otherwise it's silently skipped. Works across all trigger types: HTTP, durable subscribers, cron, state, stream, whatever. The architecture is clean: same event data flows to both the condition and the handler, so you're filtering on exactly what you'd be processing. It's optional by design, you register a condition function and reference it by ID in your trigger config. Useful when you want declarative filtering without cluttering handler logic, though simple cases might not need the abstraction.
Browse the repository on GitHubSponsors