chai 6.x
Use Chai 6 as an ESM-only assertion library, including its expect, assert, should, plugin, configuration, and Assertion extension surfaces.
- For
chai@6.2.2- Verified
- 2026-09-08, 5 examples executed
- Package
@modootoday/pmcp-chai@6.0.0
What it covers
- Runtime and module shape
- Assertion styles
- `assert`
- `expect`
- `should`
- Plugins
- Extending `Assertion`
- Configuration
- Register entry points
- Common migration mistakes
- Not covered by this skill
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import nodeAssert from 'node:assert/strict';
import { assert } from 'chai';
assert('foo' !== 'bar', 'foo is not bar');
assert(Array.isArray([]), 'empty arrays are arrays');
nodeAssert.equal(1 + 1, 2);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-chai
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.