Skip to main content

create-pull-request

Pull request creation workflow for Bitwarden Clients. Use when creating PRs, writing PR descriptions, or preparing branches for review. Triggered by "create PR", "pull request", "open PR", "gh pr create", "PR description".

来源信息

仓库
bitwarden/clients
最近来源活动
2026年3月20日 20:53
检测到的 SKILL.md 语言
英语
星标
14,059
Forks
2,150

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
create-pull-request
version
0.1.0
description
Pull request creation workflow for Bitwarden Clients. Use when creating PRs, writing PR descriptions, or preparing branches for review. Triggered by "create PR", "pull request", "open PR", "gh pr create", "PR description".
# Create Pull Request ## PR Title Format ``` [PROJ-XXXXX] Short imperative summary ``` **Examples:** - `[PM-12345] Add passkey support to vault item creation` - `[CL-1124] Increase badge max-width` - `[PM-33446] Ensure attachments are cleared on clone` **Rules:** - Include the Jira ticket prefix (e.g. `PM-`, `CL-`) - Keep under 70 characters total - Use imperative mood in the summary --- ## PR Body Template **IMPORTANT:** Always follow the repo's PR template at `.github/PULL_REQUEST_TEMPLATE.md`. Add TODO items to the screenshots section for each scenario that should be captured if any. --- ## Pre-PR Checklist 1. **All tests pass**: Run `npm test` 2. **Lint clean**: Run `npm run lint` 3. **No unintended changes**: Check `git diff origin/main...HEAD` for unexpected files 4. **Branch up to date**: Rebase on `main` if needed --- ## Creating the PR ```bash # Ensure branch is pushed git push -u origin <branch-name> # Create PR as draft by default (body follows .github/PULL_REQUEST_TEMPLATE.md) gh pr create --draft --title "[PM-XXXXX] Short summary" --body "<fill in from PR template>" ``` **Default to draft PRs.** Only create a non-draft (ready for review) PR if the user explicitly requests it. --- ## Base Branch - Default target: `main` - Check with team if targeting a feature branch instead
在 GitHub 查看