devlab-srv-test-api

devlab-srv-test-api is a skill for Claude Code, Codex from seed-forge/harness-ai-kit. It costs 49 tokens per session (4,607 once invoked), scanned A, original, Apache-2.0.

A backend API testing guide for Java, Python, and Node.js services. It covers REST and GraphQL APIs, which let software exchange requests and data, plus OpenAPI documents that describe those interfaces.

In plain words
What is it for?
Use it to extract test cases from API specifications, test request and response schemas, create mock services and test data, and test authentication or microservice integrations.
Why use it?
It reduces the manual work of checking whether endpoints, authentication, permissions, data consistency, and service interactions behave as expected. It also supports mock services, so tests can run without every dependent service being available.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/seed-forge/harness-ai-kit/devlab-srv-test-api
Any agent
npx skills add seed-forge/harness-ai-kit --skill devlab-srv-test-api
Clone the repo
git clone --depth 1 https://github.com/seed-forge/harness-ai-kit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for devlab-srv-test-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/devlab-srv-test-api.svg)](https://agentmods.dev/skills/seed-forge/harness-ai-kit/devlab-srv-test-api)
Your own site
<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/devlab-srv-test-api"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/devlab-srv-test-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00049 $0.04607
Opus 5 $0.00024 $0.02303
Sonnet 5 $0.00010 $0.00921
Haiku 4.5 $0.00005 $0.00461

Measured 4d ago against content hash dce7a26aca20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

devlab-srv-test-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/devlab-srv-test-api/SKILL.md · 679 lines

How it starts

The opening of the file, as written. The whole thing — 679 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Service API 测试专家技能

专注后端微服务 API 的自动化测试能力。

支持 REST/GraphQL/OpenAPI 规范的接口测试,覆盖身份认证、数据一致性、链路追踪等核心场景。


触发条件

当用户提到以下关键词时触发此 Skill:

  • "API 测试" / "接口测试" / "interface testing"
  • "OpenAPI 测试" / "Swagger 测试"
  • "微服务集成测试" / "microservice integration test"
  • "REST API 验证" / "GraphQL schema test"
  • "认证授权测试" / "authn/authz testing"

技术栈依赖

核心 CLI

# Node.js 环境
npm install -D jest supertest supertest-fetch

# Python 环境(可选)
pip install pytest requests-mock

# Java 环境(可选)
mvn add dependency:rest-assured

辅助工具

# Mock Server(推荐)
npm install -D msw

# 数据生成
npm install -D faker @faker-js/faker

# Schema 验证
npm install -D ajv zod

功能范围

Phase 1: API Schema 分析与测试点提取

输入

  • OpenAPI/Swagger YAML 文档
  • (可选)现有 API 客户端代码
  • (可选)业务需求描述

输出

  • specs/api-endpoints.md — 接口清单与测试点
  • specs/data-contracts.md — 数据模型定义
  • specs/auth-scenarios.md — 认证授权场景
Step 1.1: OpenAPI 解析算法
interface OpenAPIAnalysis {
  endpoints: {
    method: 'GET' | 'POST' | 'PUT' | 'DELETE';
    path: string;
    operationId: string;
    summary: string;
    parameters: Parameter[];
    requestBody?: RequestBody;
    responses: Response[];
    security?: SecurityRequirement[];
  }[];
  
  schemas: {
    [key: string]: {
      type: 'object' | 'array' | 'string' | 'number' | 'boolean';
      properties?: Record<string, any>;
      required?: string[];
    };
  };
  
  securitySchemes: {
    [key: string]: {
      type: 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
      scheme?: string;
      bearerFormat?: string;
    };
  };
}
Step 1.2: 测试用例生成规则
维度 测试类型 示例
HTTP Method CRUD 覆盖 GET/POST/PUT/DELETE
Authentication 权限验证 未登录/普通用户/管理员
Query Params 分页过滤排序 ?limit=10&offset=20
Path Params 边界值验证 /users/{invalid-id}
Request Body 必填字段验证 缺失 email/password
Response Codes 状态码断言 200/400/401/404/500
Data Integrity 一致性校验 POST after GET shows new record

Read the full file on GitHub · 679 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 679 lines · 49 tokens per session scan A dce7a26aca20

Subscribe to this mod's changes

devlab-srv-test-api is a skill published in the GitHub repository seed-forge/harness-ai-kit (21 stars, last pushed 7d ago), licensed Apache-2.0. It adds 49 tokens to every session and 4,607 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

auth-web-cloudbase

CloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication solutions with multiple login methods and complete user management.

TencentCloudBase/CloudBase-AI-Toolkit · 38 tokens

browse-and-evaluate

Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.

MoizIbnYousaf/Ai-Agent-Skills · 43 tokens

loop-engineering

Shared loop-engineering reference for COG skills - the agent loop, deterministic verifiers, termination conditions, in-loop context management, and named patterns. Invoke when designing or debugging a skill that iterates (search-verify-retry, scan-until-dry, fetch-retry-gate).

huytieu/COG-second-brain · 63 tokens

telnyx-messaging-hosted-curl

Set up hosted SMS numbers, toll-free verification, and RCS messaging. Use when migrating numbers or enabling rich messaging features. This skill provides REST API (curl) examples.

team-telnyx/ai · 45 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the brand-color canvas, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed at…

gooseworks-ai/goose-skills · 159 tokens