git-code-review-agent
v0.6.1
Published
Cursor IDE plugin: Technical Architect and Dev Lead skills for branch-to-branch git diff code review, merge-base PR-style analysis, and delivery risk assessment
Maintainers
Readme
codereviewagent
Cursor IDE plugin that ship skills and subagents via npm, install into ~/.cursor/plugins/local/, and restart Cursor.
Focus here: Technical Architect and Engineering Lead branch-to-branch code review — generate a git diff (base...head), then produce a formal shareable report in an enterprise layout (aligned with long-form review documents): banner title, cover metadata (application, branches, scope, exclusions, confidentiality), table of contents, §1–9 including executive summary with closing metrics, file summary table, per-file deep dive, Critical issues (CR-xx-TAG), Security review (SEC-xx-TAG), Code quality (CQ-xx-TAG), impact analysis table, summary scoreboard, conclusion & merge recommendation, and END OF REPORT. The same document is written to code-reviews/ for distribution.
What ships
| Piece | Role |
|--------|------|
| .cursor-plugin/plugin.json | Cursor plugin manifest (skills, agents paths) |
| skills/branch-diff-architecture-review/ | Skill for main chat: when to diff, how, output shape |
| agents/architect-dev-lead-reviewer.md | Subagent system prompt for deep reviews |
| scripts/git-diff-branches.sh | Optional three-dot / two-dot diff helper |
| scripts/save-code-review-report.sh | Pipe report on stdin → code-reviews/code-review_<base>_vs_<head>_<timestamp>.md |
Install
From npm (after you publish):
npx codereviewagent installFrom this repo:
npm install
npx codereviewagent installThen restart Cursor.
Commands: install | update | uninstall | status | help.
Customize
- Add skills under
skills/<name>/SKILL.md(YAMLname+descriptionrequired). - Add agents as
agents/<id>.md(frontmattername,description). - Extend
bin/cli.jsCONTENT_DIRSif you add new top-level folders to copy.
License
MIT
