back to home

tomasz-tomczyk / crit

GitHub PR-style review tool for all of your LLM agent's output

52 stars
8 forks
5 issues
TypeScriptGoJavaScript

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing tomasz-tomczyk/crit in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/tomasz-tomczyk/crit)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Crit Reviewing agent output in a terminal is painful. You can't point at a specific line and say "change this." When your agent updates the file, you re-read the whole thing to figure out what changed. Crit opens your file in a browser with GitHub-style inline comments. Leave feedback, hit Finish, and your agent is notified automatically via . When the agent edits, Crit shows a diff between rounds - you see exactly what it addressed. Works with Claude Code, Cursor, GitHub Copilot, Aider, Cline, Windsurf - any agent that reads files. Why Crit • **Browser UI, not terminal.** A persistent tab with rendered markdown and visual diffs. No tmux, no TUI. • **Single binary, zero dependencies.** and you're done. No daemon, no Docker, no MCP. • **Round-to-round diffs.** See exactly what your agent changed between iterations. Previous comments show as resolved or still open. • **Works with any agent.** Not locked to one editor or AI provider. Anything that reads files works. Install Also available via Go, Nix, or binary download. Demo A 5-minute walkthrough of plan review and branch review. Usage When you finish a review, Crit writes - structured comment data your agent reads and acts on. Add it to your : Features Git review Run with no arguments. Crit auto-detects changed files in your repo and opens them as syntax-highlighted git diffs. A file tree on the left shows every file with its status (added, modified, deleted) and comment counts. Toggle between split and unified diff views. File review Pass specific files to review them directly: . Markdown files render as formatted documents with per-line commenting. Code files show as syntax-highlighted source. Both support the same inline comment workflow and multi-round iteration. Round-to-round diff After your agent edits the file, Crit shows a split or unified diff of what changed - toggle it in the header. Split view Unified view Inline comments: single lines and ranges Click a line number to comment. Drag to select a range. Comments are rendered inline after their referenced lines, just like a GitHub PR review. Suggestion mode Select lines and use "Insert suggestion" to pre-fill the comment with the original text. Edit it to show exactly what the replacement should look like. Your agent gets a concrete before/after. Finish review: agent notified automatically When you click "Finish Review", Crit writes and notifies your agent via . If your agent was listening, it picks up the prompt automatically — no copy-paste needed. A fallback "Copy prompt" button is available if the agent wasn't listening. Programmatic comments AI agents can use to add inline review comments without opening the browser UI or constructing JSON manually: Comments are appended to - created automatically if it doesn't exist. Run to install the integration, which includes a skill file teaching your agent the syntax. Mermaid diagrams Architecture diagrams in fenced Download Binary Grab the latest binary for your platform from Releases. Acknowledgements Crit embeds the following open-source libraries: • markdown-it: Markdown parser • highlight.js: Syntax highlighting • Mermaid: Diagram rendering