Generating definitions of commands and queries Generating controller actions dispatching commands and queries qa - Query action ca - Command action Generating test stubs for commands and queries qt - Query test ct - Command test