k6-docs

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

k6 Documentation

k6文档

Document or review k6 features across three repositories: k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes).
在三个代码库中记录或审阅k6功能:k6-DefinitelyTyped(TypeScript类型定义)、k6-docs(用户文档)和k6(发布说明)。

Workflow

工作流程

Based on user's action, follow the appropriate workflow:
  • Write Documentation: Complete write workflow
  • Review Documentation: Complete review workflow
根据用户的操作,遵循相应的工作流程:
  • 编写文档: 完整编写工作流程
  • 审阅文档: 完整审阅工作流程

Quick References

快速参考

  • Repository structure & feature type identification
  • TypeScript patterns & troubleshooting
  • Testing workflow with parallel subagents
  • agent-browser command reference
  • Troubleshooting guide
  • 代码库结构与功能类型识别
  • TypeScript模式与故障排查
  • 并行子Agent测试工作流程
  • agent-browser命令参考
  • 故障排查指南

Critical Rules

关键规则

  • Never push automatically - always ask first
  • Never chain commands with
    &&
    or
    ;
    - run each command separately (prevents failures)
  • Only document user-facing features - not internal implementation
  • Use
    1.
    for all numbered list items (not 1., 2., 3.)
  • Test with k6@master: first
    cd /path/to/k6
    , then
    go run . run script.js
    for each example
  • No "Co-Authored-By: Claude" or AI attribution
  • 切勿自动推送 - 务必先询问
  • 切勿用
    &&
    ;
    串联命令 - 单独运行每个命令(避免失败)
  • 仅记录面向用户的功能 - 不涉及内部实现
  • 所有编号列表项使用
    1.
    (而非1.、2.、3.)
  • 使用k6@master进行测试:先执行
    cd /path/to/k6
    ,然后对每个示例执行
    go run . run script.js
  • 不要添加“Co-Authored-By: Claude”或AI署名