[PM-35116] feat: Add architect, delivery-tools, and workflows plugins#85
Draft
SaintPatrck wants to merge 13 commits intomainfrom
Draft
[PM-35116] feat: Add architect, delivery-tools, and workflows plugins#85SaintPatrck wants to merge 13 commits intomainfrom
SaintPatrck wants to merge 13 commits intomainfrom
Conversation
Introduces bitwarden-architect plugin with a platform-agnostic architect agent that dynamically discovers repo context via CLAUDE.md Skills & Commands tables and repo-local planning skills. Replaces per-repo architect agents (android-architect, ios-architect) with a single generic process engine.
Agents were reading SKILL.md files directly instead of invoking via the Skill tool. Made instructions explicit: use Skill tool by name, do not read the file directly.
Introduces bitwarden-delivery-tools plugin with 4 platform-agnostic delivery skills: committing-changes, creating-pull-request, labeling-changes, and perform-preflight. Skills define the delivery process while referencing each repo's CLAUDE.md for platform-specific details. Replaces per-repo delivery skills in Android and iOS.
…iscovery Merges per-repo implementer behavior into the generic agent: self-review protocol, decision-making framework, context discovery via CLAUDE.md Skills & Commands table, and critical rules. Removes preloaded skill frontmatter in favor of dynamic discovery. Bumps to 0.4.0.
Moves the plan-implement-review pipeline from the Android repo to the architect plugin. Strips Android-specific references — all agent references are now marketplace plugins. Bumps to 0.2.0.
…ementers
Reduces command from 322 to 133 lines by removing prescriptive
templates, obvious team-lead behavior, and restated guidelines.
Adds per-repo implementers matching the per-repo architect pattern
— each WBD phase dispatches implementer-{repo} instead of a single
shared implementer.
PIR is an orchestration workflow that composes multiple agent types,
not an architect-owned command. New bitwarden-workflows plugin
establishes the pattern for multi-agent pipeline composition.
Also migrates output paths to ${CLAUDE_PLUGIN_DATA}.
|
Great job! No new security vulnerabilities introduced in this pull request |
Skills and agents were spending ~25-40% of their token budget re-teaching Claude things the system prompt or model already knows (git hygiene, generic code smells, basic planning steps). - Remove system prompt overlap from committing-changes and creating-pull-request (staging practices, secrets avoidance, pre-commit checklists all covered by system prompt) - Deduplicate perform-preflight vs committing-changes: preflight is now the single quality gate, both consumers reference it - Embed labeling table directly in committing-changes and creating-pull-request to eliminate extra skill load per commit/PR - Trim generic methodology from architect agent (requirements elicitation, architecture design steps Claude already knows) - Remove Decision-Making Framework, Communication Style, and Critical Rules from software-engineer (standard behavior) - Add ambiguous-case examples to labeling-changes - Add failure handling guidance to perform-preflight
… skill
Refactors the architect agent by extracting the core architectural process into a dedicated, reusable skill. This change separates the agent's identity and guardrails from the specific technical methodology used to plan Bitwarden solutions.
- Create `architecting-solutions` skill to encapsulate the four-step planning process: Context Discovery, Requirements Refinement, Technical Gap Analysis, and Architecture Design
- Move detailed Bitwarden-specific constraints into the new skill, including zero-knowledge security requirements and the V+/-2 API versioning matrix
- Standardize deliverable templates for `{slug}-IMPLEMENTATION-PLAN.md` and `{slug}-WORK-BREAKDOWN.md` within the skill definition
- Define `${CLAUDE_PLUGIN_DATA}/plans/` as the standard output directory for all architectural artifacts
- Simplify `AGENT.md` by removing redundant process instructions and explicitly referencing the `architecting-solutions` skill
- Update agent metadata: bump version to 0.3.0 and change UI color to cyan
- Retain core behavioral guardrails (DO/DON'T) within the main agent definition to ensure consistent persona execution
…ric-architect-plugin # Conflicts: # .claude-plugin/marketplace.json # plugins/bitwarden-architect/.claude-plugin/plugin.json # plugins/bitwarden-architect/CHANGELOG.md # plugins/bitwarden-architect/README.md # plugins/bitwarden-architect/agents/AGENT.md # plugins/bitwarden-architect/skills/architecting-solutions/SKILL.md # plugins/bitwarden-software-engineer/.claude-plugin/plugin.json # plugins/bitwarden-software-engineer/CHANGELOG.md
5022f44 to
5638cf0
Compare
…ting-solutions `architecting-solutions` narrowed to architectural thinking (principles, security mindset, judgment, red flags). Plan-artifact production extracted to a new `creating-implementation-plan` skill so the thinking can be invoked independently (reviews, trade-off discussions) without implying an artifact, and so the plan-producing workflow is reusable across consumers beyond the architect agent. Adds named companion-skill pointers in `architecting-solutions` and `when_to_use` / `argument-hints` frontmatter on both skills to improve triggering accuracy. Work Breakdown Document and Architecture Review sections removed — downstream flows route to `bitwarden-product-analyst:work-breakdown` and `bitwarden-security-engineer:reviewing-security-architecture` respectively.
5638cf0 to
60c6990
Compare
…or accuracy Adds `creating-work-breakdown` — decomposes an implementation plan's phases into ticket-ready tasks with file touchpoints, dependency ordering, and observable acceptance criteria. Pairs by slug with the corresponding plan and accepts an optional output filename. Refactors `creating-implementation-plan` to stop duplicating principles already in `architecting-solutions` (section-guidance restated "blast radius", "tech debt", etc.) and to point its downstream handoff at the new plugin-local skill instead of `bitwarden-product-analyst:work-breakdown`, keeping the planning flow cohesive within the architect plugin. Audits the rest of the plugin post-extraction: README Skills table lists all three architect skills; Deliverables section drops the "Architecture Review" artifact (delegated to `bitwarden-security-engineer:reviewing-security-architecture`); architect AGENT.md `skills:` frontmatter registers the two new skills so they are discoverable. CHANGELOG 1.1.0 entry updated to reflect the work-breakdown addition (still in development on this release).
Describes the sequential progression across the three architect skills (already loaded into the agent's context via frontmatter), with explicit skip conditions so the agent doesn't produce a plan or work breakdown when the human only asked for a decision or review. Clarifies that cross-plugin skills (threat-modeling, security-context, writing-server-code, etc.) are invoked via the `Skill` tool since they are not in the agent's frontmatter.
Banrion
reviewed
Apr 22, 2026
| name: creating-work-breakdown | ||
| description: This skill should be used when the user asks to "break this plan into tickets", "create a work breakdown", "generate Jira tasks from the plan", "prepare tickets for this feature", or otherwise requests a ticket-ready decomposition of an implementation plan. Converts an implementation plan's phases into discrete, dependency-ordered tasks with file touchpoints and acceptance criteria. | ||
| when_to_use: Use after `bitwarden-architect:creating-implementation-plan`, or when an implementation plan already exists and needs to be split into tickets. Preparing work for sprint planning or Jira import, Handing phases off to multiple implementers, Capturing dependencies between tasks explicitly | ||
| argument-hints: Path to an existing implementation plan (e.g., ${CLAUDE_PLUGIN_DATA}/plans/pm-32009-new-item-types-server-IMPLEMENTATION-PLAN.md), Jira epic or parent ticket key, Target repository slug, Optional output filename (defaults to {slug}-WORK-BREAKDOWN.md) |
There was a problem hiding this comment.
❓ Is this an environment variable to be setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🎟️ Tracking
PM-35116: Cross-repo PIR workflow
PM-35361: Delivery tools
PM-35362: Workflows plugin
📔 Objective
Introduces an architect agent and supporting plugins that discover platform
context dynamically at runtime, plus a workflows plugin that demonstrates how
to compose marketplace agents into multi-agent pipelines.
New plugins
bitwarden-architect— Software architect agent with three bundled skillscovering the planning lifecycle:
architecting-solutions(think: securityposture, blast radius, trade-offs),
creating-implementation-plan(produce theplan artifact), and
creating-work-breakdown(decompose phases intoticket-ready tasks). Agent workflow defaults to stopping after the "think"
step unless the human explicitly asks for a plan or tickets. Discovers
planning-related skills under
<repo>/.claude/skills/and defers to them whenpresent; otherwise uses the plugin's built-in templates.
bitwarden-delivery-tools— Generic delivery skills (committing-changes,creating-pull-request, labeling-changes, perform-preflight) that derive
platform-specific details from each repo's CLAUDE.md.
bitwarden-workflows— Multi-agent orchestration workflows composed frommarketplace agents via Teams and task dependencies. Ships with
plan-implement-reviewas the first workflow: an end-to-end pipeline(requirements → per-repo architecture → implementation → 4-reviewer gauntlet)
that dynamically creates per-repo architects and implementers based on what the
requirements spec identifies as in scope.
Updated plugins
bitwarden-software-engineer— Adjusted to be more generic: adds contextdiscovery via CLAUDE.md, autonomous implementation lifecycle with self-review
protocol, and decision-making framework. All skills discovered dynamically at
runtime.
Design principle
Agents own process. Repos own platform specifics. The
plan-implement-reviewworkflow in bitwarden-workflows is both a functional pipeline and a reference
for how to compose agents into complex, multi-step, multi-repo workflows using
Teams and task dependencies.
Follow-up: relocate repo-specific skills
The
bitwarden-software-engineerplugin currently contains 5 skills that arerepo-specific implementation conventions rather than process:
writing-server-code,writing-client-code,writing-database-queries,implementing-dapper-queries,implementing-ef-core. Per the design principle,these belong in their respective repos'
.claude/skills/directories (server,clients) — not the marketplace. Relocating them makes the software-engineer
a pure process agent with zero repo-specific content, consistent with how the
architect and delivery-tools plugins already work. This will be a separate PR
touching the server and clients repos.
Testing
Prerequisites
Install all plugins from this branch. Verify with
/reload-plugins:bitwarden-architect,bitwarden-delivery-tools,bitwarden-workflows(new)bitwarden-software-engineer(updated)bitwarden-product-analyst,bitwarden-security-engineer,bitwarden-code-review,bitwarden-atlassian-tools(existing, required by the pipeline)Ensure
bitwarden-atlassian-toolsis configured and functional (Jira/Confluence access required for ticket-based workflows).Test 1: Architect workflow (Think → Plan → Break down)
The architect agent bundles three skills auto-loaded into context:
architecting-solutions,creating-implementation-plan,creating-work-breakdown. Default behavior stops after the "think" step; plan and work-breakdown artifacts are only produced on explicit request.Think-only (default):
bitwarden-architect:architectwith a brief feature request (no mention of planning or tickets)Think + Plan:
architecting-solutions, then produces${CLAUDE_PLUGIN_DATA}/plans/{slug}-IMPLEMENTATION-PLAN.mdwith the template sections (Current State / Blast Radius / Design / Phases / Risks & Open Questions)Think + Plan + Break down:
{slug}-IMPLEMENTATION-PLAN.mdand{slug}-WORK-BREAKDOWN.md, paired by slugPer-repo planning skill precedence:
.claude/skills/(e.g., android'splanning-android-implementation)Fallback test:
creating-implementation-planTest 2: Software-engineer context discovery
bitwarden-software-engineer:bitwarden-software-engineerwith a small implementation taskSkilltool?Test 3: Delivery skills
bitwarden-delivery-tools:committing-changes— verify it follows the commit format and invokeslabeling-changesfor type selectionbitwarden-delivery-tools:creating-pull-request— verify it prompts for AI review label viaAskUserQuestionand creates a draft PRTest 4: End-to-end pipeline
Setup
Create an isolated experiment workspace with worktrees on the companion PR branches (android, ios) and
origin/mainfor other repos. This prevents agents from discovering old local agents in the main checkouts.Execution
~/development/bitwarden/experiment/Skill(bitwarden-workflows:plan-implement-review) <Jira ticket or task description>Single-blind protocol: The agents are the test subjects. They receive only the task — no mention of testing, no evaluation criteria, no expected outcomes. The evaluator reviews artifacts after the run.
Evaluation criteria
Skilltool (not file reads)?Cleanup
Remove experiment worktrees after evaluation. Verify no commits were pushed to remotes.