ProfessorGPTProfessorGPT
Resmi Sağlayıcı Skill'iView repo

Write e2e tests for the SDK — WASM e2e tests in `e2e/wasm`, or Rust integration tests with their own harness (e.g. `bitwarden-shared-unlock/tests`). Use when asked to "add an e2e test", "add an integration test", "test X across the FFI boundary", "test X end to end", reproduce a bug against the built wasm package, or extend the server/client emulator.

Dosyalar1 dosya
SKILL.md163 satır
Loading editor…

Kurulum

Önerilen

Tek komut — ajanınız otomatik olarak devreye alır.

Kurulum komutunu görmek için yukarıdan bir AI aracı seçin.

veya

Manuel Kurulum

Daha fazla adım

Dosyayı indirin ve ajanınızın sistem istemine yapıştırın.

Skill detayları

Versiyonv1.0.0
YazarBitwarden
Kategoricoding
Skill IDbitwarden/sdk-internal/.claude/skills/writing-e2e-tests

İlgili skill'ler

Create TestvectorsRecord a serialized/encrypted format as a permanent test vector. Use when adding a type whose serialization format must stay backward-compatible (envelopes, COSE blobs, encrypted/wire formats), or when the user asks to "create a test vector", "record a serialized format", or "lock in the wire format". Generates output with a temporary ignored test, then pins it in a permanent deserialization unit test.Investigate Crypto BugInvestigate a cryptography bug report (decryption failures, wrong keys, unlock failures, MAC errors, corrupted EncStrings, key rotation/migration issues). Use when the user provides evidence (logs, error messages, stack traces, bug tickets) of a crypto misbehavior and asks to "investigate", "find the root cause", or "reproduce" it. Traces code paths back from each evidence point to form theories, then proves or disproves each with a failing integration test.Bump Rust SdkBump the server's util/RustSdk `bitwarden-crypto` git-rev pin to a bitwarden/clients release — map the client's sdk-internal version to a commit, fix breaking changes, then verify.Implementing Dapper QueriesImplementing Dapper repository methods and stored procedures for MSSQL at Bitwarden. Use when creating or modifying Dapper repositories, writing stored procedures, or working with MSSQL-specific data access in the server repo. Also use when writing MSSQL migration scripts under `util/Migrator/DbScripts/` or touching SSDT schema under `src/Sql/dbo/`.Implementing Ef CoreImplementing Entity Framework Core repositories and migrations for PostgreSQL, MySQL, and SQLite at Bitwarden. Use when creating or modifying EF repositories, generating EF migrations, or working with non-MSSQL data access in the server repo. Also use when editing `EntityTypeConfiguration<T>` classes or debugging provider-specific LINQ translation issues.Writing Server CodeBitwarden server code conventions for C# and .NET. Use when working in the server repo, creating commands, queries, services, or API endpoints. Also use when writing xUnit tests with `SutProvider`/`BitAutoData`, registering DI, or generating entity IDs.