Generates Mocha tests in JavaScript with Chai assertions and Sinon mocking. Use when user mentions "Mocha", "Chai", "sinon", "describe/it (not Jest)". Triggers on: "Mocha", "Chai", "sinon", "mocha test".
Install
npx skills add LambdaTest/agent-skills --skill mocha-skillnpx skills add LambdaTest/agent-skills --skill mocha-skill -a claude-code -gnpx skills add LambdaTest/agent-skills --skill mocha-skill -a codex -ggemini skills install https://github.com/LambdaTest/agent-skills.git --path mocha-skillgh skill install LambdaTest/agent-skills mocha-skillgit clone --depth 1 https://github.com/LambdaTest/agent-skills /tmp/LambdaTest__agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/LambdaTest__agent-skills/mocha-skill ~/.claude/skills/mocha-skill # Claude Code
cp -R /tmp/LambdaTest__agent-skills/mocha-skill ~/.agents/skills/mocha-skill # Codex, Cursor, Gemini CLI, Copilot, OpenCode