feat(skills): add project-agnostic review pipeline skills#11
Conversation
Add three new skills for AI code review workflows: - create-handoff: generates structured handoff docs with auto-detected build system checks (Node, Rust, Go, Python, Make) - create-review: bootstraps review pipeline scripts/templates and generates paste-ready prompts for any AI reviewer (Codex, Gemini, etc.) - fix-review: fetches GitHub PR review comments and applies fixes with severity-based prioritization Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary of ChangesHello, 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 significantly enhances the project's review capabilities by introducing three new, project-agnostic skills. These additions automate key stages of the development and review process, from generating comprehensive handoff documentation and setting up AI-powered code review prompts to intelligently applying fixes based on GitHub PR feedback. The overall aim is to streamline the review workflow, improve consistency, and reduce manual effort for developers. Highlights
Changelog
Activity
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
Code Review
This pull request introduces three new skills: create-handoff, create-review, and fix-review, which together build a project-agnostic review pipeline. While the overall design is sound, there are significant security concerns. The create-review skill lacks sanitization for the reviewer name, potentially leading to path traversal or command injection. More critically, the fix-review skill is vulnerable to indirect prompt injection, as it automatically applies code fixes based on external GitHub review comments without mandatory user confirmation. Additionally, in create-handoff, there's an issue with using a kebab-case name as a shell variable, and in create-review, a minor change to git commands is suggested for better clarity and consistency. Addressing the security vulnerabilities by adding sanitization and requiring user approval for automated fixes is essential.
- fix-review: require user confirmation before applying bot fixes (security) - create-review: sanitize reviewer argument to prevent path traversal (security) - create-handoff: fix shell variable placeholder syntax (session-name → session_name) - create-review: use two-dot git diff range for consistency
Summary
ghCLI and applies fixes with severity-based prioritizationTest plan
scripts/validate-skills.sh— all 10 skills passcreate-handoffin a sample project with uncommitted changescreate-reviewbootstrap (first run) and re-run (script refresh, template preservation)create-review codexandcreate-review geminifor provider-specific promptsfix-reviewon a PR with bot review comments🤖 Generated with Claude Code