llm: Add plan-implement-review pipeline command - #7121
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7121 +/- ##
==========================================
+ Coverage 85.86% 86.31% +0.44%
==========================================
Files 926 921 -5
Lines 65940 66443 +503
Branches 9376 9794 +418
==========================================
+ Hits 56617 57347 +730
+ Misses 6098 5592 -506
- Partials 3225 3504 +279
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR adds a single new slash command, Code Review Details
Also noted, not raised inline: Step 7 suggests |
…elivery-tools prereq
…gins upfront, stop if unavailable
Claude Config Validation — PR #7121Scope:
Security scan (all changed files) — PASS
Structure validation — PASS
Major (should fix)1. No branch is created before the implementer commits — autonomous runs can commit to
|
| # | File:line | Issue | Suggested fix |
|---|---|---|---|
| 5 | plan-implement-review.md:81 |
"Create 4 planning tasks and 5 standing teammates" undercounts — the step also spawns 4 planning teammates, for 9 concurrent agents. | Reword to "4 planning tasks, 4 planning teammates, and 5 standing teammates (9 agents total)" so the cost is visible upfront. |
| 6 | plan-implement-review.md:25-28 |
The four per-reviewer output paths are defined without the -P{N} phase suffix; the suffix convention is only documented for the summary (:29) and again inline at :149. |
Apply the same "(append the phase number if multiple phases)" note to all five review paths in the Input Parsing list. |
| 7 | plan-implement-review.md:71 |
"Confirm each required plugin from the Prerequisites table is installed" gives no mechanism for confirming. | State how — e.g. "check the plugin list via /plugin, or treat a failed Agent spawn as 'not installed' per Step 4.5." |
| 8 | plan-implement-review.md:120 |
"Shut down planning teammates" names no mechanism, while Step 7 (:284) specifies SendMessage with shutdown_request. |
Use the same explicit wording in both places. |
| 9 | plan-implement-review.md:64 |
"The bitwarden-tech-lead agent is provided by the bitwarden-tech-lead marketplace plugin" duplicates the table row at :59. |
Delete the line. |
| 10 | plan-implement-review.md:85-90 |
The planning-task table does not name the tool used to create tasks, whereas Steps 3a/3b/6a explicitly say TaskCreate. |
Add "Create these via TaskCreate with the blockedBy values shown." |
| 11 | plan-implement-review.md:21-29 |
The command writes 9 artifacts under .claude/outputs/, which is not gitignored (no .gitignore entry for it anywhere in the repo). Generated plans and reviews will show up as untracked files in every subsequent git status and can be committed accidentally by the implementer. Pre-existing (plan-android-work.md:106 also writes there) but this PR multiplies it. |
Add .claude/outputs/ to .gitignore in this PR. |
| 12 | CLAUDE.md:61-64 |
The "Quick start" blurb still describes only the tech-lead → software-engineer → /review-android path and doesn't mention the new pipeline command, even though it is the most complete of the three workflows. |
Add one clause pointing at /plan-implement-review as the all-in-one alternative. |
Unverifiable in this environment (informational)
The command declares seven required marketplace plugins (plan-implement-review.md:54-62) and five agent types (:98-113). Only claude-config-validator is present in the local plugin cache, so these references could not be verified:
bitwarden-product-analyst:product-analyst,bitwarden-security-engineer:bitwarden-security-engineer,bitwarden-code-review:bitwarden-code-reviewer— note these three use three different naming shapes (plugin:short-name,plugin:plugin,plugin:plugin-er); worth double-checking each againstbitwarden/ai-pluginsbefore merge, since a typo here fails at spawn time.bitwarden-tech-lead:bitwarden-tech-leadandbitwarden-software-engineer:bitwarden-software-engineer— ✅ consistent with the identifiers already used inCLAUDE.md:61-63.- Skills referenced from
bitwarden-delivery-tools(committing-changes,labeling-changes,architecting-solutions,creating-pull-requestat:62/:294).
Related: .claude/settings.json registers the bitwarden-marketplace source but has no enabledPlugins entry, so none of the six required plugins are enabled by repo config. Every user running /plan-implement-review will hit the Step 1 hard stop until they install all six by hand. The command handles this gracefully, but adding enabledPlugins to .claude/settings.json would make it work out of the box.
Summary
| Severity | Count |
|---|---|
| Critical (must fix) | 0 |
| Major (should fix) | 4 |
| Minor (consider) | 8 |
Errors (must fix before merge): none.
Warnings (should fix): findings 1–4 — branch safety before autonomous commits is the one worth blocking on if this pipeline will be run against main.
Both changed files pass all security and structural checks: valid frontmatter, no secrets, no permission or auto-approval changes, no broken intra-repo references, correctly registered in the command table, and consistent with the existing .claude/commands/ conventions.
Objective
Add a
plan-implement-reviewcommand that orchestrates an end-to-end Android development pipeline — requirements analysis, architecture planning, implementation, and multi-agent code review — driven by a Claude Code agent team.Pipeline
Notes
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.TeamCreate/TeamDelete.