plugins/code-postman/skills/test-methodology/SKILL.md
API 测试方法论知识库。提供系统化的测试用例设计方法:正向测试、反向参数校验、 安全测试和链路测试。每类测试包含用例命名规范、请求数据构造方法和预期结果断言。
npx skillsauth add hicaosen/skills test-methodologyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
本 skill 为 api-testgen agent 的 Phase 3 提供系统化的测试用例设计方法论。Agent 通过读取 references 中的用例设计指南来生成测试方案。
Agent 在设计测试用例时,读取 ${CLAUDE_SKILL_DIR}/references/case-design-guide.md,按优先级 P0→P3 逐类生成用例。
测试方法论分为四个层次:
每层测试都有标准的用例模板和断言要求。
development
VictoriaTraces HTTP API reference for querying distributed traces via Jaeger-compatible API. This skill should be used when searching traces, listing services/operations, getting trace details by ID, querying service dependencies, constructing HTTP requests to VictoriaTraces, or working with Jaeger API endpoints for distributed tracing analysis.
development
VictoriaMetrics HTTP API reference for querying metrics, exporting/importing data, TSDB stats, and administrative operations. This skill should be used when constructing HTTP requests to VictoriaMetrics, understanding query endpoints (/api/v1/query, /api/v1/query_range, /api/v1/export, /api/v1/import), response formats, checking cardinality, creating snapshots, or integrating with VictoriaMetrics API.
development
VictoriaLogs HTTP API reference for querying logs, hits stats, field discovery, live tailing, and log statistics. This skill should be used when constructing HTTP requests to VictoriaLogs, understanding query endpoints (/select/logsql/query, /select/logsql/tail, /select/logsql/hits, /select/logsql/field_names), response formats, or integrating with VictoriaLogs API for log search and analysis.
testing
PromQL query language fundamentals for Prometheus and Prometheus-compatible systems. Use for understanding PromQL instant/range vectors, label matchers, aggregation operators, offset/@ modifiers, or when targeting non-VictoriaMetrics Prometheus systems. For VictoriaMetrics-specific features like default_rollup, rollup, or outlier detection, use the metricsql skill.