Providing feedback
This guide helps you provide feedback on code generated by Runbooks to ensure high-quality results and iterative improvements.
Slash command /aviator revise
/aviator reviseYou can review the generated PR and use the /aviator revise slash command to trigger automatic code revisions based on your feedback. There are a few ways this command can be submitted:
As a PR Comment
The command can be posted as a top level PR comment to address all unresolved review comments on the PR. This can be helpful for scenarios where multiple reviewers have left comments.

If you want to exclude certain comments to be addressed, please mark them as resolved manually. Runbooks agents will ignore any resolved comments in the PR.
This comment can also be posted as part of the review summary:

If posted as the review summary, Runbooks agents will accept all the unresolved comments (not just the ones part of this review).
Posting with inline instructions
You can optionally also provide some inline instructions when posting the /aviator revise comment. In such case, the Runbooks agents will also take those instructions into account when revising the PR.
In case there are no unresolved comments, /aviator revise <instructions> can also be used to be provide a single inline instruction to revise the PR.
As a review comment
If you want Runbooks agents to only address a single review comment, you can post /aviator revise as a review comment itself. In such case, the Runbooks agents will ignore all the other open review comments in the PR.

Similarly, you can also revise an existing comment using the same strategy by posting /aviator revise as a reply thread on a existing review comment.

If there are multiple replies in a review thread, Runbooks agents will pick all the replies together to address the change requested.
Troubleshooting
I posted /aviator revise but it didn't do anything.
Ensure that the comment was not posted as pending comment. And make sure that it's a Runbooks generated PR. Currently /aviator revise only works on PRs generated by Runbooks.
If there is an emoji reaction, the Runbooks agents might be still processing the request. Check the Runbooks URL posted in the PR description for real-time status.
Make sure no other tasks is being run for that particular Runbook. To avoid conflicts, Runbooks agents only perform one action at a time for a given Runbook.
If the problem persists, please contact us [email protected].
Best Practices
Be Specific and Concrete
❌ Vague: "This doesn't look right."
✅ Specific: "Preserve the existing error handling logic in handleAuth(). Currently, it removes the try-catch block which we need for logging."
Provide Context
❌ Missing context: "Add tests."
✅ With context: "Add unit tests using Jest, following the pattern in tests/auth/oauth.test.ts. Focus on testing the error paths since this code handles sensitive authentication logic."
Reference Existing Code
✅ Good feedback:
Address One Issue at a Time
When providing feedback on multiple issues, break them into separate, numbered points:
Include Error Messages
When something fails, include the actual error:
Feedback Examples
Example 1: Using /aviator revise for PR Feedback
/aviator revise for PR FeedbackStep 1: Review the Generated PR
Runbook executes Step 3.1 and creates PR #456. You review and find several issues.
Step 2: Add Specific Line Comments
Step 3: Choose Your Revision Strategy
Option A - Process All Comments Together:
This will:
Pick up all three unresolved comments
Generate code changes addressing each issue
Push a new commit with all fixes
Option B - Fix Issues One at a Time:
Option C - Provide Inline Feedback:
Step 4: Review and Iterate
After Aviator pushes the changes:
Review the new commit
If satisfied, resolve the conversation
If more changes needed, add another comment and use
/aviator reviseagain
Example 2: Refining Requirements
Initial request: "Migrate from Redux to React Context"
Runbook generates: Basic context migration
Your feedback:
Example 3: Correcting Technical Details
Step 3.1: "Update imports to use ES modules"
Your feedback:
Example 4: Adding Implementation Details
Step 2: "Add error handling to API calls"
Your feedback:
Example 5: Providing Code Examples
Step 4.2: "Update tests to match new API"
Your feedback:
Quick Reference: /aviator revise Commands
/aviator revise Commands/aviator revise
Top-level PR comment
Processes all unresolved comments in the PR
/aviator revise
Comment thread reply
Processes only that specific thread's feedback
/aviator revise <feedback>
Anywhere in PR
Applies the inline feedback immediately
Key Takeaways
✅ Do:
Use
/aviator revisefor code-level feedback on PRsAdd specific line comments before triggering revisions
Provide context and examples in your review comments
Iterate: review changes, add more feedback, use
/aviator reviseagainEdit runbook steps directly for plan-level changes
❌ Don't:
Don't wait until everything is wrong to provide feedback
Don't provide vague feedback like "this doesn't work"
Don't forget to test changes after they're applied
Don't skip adding comments before using top-level
/aviator revise
Remember: Runbooks learns from your feedback. The more detailed and constructive your input, the better it becomes at understanding your codebase and requirements.
Last updated
Was this helpful?
