api-tester SKILL.md skillA

api-tester from chainlesschain/chainlesschain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add chainlesschain/chainlesschain/api-tester@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
chainlesschain/chainlesschain
Path
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-tester/SKILL.md
Versions recorded
5
Latest version
v1.0.0, committed Sep 20, 2026
First version recorded
Jun 3, 2026
Size
3,508 bytes
Repository stars
11
License
a license file GitHub does not identify

API测试技能 - IPC处理器发现、测试生成、健康检查、回归测试.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# API 测试技能

## 描述

自动发现和测试 IPC 处理器及 REST API 端点。扫描源代码中的 `ipcMain.handle()` 注册,生成测试用例,执行健康检查和回归测试。

## 使用方法

```
/api-tester [操作] [目标路径] [选项]
```

## 操作

### 发现 IPC 处理器

```
/api-tester --discover src/main/
```

扫描所有源文件,提取:

- `ipcMain.handle('channel', handler)` 注册
- `ipcMain.on('channel', handler)` 监听器
- 处理器的参数签名和返回类型推断
- 模块归属和依赖关系

### 生成测试

```
/api-tester --generate src/main/audit/audit-ipc.js
```

为每个发现的处理器生成:

- 正常路径测试(有效输入 → 期望输出)
- 参数验证测试(缺失/无效参数 → 错误响应)
- Mock 注入(数据库、文件系统、外部服务)
- 边界条件测试
- 超时和并发测试

### 健康检查

```
/api-tester --health-check all
```

对所有已注册的 IPC 通道执行:

- 可达性检查(通道是否注册)
- 参数验证检查(空参数调用)
- 响应格式验证
- 响应时间测量

### 回归测试

```
/api-tester --regression src/main/marketplace/marketplace-ipc.js
```

基于已有测试用例:

- 运行所有相关测试
- 对比响应与基线快照
- 报告变化和异常

## 输出格式

### 发现报告

```
IPC Handler Discovery Report
=============================
Total handlers: 200+
By module:
  audit-ipc.js: 18 handlers
  marketplace-ipc.js: 22 handlers
  skills-ipc.js: 5 handlers
  ...
```

### 测试生成

生成可直接运行的 Vitest 测试文件:

```javascript
describe("audit-ipc handlers", () => {
  it("audit:get-logs should return paginated logs", async () => {
    // ...
  });
});
```

## 示例

发现所有 IPC 处理器:

```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add chainlesschain/chainlesschain/api-tester@sha256:8a1c51af71b1211d

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qc32xukbxyrxuzah.svg)](https://markdownregistry.com/a/art_qc32xukbxyrxuzah)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 3, 2026 and Sep 20, 2026, about one every 27 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-20 cd22167 3,508 BA view · diff
v1.0.02026-09-20 cb427e3 3,509 BA view · diff
v1.0.02026-08-28 44248c7 3,510 BA view · diff
v1.0.02026-08-28 c29953e 3,493 BA view · diff
v1.0.02026-06-03 3b0b2dc 3,401 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3508 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

chainlesschain/chainlesschain · 11 stars · license a license file GitHub does not identify · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qc32xukbxyrxuzah
GET https://markdownregistry.com/api/v1/resolve?ref=chainlesschain/chainlesschain/api-tester
GET https://markdownregistry.com/api/v1/blob/8a1c51af71b1211dcb31c32c2be1c2edfb8b29e71edbd38194f6e9d4e3c59d03

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from chainlesschain/chainlesschain

cc-cli SKILL.md skill
chainlesschain/chainlesschain · .claude/skills/cc-cli/SKILL.md · Invoke ChainlessChain `cc` CLI commands from natural language. Triggers when the user wants to run any `cc …` action…
git:20260618.4898c75 · audit A · 11 stars
pdh-android-collect SKILL.md skill
chainlesschain/chainlesschain · .claude/skills/pdh-android-collect/SKILL.md · Collect a rooted Android device's real personal data into the Personal Data Hub (PDH) vault to feed the user's…
git:20260618.58d3bd9 · audit A · 11 stars
AGENTS.md AGENTS.md file
chainlesschain/chainlesschain · AGENTS.md
git:20261023.f06ee98 · audit A · 11 stars
CLAUDE.md CLAUDE.md file
chainlesschain/chainlesschain · CLAUDE.md
git:20260920.96ab90a · audit A · 11 stars
ab-compare SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/ab-compare/SKILL.md · Generate and compare multiple implementation variants with benchmarking and scoring
v1.0.0 · audit A · 11 stars
agent-browser SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/agent-browser/SKILL.md · Advanced browser automation for AI agents with snapshot-ref interaction pattern - navigate, snapshot interactive…
v1.0.0 · audit A · 11 stars
api-design SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-design/SKILL.md · Design RESTful APIs with best practices, conventions, and OpenAPI specs
v1.0.0 · audit A · 11 stars
api-docs-generator SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-docs-generator/SKILL.md · Generate API documentation from code - produce OpenAPI/Swagger specs, Markdown API references, request/response…
v1.0.0 · audit A · 11 stars
api-gateway SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-gateway/SKILL.md · Universal API gateway - connect to 100+ APIs with a unified interface, manage API keys, and chain API calls
v1.2.0 · audit A · 11 stars
architect-mode SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/architect-mode/SKILL.md · 双阶段架构模式 - 先规划后编辑,分离推理与代码修改,提升多文件编辑准确率
v1.0.0 · audit A · 11 stars
audio-transcriber SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/audio-transcriber/SKILL.md · Speech-to-text transcription using Whisper API or local engine
v1.0.0 · audit A · 11 stars
auto-context SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/auto-context/SKILL.md · 智能上下文检测 - 自动识别AI所需的文件、函数和上下文,优化token使用
v1.0.0 · audit A · 11 stars

Every file in chainlesschain/chainlesschain

Other files named api-tester

api-tester SKILL.md skill
laolaoshiren/claude-code-skills-zh · skills/api-tester/SKILL.md · 依据真实 OpenAPI、路由实现和现有测试生成并验证 API 测试。用于用户要求测试接口、补集成测试、验证 API 契约、生成回归用例或排查接口兼容性时;区分“生成测试”和“执行请求”的授权,不猜测状态码、响应结构或…
git:20260716.e06495d · audit A · 869 stars
api-tester SKILL.md skill
dannykkh/skill-olympus · skills/api-tester/SKILL.md · API 연동 테스트 스킬. 프론트-백엔드 통신 검증, 프록시 설정 확인, CORS, JWT 토큰, 에러 응답, 파일 업로드 테스트. "API 테스트해줘"로 실행.
git:20261002.d0b4bfd · audit A · 7 stars
api-tester SKILL.md skill
vodouai/os · skills/agents/testing/api-tester/SKILL.md · Expert API testing agent that designs test suites, validates endpoints, tests contracts, and builds integration and…
v1.0.0 · audit A · 1 stars

Browse by kind, by grade A, or by owner.