Chai

From bytesagain/ai-skills · View interactive version

Chai is an AI agent skill from the GitHub repository bytesagain/ai-skills. Chai BDD/TDD assertion library reference for JavaScript testing. Covers expect/should/assert styles, deep equality, type checks, string/array/object matchers, error assertions, chai-as-promised, chai-http for API testing, sinon-chai, and custom assertions.

How to use this skill

Skill file

Chai Reference

BDD/TDD assertion library for JavaScript.

Commands

| Command | Description |

|---------|-------------|

| intro | Overview, styles, plugins |

| expect | Expect API, matchers |

| advanced | Errors, promises, HTTP, custom |

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.