Plans the creation or modification of a cipher type (vault item type) across the Bitwarden clients monorepo. Use this skill when a user wants to add a new cipher type, modify an existing cipher type, or asks about what is needed to implement a cipher type. DO NOT invoke for general vault or cipher questions unrelated to adding or changing a cipher type.
Ask the user the following questions (use AskUserQuestion). Adapt questions based on what
the user has already provided.
Required questions:
CipherType enum definition.$0) - Which client should this plan focus on? (web, desktop, browser, cli, or all). Shared library changes (libs/common, libs/vault) are always included; $0 controls which apps/* files appear. Default: .all$0 is browser or all.Additional questions:
Ask each of the following. If the engineer does not have an answer, accept "N/A" or "not yet decided" and note it as a gap in the plan.
subTitle getter on the view model return? This appears in vault list items.bwi- icon classes.After gathering requirements, enter plan mode using EnterPlanMode. Explore the codebase to
verify current patterns and file locations. Use the SshKey cipher type (value 5) as the canonical
reference for implementation patterns.
Key files to inspect for patterns:
libs/common/src/vault/enums/cipher-type.ts - Enum definitionlibs/common/src/vault/models/api/ssh-key.api.ts - API model patternlibs/common/src/vault/models/data/ssh-key.data.ts - Data model patternlibs/common/src/vault/models/domain/ssh-key.ts - Domain model patternlibs/common/src/vault/models/view/ssh-key.view.ts - View model patternlibs/common/src/models/export/ssh-key.export.ts - Export model patternlibs/common/src/vault/models/domain/cipher.ts - Container switch patternslibs/vault/src/cipher-form/components/sshkey-section/ - Form component patternlibs/vault/src/cipher-view/sshkey-sections/ - View component patternWrite a comprehensive plan to the plan file. The plan MUST include all sections below.
List every file that needs to be created, with the full path and a brief description. Organize by