perform-preflight

作者: bitwarden

在提交或建立 PR 前執行的品質關卡檢查清單。適用於完成實作、檢查工作品質或準備提交時。觸發條件…

npx skills add https://github.com/bitwarden/ai-plugins --skill perform-preflight

Preflight Checklist

Run this checklist before committing or creating a PR. Consult the repo's CLAUDE.md for platform-specific commands (test runner, linter, formatter).

Tests

  • Run tests for affected modules (consult CLAUDE.md for commands)
  • New code has test coverage
  • No existing tests broken

Code Quality

  • Lint and format pass (consult CLAUDE.md for commands)
  • No TODO comments without Jira ticket references
  • Public APIs documented per repo convention (KDoc, DocC, XML docs, etc.)

Bitwarden Security

  • Zero-knowledge architecture preserved — no unencrypted vault data logged, persisted, or transmitted
  • Sensitive data uses platform-appropriate secure storage (consult CLAUDE.md Security Rules)
  • No sensitive data in log statements

Architecture

  • Changes follow patterns in CLAUDE.md and architecture docs
  • Dependency injection and error handling follow repo convention
  • String resources added to the correct location (if applicable)

On Failure

If any check fails, fix the issue before proceeding. For test failures, diagnose the root cause rather than skipping. For lint/format failures, run the repo's auto-fix command if available. If a check cannot be resolved, flag it to the user with the specific failure output.

來自 bitwarden 的更多技能

analyzing-git-sessions
bitwarden
分析指定時間範圍或提交範圍內的 Git 提交與變更,提供結構化摘要,適用於程式碼審查、回顧會議、工作日誌或工作階段…
official
figma-to-angular
bitwarden
此技能可將 Figma 設計規格轉換為 Bitwarden Clients 單一儲存庫中,具備 Storybook 故事的完整 Angular 元件。輸出結果應在視覺上符合設計,同時遵循所有程式碼庫慣例。
official
agent-access
bitwarden
Retrieve login credentials, API keys, and secrets (username, password, TOTP) from the user's Bitwarden vault via aac. Use when you need credentials to sign…
official
action-audit
bitwarden
Audit GitHub Actions action usage across an org. Searches for a specific action (incident mode) or sweeps all workflow files for non-compliant action…
official
action-remediate
bitwarden
Remediate GitHub Actions action findings identified by the action-audit skill. Applies the appropriate fix per action type — `@main` ref for internal…
official
analyzing-code-security
bitwarden
This skill should be used when the user asks to "analyze code for security issues", "check for OWASP vulnerabilities", "review code against CWE Top 25", "find…
official
applying-bitwarden-branding
bitwarden
Apply Bitwarden brand standards — logo usage, color palette, typography, iconography, and capitalization rules — grounded in bitwarden.com/brand and the…
official
architecting-solutions
bitwarden
Architecting solutions at the team level while staying coherent with Bitwarden's holistic architecture. Covers security mindset, architectural judgment,…
official