This plugin comes with some basic core conditions (ex. "If user has reputation > X") and rewards (ex. "Add user to group"). Use this as a skeleton to create your own reward packs.
npm install nodebb-rewards-essentials