Blog Post

Microsoft Developer Community Blog
2 MIN READ

Quest 8: I want to automate code reviews

bethanyjep's avatar
bethanyjep
Icon for Microsoft rankMicrosoft
Jun 25, 2025

Ever wished your code reviews could be faster, more consistent, and maybe even… automated? In this quest, you’ll build a smart code review system powered by AI, designed to catch issues and share feedback before committing your changes.

GenAIScript is a modern JavaScript extension designed for seamless AI integration. GenAIScript lets you automate repetitive tasks, orchestrate prompts, and create multi-step AI workflows, all within your coding environment. By leveraging GenAIScript, you’ll transform your development workflow by adding AI-powered code reviews.

👉 Want to catch up on the full program or grab more quests? https://aka.ms/JSAIBuildathon

💬 Got questions or want to hang with other builders? Join us on Discord — head to the #js-ai-build-a-thon channel.

🔧 What You’ll Build

  • An automated code review agent that analyzes your staged code changes and provides actionable, best-practice feedback right inside VS Code.
  • A custom script (using GenAIScript) that plugs into your development workflow and delivers review comments every time you make a change.

🚀 What You’ll Need

  1. ✅ A GitHub account
  2. Visual Studio Code
  3. Node.js
  4. GenAIScript extension for VSCode (installation instructions provided in the quest)
  5. ✅ GitHub Models access using PAT (refer to Quest 1 for more details on GitHub Models)

🛠️ Concepts You’ll Explore

GenAIScript for AI Automation

Discover how GenAIScript extends JavaScript with simple AI scripting, letting you write powerful workflows that connect to AI models without the usual complexity. You’ll see how scripts can automate tasks that once required manual effort or custom bots.

 

 

Automating Code Reviews with AI

Understand how AI can analyze your code changes and provide valuable feedback. Explore how automated reviews help you catch mistakes early, enforce best practices, and maintain consistent code quality across your project.

 

 

Using GitHub Tokens for Secure Integration

Discover how to connect GenAIScript to GitHub’s AI models by configuring a secure personal access token. This unlocks AI features for code analysis and ensures your workflow remains both powerful and protected.

📖 Bonus Resources to Go Deeper

Updated Jun 25, 2025
Version 2.0
No CommentsBe the first to comment