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, NOTexecute()(deprecated) - Sync commands ASSERT on
isRunningaccess - use async commands for loading states restriction.value == truemeans command is DISABLED (cannot run)- Factory constructors with
TResultrequireinitialValueparameter - Error filters return
ErrorReactionenum, NOT bool
Factory Constructors
Choose the right one based on parameter/result combinations: