Skip to content
Back to skills

Chai

ASecurity

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.

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
developmentjavascriptjavatestinggitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill chai --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chai?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Chai
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-chai/badge)](https://www.skillsdirectory.com/skills/bytesagain-chai)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: chai
version: 1.0.0
description: >
  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.
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: [chai, testing, assertion, bdd, tdd, javascript, mocha]
---

# Chai Reference

BDD/TDD assertion library for JavaScript.

## Commands

| Command | Description |
|---------|-------------|
| `intro` | Overview, styles, plugins |
| `expect` | Expect API, matchers |
| `advanced` | Errors, promises, HTTP, custom |

Files in this skill

  • SKILL.md727 B
  • scripts/script.sh6.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…