cipher-type-planner
БесплатноБез исполняемых скриптовНе проверен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…
от bitwarden★ 14 360 звёзд на GitHubОб этом скилле
Cipher Type Planner
Workflow
Step 1: Gather Requirements
Ask the user the following questions (use AskUserQuestion). Adapt questions based on what
the user has already provided.
Required questions:
- Type name and value - What is the cipher type name and integer value? If the user hasn't specified a value, determine the next available integer by reading the
CipherTypeenum definition. - Fields - What are the cipher's properties? Each property must contain:
- Field name
- Data type (string, number, boolean)
- Encryption required?
- Required
- Target client (
$0) - Which client should this plan focus on? (web,desktop,browser,cli, orall). Shared library changes (libs/common,libs/vault) are always included;$0controls whichapps/*files appear. Skip if already provided as an argument. Default:all. - Autofill - Should this type participate in browser autofill? (Currently only Login, Card,
and Identity support autofill.) Only ask if
$0isbrowserorall. - Linked fields - Should this type support linked custom fields? If yes, which properties should be linkable?
- Feature flag - What is the feature flag name?
- Prerequisites - Have all server and SDK prerequisites been completed? Do not proceed with the plan until the user confirms these are done.
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.
- Import/export - Should import/export support be included in this plan?
- UI details - Are there specific UI requirements for the form or view sections (e.g., dropdowns, masked fields, copy buttons)?
- Subtitle - What value should the
subTitlegetter on the view model return? This appears in vault list items. - Icon - What icon represents this type in the vault? Bitwarden uses
bwi-icon classes. - Organization policy - Does this type appear in the restricted item types policy UI?
Step 2: Enter Plan Mode
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 pattern
Step 3: Build the Plan
Write a comprehensive plan to the plan file. The plan MUST include all sections below.
Plan Output Format
1. Overview
- Cipher type name:
- Integer value:
- Feature flag:
- Minimum client version:
- Fields: Table of all fields with name, type, encrypted (yes/no), required (yes/no)
- Supports autofill: Yes/No
- Supports linked fields: Yes/No
2. Clients - New Files to Create
List every file that needs to be created, with the full path and a brief description. Organize by layer:
Model stack:
libs/common/src/vault/models/api/<type>.api.ts- API response shapelibs/common/src/vault/models/data/<type>.data.ts- Serializable storage formatlibs/common/src/vault/models/domain/<type>.ts- Encrypted business objectlibs/common/src/vault/models/domain/<type>.spec.ts- Domain model testslibs/common/src/vault/models/view/<type>.view.ts- Decrypted view for UI
Export (if import/export is included):
libs/common/src/models/export/<type>.export.ts- Export model
UI components:
libs/vault/src/cipher-form/components/<type>-section/- Form section component (TS, HTML, spec)libs/vault/src/cipher-view/<type>-sections/- View section component (TS, HTML)
3. Clients - Existing Files to Modify
List every file that needs modification, organized by concern. For each file, describe the specific change needed.
Core enum:
libs/common/src/vault/enums/cipher-type.ts- Add<Type>: <N>toCipherTypelibs/common/src/vault/enums/cipher-type.spec.ts- Update tests
Container switches (add case for new type):
libs/common/src/vault/models/data/cipher.data.ts- Constructorlibs/common/src/vault/models/domain/cipher.ts- Constructor,decrypt(),toCipherData(),fromJSON(),toSdkCipher(),fromSdkCipher()libs/common/src/vault/models/view/cipher.view.ts-itemgetter,fromJSON(), `fromS
Установить cipher-type-planner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cipher-type-planner?
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.
Как установить скилл cipher-type-planner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cipher-type-planner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic