Code review testing

From wordbricks/onequery · View interactive version

Code review testing is an AI agent skill from the GitHub repository wordbricks/onequery. Test authoring guidance

How to use this skill

Skill file

For behavior changes prefer integration tests over unit tests. Integration tests are colocated as *.integration.test.ts and use existing helpers near the touched code.

Features that change workflows, Connect services, routes, storage, or CLI behavior MUST add or update a test:

If unit tests are needed, put them in a dedicated test file (*.test.ts; Rust CLI code uses *_tests.rs).

Avoid test-only functions in the main implementation.

Check whether there are existing helpers to make tests more streamlined and readable.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.