command-it-expert

Installation
SKILL.md

command_it Expert - Command Pattern with Reactive States

What: Wrap functions as command objects with automatic loading/error/result states. Built on listen_it.

CRITICAL RULES

  • Use run() to execute commands, NOT execute() (deprecated)
  • Sync commands ASSERT on isRunning access - use async commands for loading states
  • restriction.value == true means command is DISABLED (cannot run)
  • Factory constructors with TResult require initialValue parameter
  • Error filters return ErrorReaction enum, NOT bool

Factory Constructors

Choose the right one based on parameter/result combinations:

Installs
9
GitHub Stars
15
First Seen
Mar 14, 2026
command-it-expert — flutter-it/flutter_it