Skip to content

feat: Add tvm-ffi-code-review Claude Skill#450

Closed
junrushao wants to merge 1 commit intoapache:mainfrom
junrushao:2026-02-14/skill-code-review
Closed

feat: Add tvm-ffi-code-review Claude Skill#450
junrushao wants to merge 1 commit intoapache:mainfrom
junrushao:2026-02-14/skill-code-review

Conversation

@junrushao
Copy link
Member

Add a /tvm-ffi-code-review skill that runs parallel code reviews using Claude Code (Opus 4.6) and OpenAI Codex (GPT-5.3) as independent reviewers, then synthesizes their findings into a unified report.

  • Flexible review scope: PR (default), branch, commit, staged, unstaged
  • Both reviewers share a comprehensive checklist covering correctness, security, performance, API design, maintainability, concurrency, error handling, and best practices
  • Presents each reviewer's raw output first, followed by a synthesized report with consensus findings and severity-sorted tables
  • Option to publish review as inline GitHub PR comments via gh api

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @junrushao, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a new tvm-ffi-code-review skill designed to enhance code review processes by leveraging multiple AI models. The skill automates comprehensive code analysis, offering a consolidated and prioritized report of potential issues, and streamlines feedback delivery through optional GitHub integration.

Highlights

  • Parallel AI Review: Introduced a new skill that performs parallel code reviews using both Claude Code (Opus 4.6) and OpenAI Codex (GPT-5.3) models.
  • Unified Report Generation: Synthesizes findings from both AI models into a single, prioritized report, detailing consensus findings and divergences.
  • Flexible Review Scope: Supports various review scopes including entire PRs, specific branches, commits, staged changes, or unstaged changes, with user prompting for ambiguous cases.
  • Comprehensive Review Checklist: Both AI reviewers utilize a shared checklist covering correctness, security, performance, API design, maintainability, concurrency, error handling, and best practices.
  • GitHub Integration: Provides an option to publish the synthesized review report as inline comments directly on GitHub Pull Requests using the gh api.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .claude/skills/tvm-ffi-code-review/SKILL.md
    • Added the definition and detailed instructions for the new tvm-ffi-code-review skill.
Activity
  • No specific activity (comments, reviews, or progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@junrushao
Copy link
Member Author

Example: #449 (review)

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a well-structured and comprehensive tvm-ffi-code-review skill. The documentation is detailed, covering various scopes, parallel execution, result synthesis, and GitHub integration. The overall design is robust, particularly the handling of the gh api for submitting reviews.

However, I've identified a few areas for improvement, primarily concerning the accuracy of prerequisites and model names, which are currently misleading. I've also suggested a more robust way to handle temporary files. Addressing these points will significantly improve the clarity and usability of this new skill.

@junrushao junrushao force-pushed the 2026-02-14/skill-code-review branch 3 times, most recently from 2f39db1 to 522d880 Compare February 15, 2026 01:55
Add a `/tvm-ffi-code-review` skill that runs parallel code reviews
using Claude Code (Opus 4.6) and OpenAI Codex (GPT-5.3) as
independent reviewers, then synthesizes their findings into a
unified report.

- Flexible review scope: PR (default), branch, commit, staged, unstaged
- Both reviewers share a comprehensive checklist covering correctness,
  security, performance, API design, maintainability, concurrency,
  error handling, and best practices
- Presents each reviewer's raw output first, followed by a synthesized
  report with consensus findings and severity-sorted tables
- Option to publish review as inline GitHub PR comments via `gh api`
@junrushao junrushao force-pushed the 2026-02-14/skill-code-review branch from 522d880 to 5a26c9d Compare February 15, 2026 02:08
@junrushao
Copy link
Member Author

Closing as it's not specific to TVM-FFI. Would be nice to be a global skill

@junrushao junrushao closed this Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments