automatic error checking for recipe asset declaration