ProfessorGPTProfessorGPT
Official Provider SkillView 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.

Files1 files
SKILL.md163 lines
Loading editor…

Install

Recommended

One command — your agent picks it up automatically.

Select an AI agent above to see the install command.

or

Manual Install

More steps

Download the file and paste it into your agent's system prompt.

Skill details

Versionv1.0.0
AuthorBitwarden
Categorycoding
Skill IDbitwarden/sdk-internal/.claude/skills/writing-e2e-tests

Related skills

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.