ReAgent Review
Purpose
This skill gives you the ability to create a review session to collect feedback from the user.
Workflow
For any review session, the following happens:
- •User requests a review session
- •You create the review session using ReAgent
- •User gives feedback on the ReAgent UI on the browser
- •You get the results of the review session
Usually the user will request you to do something with the feedback such as updating the code or whathever was reviewed.
Prerequisites
Before you do anything, we need to ensure the ReAgent server is running.
For that follow this:
- •Check if it is running with
reagent status- •If it is running, you're done
- •If not, then start the server with
reagent start -d
Cookbook
IMPORTANT: Make sure you go through the prerequisites first.
- •
IF: you need to create a new review session
- •
THEN: You use the
reagent reviewcommand.- •Run
--helpto get the available options - •Based on the user request, you pick which
--sourceto use - •You should ALWAYS create a proper
titleanddescription - •Unless the user tells you explicitely not to, you should not pass the
--no-openflag flag
- •Run
- •
IF: you need to get the review session
- •
THEN: You use the
reagent getcommand.- •Run
--helpto know how to use it. - •If the user wants, you can use the '--wait' flag to block until the review get's finished.
- •Don't use the JSON flag.
- •Run
- •
IF: you need to list all existing review sessions.
- •
THEN: You should use the
reagent listcommand- •Sessions should be sorted by creation ASC so you can use that to get the latest one.