Skip to content
Back to skills

Performance Test K6

ASecurity

Use this skill when you need k6 load/stress/spike/soak scope, scripts, or runnable entry points; triggers include k6、k6 性能测试 and k6 performance testing.

  • 313 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 6, 2026
ai-agentsgotestinggitperformance

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add naodeng/awesome-qa-skills --skill performance-test-k6 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Test K6?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Performance Test K6
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/naodeng-performance-test-k6-awesome-qa-skills/badge)](https://www.skillsdirectory.com/skills/naodeng-performance-test-k6-awesome-qa-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: performance-test-k6
description: Use this skill when you need k6 load/stress/spike/soak scope, scripts, or runnable entry points; triggers include k6、k6 性能测试 and k6 performance testing.
license: PolyForm-Noncommercial-1.0.0
metadata:
  version: "1.0.0"
  compatibility: ""
  author: "Awesome QA Skills contributors"
  language: "zh-CN"
  category: "testing-types"
  source: "https://github.com/naodeng/awesome-qa-skills"
  license-url: "https://polyformproject.org/licenses/noncommercial/1.0.0"
---

# 性能测试(k6)(中文版)

**英文版:** 见对应英文技能。

## 何时使用

- 需要把性能测试结果落到 k6 结构里。
- 项目已经在用 k6,或希望输出直接适配 k6。

## 执行流程

1. 阅读并遵循「按需加载」中的主提示词(覆盖清单、输出结构、质量要求)。
2. 只补充真正影响结果的项目上下文:范围、环境、限制、风险、依赖、期望产出。
3. 信息不全时先给可用初版,并显式标出假设与信息缺口。
4. 默认 Markdown;用户指定其他格式时再切换。

## 核心约束

- 按风险/业务影响排优先级,不要平均摊铺。
- 把「已确认事实」和「当前假设」分开写;无 SLA/无流量时所有数字标「假设」并给待确认清单。
- 不要编造用户未提供的接口、字段、环境或根因细节;密钥只用占位符 / `__ENV`,禁止真实 token。
- 结果必须可执行:场景具体、有优先级、能指导下一步。
- 默认只选最关键的 1~2 类性能场景,不要默认基线/负载/压力/尖峰/稳定性全做。

## 按需加载

- 产出前必须阅读并遵循 `prompts/performance-test-k6.md`(最低覆盖清单、输出结构、质量要求)。
- 需要套用现成模板时:读 `output-templates/` 中匹配的模板,不要自创冲突结构。
- 用户要示例或对标现有资产时:读 `examples/` 中相关样例。
- 需要框架规范、排障、报告 schema 等深资料时:只读 `references/` 里与当前问题相关的文件,不要整目录通读。
- 需要格式转换或辅助校验时:优先使用 `scripts/` 中已有脚本,而不是重写一遍。
- 需要评测/回归本 skill 时:使用 `evals/`,并用 skill-up 校验与运行。

## 交付前自检

- [ ] 已遵循主提示词的输出结构
- [ ] 最低覆盖关注:目标场景、负载模型、数据需求、VU 或时长配置、阈值、环境和监控、重点瓶颈、结果汇报需求…(细节以主提示词为准)
- [ ] 已覆盖最低清单,或标明为何省略
- [ ] 高风险项有明确优先级
- [ ] 未编造用户未提供的细节
- [ ] 假设与信息缺口已标明

## 常见误区

- 范围和上下文都不清楚时,不要假装已经完整可用。
- 不要把所有项写成同等重要。
- 不要跳过假设与信息缺口。
- 不要输出大段与当前工具链无关的空泛理论。

Files in this skill

  • README.md797 B
  • SKILL.md2.9 KB
  • agents/openai.yaml479 B
  • evals/cases/basic-success.yaml999 B
  • evals/cases/edge-incomplete-input.yaml578 B
  • evals/cases/edge-risk-priority.yaml608 B
  • evals/cases/review-closed-model-control.yaml936 B
  • evals/cases/review-offline-arrival-artifacts.yaml872 B
  • evals/eval.yaml664 B
  • evals/fixtures/load-profile.md277 B
  • evals/graders/review-offline-arrival-artifacts.py4.8 KB
  • examples/seckill-sample.env220 B
  • output-templates/template-markdown.md91 B
  • prompts/performance-test-k6.md8 KB
  • references/framework-spec.md368 B
  • references/local/performance-testing.md498 B
  • reports/.gitignore87 B
  • reports/README.md1.1 KB
  • scripts/config.js738 B
  • scripts/helpers.js777 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.