An open API service indexing awesome lists of open source software.

https://github.com/jellydn/vscode-seal-code

Smart Code Review with AI-Powered Insights
https://github.com/jellydn/vscode-seal-code

ai amp claude-code copilot open-core review-tools vscode-extension

Last synced: 30 days ago
JSON representation

Smart Code Review with AI-Powered Insights

Awesome Lists containing this project

README

          


SealCode Logo

SealCode


Smart Code Review with AI-Powered Insights


VS Code Marketplace
Downloads
Rating
Open VSX
Made with reactive-vscode

---

## πŸ’‘ Motivation

Code reviews are essential for maintaining code quality, but traditional review workflows have friction:

- **Context switching**: Comments in PRs are disconnected from your editor
- **Lost insights**: Review notes scattered across tools get forgotten
- **Manual follow-up**: No easy way to validate architectural decisions with AI

**SealCode** brings code review directly into VS Code, letting you annotate code in context and leverage AI tools to validate your review commentsβ€”turning observations into actionable insights.
[![Screenshot](https://i.gyazo.com/5e87ad6f041a627b2df8bb36103ccde9.png)](https://gyazo.com/5e87ad6f041a627b2df8bb36103ccde9)
## ✨ Features



πŸ€– AI-Powered Review


Send comments to AI tools (Claude, Copilot, OpenCode, Amp) for architectural validation, security analysis, and refactoring suggestions.




πŸ“ Prompt Templates


Built-in templates for review, security, refactor, and simplify workflows. Create custom templates with {{comments}} and {{files}} placeholders.






🏷️ Categorized Comments


Organize notes with 5 categories: Bug, Question, Suggestion, Nitpick, and Note. Each with distinct colors for quick identification.




🎨 Rich Visual Feedback


Inline decorations, gutter icons, and line backgrounds help you spot comments at a glance.






πŸ“ Smart Filtering


Filter by category, filename, or current file only. Find exactly what you need.




πŸ“€ Export Options


Export your review comments to Markdown or HTML for sharing or documentation.



## πŸš€ Quick Start

1. **Install** the extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=jellydn.seal-code) or search for `jellydn.seal-code` in VS Code Extensions
2. **Select code** in any file
3. Press Cmd+Shift+R (Mac) or Ctrl+Shift+R (Windows/Linux)
4. **Choose a category** and add your comment
5. Press Cmd+Option+Shift+A to send comments to AI for analysis

## πŸ“– Usage

### Adding Comments
- Use the keyboard shortcut Cmd/Ctrl+Shift+R
- Right-click on selected code β†’ **Code Review: Add Review Comment**
[![add Review Comment](https://i.gyazo.com/a5802b99034a412efb30631e9fc94faf.gif)](https://gyazo.com/a5802b99034a412efb30631e9fc94faf)
- Click the **+** button in the Code Review panel
[![add comment for panel](https://i.gyazo.com/cae7a708a40931be21590ed460a37a6e.gif)](https://gyazo.com/cae7a708a40931be21590ed460a37a6e)

### Managing Comments
- Click on any comment in the sidebar to jump to its location
[![managing comments](https://i.gyazo.com/268476c735358041b054896f798a497e.gif)](https://gyazo.com/268476c735358041b054896f798a497e)
- Use inline edit/delete buttons or the context menu
[![delete comment](https://i.gyazo.com/609236f3397d6c165cb09f68131be969.gif)](https://gyazo.com/609236f3397d6c165cb09f68131be969)
- Press Delete when a comment is focused to remove it

### Filtering
- **By Category**: Click the filter icon and select categories to show
- **By Filename**: Search for specific files
- **Current File Only**: Toggle to focus on the active file
[![filter](https://i.gyazo.com/244e165facd9e5079cf1015cab8bc3d5.gif)](https://gyazo.com/244e165facd9e5079cf1015cab8bc3d5)

### Exporting
- Open the view menu in the Code Review panel
- Choose **Export to Markdown** or **Export to HTML**
[![exporting](https://i.gyazo.com/1483d0e35d89f1f29efdf9b4564874b3.gif)](https://gyazo.com/1483d0e35d89f1f29efdf9b4564874b3)

### πŸ€– AI Review

SealCode integrates with popular AI coding tools to analyze your review comments:
[![send to Opencode](https://i.gyazo.com/fdb9d2a2663f48f1b502934dbdc98c81.gif)](https://gyazo.com/fdb9d2a2663f48f1b502934dbdc98c81)

| Tool | Description | Model Configuration |
|------|-------------|---------------------|
| **Claude** | Anthropic's Claude CLI | haiku, sonnet, opus |
| **Copilot** | GitHub Copilot CLI | gpt-4.1, gpt-4o, o3 |
| **OpenCode** | OpenCode CLI (default) | opencode/big-pickle, opencode/claude |
| **Amp** | Amp CLI | rush, smart |
| **Custom** | Your own AI command | e.g., `ccs glm` |

#### Sending Comments to AI
- **Send All**: Click the ✨ button or press Cmd/Ctrl+Shift+A
- **Send Selected**: Run **Code Review: Send Selected to AI** to pick specific comments
- **Send by Category**: Run **Code Review: Send Category to AI** to filter by category first

#### Prompt Templates
Choose from built-in templates or create your own:

- **review**: Validate architectural decisions
- **security**: Identify vulnerabilities and suggest mitigations
- **refactor**: Suggest code quality improvements
- **simplify**: Reduce complexity and improve readability

## βš™οΈ Configuration

| Key | Description | Type | Default |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------- |
| `seal-code.showInlineDecorations` | Show inline text decorations (after-line text preview) | `boolean` | `true` |
| `seal-code.showGutterIcons` | Show gutter icons for comments | `boolean` | `true` |
| `seal-code.showLineBackground` | Show colored background on commented lines | `boolean` | `true` |
| `seal-code.categoryColors` | Custom colors for each comment category | `object` | `{"bug":"#f44336","question":"#2196f3","suggestion":"#4caf50","nitpick":"#ff9800","note":"#9e9e9e"}` |
| `seal-code.aiTool` | AI CLI tool to use for sending review comments | `string` | `"opencode"` |
| `seal-code.aiToolCommand` | Custom command path for AI tool (used when aiTool is 'custom', e.g., 'ccs glm') | `string` | `""` |
| `seal-code.aiToolClaudeModel` | Claude model to use (e.g., haiku, sonnet, opus) | `string` | `"haiku"` |
| `seal-code.aiToolOpenCodeModel` | OpenCode model to use (e.g., opencode/big-pickle, opencode/claude) | `string` | `"opencode/big-pickle"` |
| `seal-code.aiToolCopilotModel` | Copilot model to use (e.g., gpt-4.1, gpt-4o, o3) | `string` | `"gpt-4.1"` |
| `seal-code.aiToolAmpModel` | Amp mode to use (rush or smart). Execute mode requires rush or smart. | `string` | `"smart"` |
| `seal-code.promptTemplates` | Named prompt templates for AI review. Use {{comments}} for formatted comments and {{files}} for affected file list. | `object` | See package.json |
| `seal-code.showAIQuickPick` | Show quick pick menu for AI tool selection before sending to AI | `boolean` | `false` |

## ⌨️ Commands

| Command | Title |
| ------------------------------ | ------------------------------------- |
| `codeReview.addComment` | Code Review: Add Review Comment |
| `codeReview.editComment` | Code Review: Edit Comment |
| `codeReview.deleteComment` | Code Review: Delete Comment |
| `codeReview.filterByCategory` | Code Review: Filter by Category |
| `codeReview.toggleFileFilter` | Code Review: Toggle Current File Only |
| `codeReview.exportMarkdown` | Code Review: Export to Markdown |
| `codeReview.exportHtml` | Code Review: Export to HTML |
| `codeReview.clearAll` | Code Review: Clear All Comments |
| `codeReview.filterByFilename` | Code Review: Filter by Filename |
| `codeReview.editCommentById` | Code Review: Edit Comment |
| `codeReview.deleteCommentById` | Code Review: Delete Comment |
| `codeReview.sendToAI` | Code Review: Send to AI Review |
| `codeReview.sendSelectedToAI` | Code Review: Send Selected to AI |
| `codeReview.sendCategoryToAI` | Code Review: Send Category to AI |

### Runtime AI Tool Selection

Enable the AI tool quick pick to choose different tools per review session:

```json
{
"seal-code.showAIQuickPick": true
}
```

This allows parallel execution with different AI tools for comprehensive analysis.

## 🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## πŸ› οΈ Development

Built with [Amp](https://ampcode.com/) and [Ralph](https://github.com/snarktank/ralph)

```bash
# Install dependencies
pnpm install

# Build
pnpm run build

# Watch mode
pnpm run dev

# Run tests
pnpm run test
```

## πŸ’– Show your support

Give a ⭐️ if this project helped you!

[![kofi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/dunghd)
[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/dunghd)
[![buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/dunghd)

## πŸ“„ License

[MIT](./LICENSE.md) License Β© 2026 [Huynh Duc Dung](https://github.com/jellydn)