Skip to content
Security
Skill

/perform-preflight

Quality gate checklist to run before committing or creating a PR. Use when finishing implementation, checking work quality, or preparing to commit. Triggered by "preflight", "self review", "ready to commit", "check my work", "quality gate".

BOOST
From plugin
ai-plugins
15973 skills4 agents10 commands1 MCP
Install
$ npx -y skills add bitwarden/ai-plugins --skill perform-preflight --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/perform-preflight

Context preview

The summary Claude sees to decide when to auto-load this skill.

Quality gate checklist to run before committing or creating a PR. Use when finishing implementation, checking work quality, or preparing to commit. Triggered by "preflight", "self review", "ready to commit", "check my work", "quality gate".

SKILL.md

perform-preflight.SKILL.md
name: perform-preflight
description: Quality gate checklist to run before committing or creating a PR. Use when finishing implementation, checking work quality, or preparing to commit. Triggered by "preflight", "self review", "ready to commit", "check my work", "quality gate".

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.

Read more
Ships withai-plugins

A curated collection of plugins for AI-assisted development at Bitwarden. Enables discovery and distribution of quality-controlled plugins for use with Claude Code.

Get the whole plugin

Other skills on ai-plugins.