code-review-local
Review a GitHub pull request or local changes and write the review to local files instead of posting
Refresh an existing workspace-level CLAUDE.md by adding missing Bitwarden domain modules
> /plugin marketplace add bitwarden/ai-pluginsHow it fires
How this command gets triggered: by you, by Claude, or both.
/enhance-workspaceContext preview
What this command does when you run it.
Refresh an existing workspace-level CLAUDE.md by adding missing Bitwarden domain modules
description: Refresh an existing workspace-level CLAUDE.md by adding missing Bitwarden domain modules allowed-tools: Read, Write, Edit, Bash(diff:*), Bash(cp:*), Bash(date:*), Bash(rm:*), Glob
Refresh an existing workspace-level CLAUDE.md by detecting which Bitwarden domain modules are already present and offering to add the missing ones. Same safety guardrails as `/bitwarden-init:init-workspace` — backup before overwrite, diff preview, explicit Apply confirmation.
A workspace-level CLAUDE.md must already exist. If it doesn't, stop and point the user at `/bitwarden-init:init-workspace` instead.
1. **Ask the user for the workspace root.** Use `AskUserQuestion` with options pre-filled as common candidates (e.g. `~/Source/bw`, `~/dev/bitwarden`, `~/code/bw`) — the "Other" affordance lets them type anything. Validate that the resolved `<workspace-root>/.claude/CLAUDE.md` exists; if not, re-ask. No auto-detection — a user invoking `enhance-workspace` has already chosen where this file lives during a prior `init-workspace` session.
2. **Locate the target file.** Target is `<workspace-root>/.claude/CLAUDE.md`. If it does not exist, exit with the message above.
3. **Detect installed modules.** For each module in `${CLAUDE_PLUGIN_ROOT}/templates/workspace/`, extract the top-level `## Heading` and check whether it appears in the existing file.
Build **Installed** and **Missing** lists.
4. **Offer missing modules.** Use `AskUserQuestion` with `multiSelect: true` showing only **Missing** modules. If empty, tell the user all known modules are already present and exit cleanly. Use the one-line summaries from `/bitwarden-init:init-workspace`.
5. **Render new content.**
6. **Diff + confirm.** Write the rendered content to a temp file. Run `diff -u <target> <temp>` and display. Use `AskUserQuestion` with **Apply**, **Show diff again**, **Cancel**.
7. **Backup, then write.**
8. **Summary.** Report which modules were added, the backup path, and a reminder that this file applies to every Bitwarden repo under `<workspace-root>`.
A curated collection of plugins for AI-assisted development at Bitwarden. Enables discovery and distribution of quality-controlled plugins for use with Claude Code.
Review a GitHub pull request or local changes and write the review to local files instead of posting
Review a GitHub pull request and post findings directly to GitHub
Refresh an existing user-level ~/.claude/CLAUDE.md by adding missing modules from the Bitwarden init template library
Enhance an existing CLAUDE.md with Bitwarden's standardized template structure and supplementary research
Set up a user-level ~/.claude/CLAUDE.md with opt-in Bitwarden behavioral modules through a guided Q&A
Set up a workspace-level CLAUDE.md (Bitwarden domain context) for the folder containing all locally-cloned Bitwarden repos