mocha — apache-flink vscode, community, apache-flink, ide skills, apache-kafka, confluent, confluent-cloud, confluent-platform, kafka-consumer, kafka-producer

v1.0.0

About this Skill

Confluent for Visual Studio Code

# Core Topics

confluentinc confluentinc
[35]
[18]
Updated: 4/17/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 3/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Quality floor passed for review Locale and body language aligned
Review Score
3/11
Quality Score
54
Canonical Locale
en
Detected Body Locale
en

Confluent for Visual Studio Code

Core Value

Confluent for Visual Studio Code

Ideal Agent Persona

Suitable for operator workflows that need explicit guardrails before installation and execution.

Capabilities Granted for mocha

! Prerequisites & Limits

Why this page is reference-only

  • - The page lacks a strong recommendation layer.
  • - The page lacks concrete use-case guidance.
  • - The page lacks explicit limitations or caution signals.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is mocha?

Confluent for Visual Studio Code

How do I install mocha?

Run the command: npx killer-skills add confluentinc/vscode. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

Which IDEs are compatible with mocha?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add confluentinc/vscode. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use mocha immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

mocha

Install mocha, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Mocha Documentation Lookup

This skill helps look up Mocha test runner APIs, patterns, and best practices for writing unit tests in this project.

Sources

Mocha Documentation

The official docs are a single-page site at https://mochajs.org/:

TopicAnchorUse For
Getting Started#getting-startedBasic test structure
Assertions#assertionsAssertion library integration
Async Tests#asynchronous-codePromises, async/await, callbacks
Hooks#hooksbefore, after, beforeEach, afterEach
Pending Tests#pending-testsTests without implementation
Exclusive Tests#exclusive-tests.only usage (dev only, never commit)
Inclusive Tests#inclusive-tests.skip usage
Retry Tests#retry-teststhis.retries() for flaky tests
Timeouts#timeoutsSuite and test-level timeout configuration
Interfaces#interfacesBDD, TDD, exports, QUnit styles
Root Hook Plugins#root-hook-pluginsGlobal setup/teardown

Process

1. Understand the Question Context

Determine whether the user needs:

  • API reference: Exact hook behavior, configuration options, CLI flags
  • Pattern guidance: How to structure tests, organize suites, handle async
  • Troubleshooting: Timeout issues, hook ordering, test isolation
  • Best practices: Project-specific conventions

2. Check Project Conventions First

Before fetching external docs, review the project's unit testing conventions from CLAUDE.md:

  • Co-located .test.ts files using Mocha + Sinon + assert
  • Focus on isolated behavior, mocking external dependencies
  • Common stubs go in the top-level describe block
  • No .only left in committed code
  • Don't test side effects like logging
  • Run tests: npx gulp test or npx gulp test -t "test name"

3. Fetch Documentation

Mocha docs are a single long page — use targeted prompts:

WebFetch: https://mochajs.org/
Prompt: "Find the documentation about [hooks / async tests / timeouts / etc.]"

For specific features or newer APIs, supplement with web search:

WebSearch: "mocha root hook plugin setup example"
WebSearch: "mocha beforeEach async teardown pattern"

4. Look at Existing Test Examples

When the user needs pattern guidance, look at how the project structures its tests:

bash
1# Find test files 2find src -name "*.test.ts" | head -10 3 4# Find tests using specific patterns 5grep -r "beforeEach" --include="*.test.ts" -l src/ | head -5 6grep -r "describe(" --include="*.test.ts" -l src/ | head -5

Read 1-2 relevant test files to show project-specific patterns alongside official docs.

Output Format

API Reference

markdown
1## Mocha: [feature] 2 3### API 4 5[Description and behavior from docs] 6 7### Example 8 9[Code example from docs or adapted to project patterns] 10 11### Project Usage 12 13[How this is typically used in the project, with file references if found]

Pattern Guidance

markdown
1## Pattern: [description] 2 3### From the Docs 4 5[Official recommended approach] 6 7### In This Project 8 9[How the project implements this pattern, with examples from existing tests] 10 11### Key Points 12 13- [Important considerations] 14- [Common pitfalls to avoid]

Common Lookup Patterns

  • Structure: describe(), it(), context()
  • Hooks: before(), after(), beforeEach(), afterEach()
  • Control: .only, .skip, this.timeout(), this.retries()
  • Async: async/await, returning Promises, done callback
  • Nesting: Nested describe blocks for organizing related tests
  • Dynamic Tests: Generating tests in loops

Tips

  • Mocha docs are a single long page — use targeted WebFetch prompts to extract the relevant section
  • The project uses Node.js assert (not Chai) — adapt any Chai-based examples from docs to use assert.strictEqual, assert.deepStrictEqual, assert.ok, etc.
  • Hook execution order matters: before runs once per describe, beforeEach runs before every it — the project convention is to put common stubs in the top-level describe's beforeEach
  • Never commit .only — it restricts the test run. Use npx gulp test -t "name" for focused runs instead
  • When answering "how to run tests" questions, reference the project's gulp commands rather than bare mocha CLI since the project uses @vscode/test-cli for test execution

Related Skills

Looking for an alternative to mocha or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer