Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>AI Self CheckNew to Visual Studio Code? Get it now.
AI Self Check

AI Self Check

trongld232

|
41 installs
| (0) | Free
AI-powered code review extension with chat participants for intelligent code analysis and git change reviews
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🤖 AI Self Check - VS Code Extension

Version

📋 Latest Updates

v1.0.31 (Current)

  • � Complete Chat Participants: @scan-app, @create-app, @daily-report, @review-pr, @review-changes
  • � Advanced Features: Diff View with Monaco Editor, Instructions Generator, Template System
  • 🌟 Multi-Platform AI: Support for GitHub Copilot, STU Platform, OpenAI, Anthropic, Google AI
  • �️ Security Focus: Zero-build errors with comprehensive dependency validation

v1.0.20

  • ✨ Free VS Code Support: Works without GitHub Copilot license
  • � API Key Mode: Use your own AI API key (OpenAI, Claude, Gemini, etc.)
  • 🔧 Smart Fallback: Automatically switches between API key and Copilot License: MIT License VS Code

AI-powered code review extension with intelligent chat participants for automated code analysis and git change reviews.

✨ Features

🔍 Intelligent Code Review

  • 📄 File Review: Comprehensive analysis of entire code files
  • 🔄 Git Changes Review: Smart diff analysis for modified files
  • 🤖 AI-Powered Analysis: Advanced code quality, security, and performance insights

💬 Chat Participants

  • @review-file: 📄 Review current opening file or 🔗 specify file path
  • @review-changes: 🔄 Review changes for current opening file or 🔗 specify file path
  • @review-pr: 🚀 Review Azure DevOps Pull Requests by URL or PR number

🛠️ Context Menu Integration

  • Right-click any supported file → Review File
  • Right-click any supported file → Review Changes

🚀 Quick Start

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "AI Self Check"
  4. Click Install

📝 First Run: Templates will be automatically generated in .vscode/extensions/ai-self-check/templates/ folder for customization.

Usage

Method 1: Chat Participants (Recommended)

  1. Open any code file
  2. Open VS Code Chat (Ctrl+Shift+I)
  3. Type @review-file + Enter → Reviews entire file automatically
  4. Type @review-changes + Enter → Reviews git changes automatically
  5. Type @review-pr https://dev.azure.com/org/project/_git/repo/pullrequest/123 → Reviews Azure DevOps PR

Azure DevOps PR Review Setup

  1. Open Command Palette (Ctrl+Shift+P)
  2. Run "AI Self Check: Setup Azure DevOps Settings"
  3. Enter your Azure DevOps Personal Access Token
  4. Configure organization, project, and repository
  5. Use @review-pr with PR URL or PR number

Method 2: Context Menu

  1. Right-click on any code file
  2. Select "Review File" or "Review Changes"

Method 3: Command Palette

  1. Open Command Palette (Ctrl+Shift+P)
  2. Type "AI Self Check: Review File" or "AI Self Check: Review Changes"

📋 Supported File Types

  • TypeScript/JavaScript: .ts, .js, .tsx, .jsx
  • Python: .py
  • Java: .java
  • C#: .cs
  • C/C++: .cpp, .c
  • PHP: .php
  • Ruby: .rb
  • Go: .go
  • Rust: .rs
  • Kotlin: .kt
  • Swift: .swift

🔧 Configuration

⚙️ Quick Settings Setup

  1. Open VS Code Settings: Press Ctrl + , (Windows/Linux) or Cmd + , (Mac)
  2. Search: Type AI Self Check in the search box
  3. Configure the following settings:

🔑 API Configuration (For users without GitHub Copilot)

  • Use Api Key Instead Of Copilot: ✅ Enable to use your own API key
  • Api Host: https://api.openai.com/v1/chat/completions (or your preferred AI provider)
  • Api Key: Your AI service API key (OpenAI, Claude, Gemini, etc.)
  • Model: gpt-4o (or your preferred model)

🔵 Azure DevOps Integration

  • Default Project: Your Azure DevOps project name (e.g., Shippo)
  • Organization: Your Azure DevOps organization (e.g., BusinessWebUS)
  • Personal Access Token: Your Azure DevOps PAT for PR review

🐙 GitHub Integration

  • Personal Access Token: Your GitHub PAT for PR review

💡 That's it!

The extension will automatically use GitHub Copilot if available, or fall back to your API key configuration.

🎨 Template Customization

When you run the extension for the first time, it automatically generates default templates in:

  • .vscode/extensions/ai-self-check/templates/

Available Templates:

  • review-file.md - Controls file review output format
  • review-changes.md - Controls git changes review output format

After generation, you can:

  • ✏️ Edit templates to match your team's standards
  • 🎯 Customize review criteria and scoring
  • 🎨 Modify output formatting and structure
  • 📝 Add company-specific guidelines

Template Variables:

  • {fileName} - Current file name
  • {fileContent} - File content
  • {gitDiff} - Git changes diff
  • Custom scoring logic and conditional recommendations

📊 What You Get

🔍 File Review Analysis

  • Code Quality: Best practices, code smells, maintainability
  • Performance: Optimization suggestions, bottleneck detection
  • Security: Vulnerability scanning, security best practices
  • Architecture: Design patterns, structure analysis
  • Testing: Test coverage suggestions, unit test recommendations

🔄 Git Changes Review

  • Change Impact: Analysis of modifications and their effects
  • Risk Assessment: Potential issues with changes
  • Security Review: Security implications of modifications
  • Performance Impact: Performance considerations
  • Rollback Suggestions: Safe rollback strategies

📈 Scoring System

  • Overall Score: 1-10 rating with detailed breakdown
  • Category Ratings: Individual scores for different aspects
  • Actionable Recommendations: Specific improvement suggestions

🎯 Example Output

# 🔍 Code Review: app.component.ts

## 📋 Analysis Summary
- **Code Quality**: ⭐⭐⭐⭐⭐ (5/5)
- **Security**: ⭐⭐⭐⭐ (4/5)
- **Performance**: ⭐⭐⭐⭐⭐ (5/5)
- **Overall Score**: 9.2/10

## 🚨 Issues Found
1. **Warning**: Unused import detected
2. **Info**: Consider adding error handling

## 💡 Recommendations
- Remove unused imports to reduce bundle size
- Add try-catch blocks for async operations

🔄 Version History

v1.0.15

  • 🚀 Enhanced PR Review Control: Added global configuration variable isShowSummaryOfChanges for controlling PR review display sections
  • 🎯 Flexible Review Output: Enhanced control over Summary of Changes, Final Diff, and Files Changed Summary sections
  • 📊 Customizable Analysis: Improved PR review flexibility with toggle controls for detailed diff information
  • 🔧 Better User Control: Fine-tuned PR review output display with conditional section rendering

� Version History

For complete changelog and older versions, see CHANGELOG.md

v1.0.3

  • 🆕 Added sticky chat participants
  • 🔄 Improved git changes detection
  • 🎨 Enhanced UI/UX

v1.0.2

  • 🔧 Added Azure DevOps integration
  • 📊 Enhanced scoring system
  • 🛡️ Improved security analysis

v1.0.1

  • 🐛 Initial bug fixes
  • 📝 Documentation improvements

v1.0.0

  • 🎉 Initial release
  • 🔍 Basic file and changes review
  • 💬 Chat participants implementation

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📞 Support

  • Issues: GitHub Issues
  • Email: trongld232@gmail.com
  • Repository: GitHub

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • VS Code Extension API
  • AI/ML integration for intelligent code analysis
  • Community feedback and contributions

Made with ❤️ by Trong Le

Keywords: AI, Code Review, VS Code Extension, Chat Participants, Git Analysis, TypeScript, JavaScript, Security Analysis, Performance Review

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft