fix: update stale Plan+ and AI-DevOps agent refs to Build+ in command generator#244
Conversation
… generator 7 slash commands (/list-todo, /save-todo, /create-prd, /generate-tasks, /plan-status, /show-plan, /onboarding) were referencing disabled agents Plan+ and AI-DevOps. Updated all 6 hardcoded refs in generate-opencode-commands.sh to Build+.
Summary of ChangesHello @marcusquinn, 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 fixes several broken slash commands by updating their underlying agent references. Previously, these commands were attempting to use disabled agents ( Highlights
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
|
WalkthroughUpdated agent metadata in generated OpenCode command files, changing references from Plan+ to Build+ for multiple commands and AI-DevOps to Build+ for onboarding. No functional changes to command content, workflows, or error handling—only frontmatter updates. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
Code Review
This pull request correctly updates hardcoded agent references for several slash commands, fixing them. One point of concern is that the PR description lists /show-plan as an affected command, but there's no corresponding update for it in the diff. Please ensure this isn't an accidental omission. For maintainability, I've also added a suggestion to replace the hardcoded agent strings with a shell variable. This would centralize the agent name and make future updates less error-prone.
| cat > "$OPENCODE_COMMAND_DIR/create-prd.md" << 'EOF' | ||
| --- | ||
| description: Generate a Product Requirements Document for a feature | ||
| agent: Plan+ | ||
| agent: Build+ | ||
| --- |
There was a problem hiding this comment.
To improve maintainability and prevent hardcoded values from becoming stale in the future, consider defining the agent name as a variable (e.g., BUILD_AGENT=\"Build+\") at the top of the script. You can then reference this variable in all the command generation blocks. This makes future updates much easier and less error-prone.
This pattern should be applied to all commands being updated in this PR.
Note that you'll need to change << 'EOF' to << EOF in each block to enable variable expansion.
| cat > "$OPENCODE_COMMAND_DIR/create-prd.md" << 'EOF' | |
| --- | |
| description: Generate a Product Requirements Document for a feature | |
| agent: Plan+ | |
| agent: Build+ | |
| --- | |
| cat > "$OPENCODE_COMMAND_DIR/create-prd.md" << EOF | |
| --- | |
| description: Generate a Product Requirements Document for a feature | |
| agent: ${BUILD_AGENT} | |
| --- |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Tue Jan 27 23:07:19 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
🤖 Augment PR SummarySummary: Fixes broken OpenCode slash commands by updating references to disabled agents. Changes: Replaces 🤖 Was this summary useful? React with 👍 or 👎 |



Summary
Plan+andAI-DevOpsgenerate-opencode-commands.shtoBuild+Affected Commands
/list-todo/save-todo/create-prd/generate-tasks/plan-status/show-plan/onboardingRoot Cause
PR #226 consolidated Plan+ and AI-DevOps into Build+ and disabled the old agents, but the hardcoded heredoc templates in
generate-opencode-commands.shwere not updated to match.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.