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

v1.0.0

关于此技能

Confluent for Visual Studio Code

# 核心主题

confluentinc confluentinc
[35]
[18]
更新于: 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
Review Score
3/11
Quality Score
54
Canonical Locale
en
Detected Body Locale
en

Confluent for Visual Studio Code

核心价值

Confluent for Visual Studio Code

适用 Agent 类型

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

赋予的主要能力 · mocha

! 使用限制与门槛

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - 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.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 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

mocha 是什么?

Confluent for Visual Studio Code

如何安装 mocha?

运行命令:npx killer-skills add confluentinc/vscode/mocha。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

mocha 支持哪些 IDE 或 Agent?

该技能兼容 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。可使用 Killer-Skills CLI 一条命令通用安装。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add confluentinc/vscode/mocha。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    mocha 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

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

安装 mocha,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

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

相关技能

寻找 mocha 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

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

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具