test-case-writing

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Test Case Writing (English)

测试用例编写(英文)

中文版: 见对应中文技能。
中文版: 见对应中文技能。

When to Use

使用场景

  • Need help with test case writing in a real project context.
  • Need an output that can be used directly for execution, review, or follow-up.
  • 在实际项目场景中需要协助编写测试用例时。
  • 需要可直接用于执行、评审或后续跟进的输出结果时。

Output Format Options

输出格式选项

Markdown by default. If you need Excel, CSV, JSON, Word, or other supported formats, append the format request at the end and check output-formats.md.
默认格式为Markdown。如果需要Excel、CSV、JSON、Word或其他支持的格式,请在末尾附加格式请求并查看output-formats.md

How to Use

使用方法

  1. Open
    prompts/test-case-writing.md
    and use it as the main prompt.
  2. Add the real project context: scope, environment, constraints, risks, dependencies, and expected deliverable.
  3. If the input is incomplete, return a usable first version and mark missing information and assumptions.
  1. 打开
    prompts/test-case-writing.md
    并将其作为主提示词。
  2. 添加实际项目上下文:范围、环境、约束条件、风险、依赖关系以及预期交付物。
  3. 如果输入信息不完整,返回可用的第一版内容,并标记缺失的信息和假设条件。

Reference Files

参考文件

  • prompts/test-case-writing.md
    : main prompt for this skill.
  • output-formats.md
    : optional output format instructions.
  • references/
    : supporting notes loaded only when needed.
  • scripts/
    : helper scripts or converters for this skill.
  • prompts/test-case-writing.md
    :本Skill的主提示词文件。
  • output-formats.md
    :可选输出格式说明。
  • references/
    :仅在需要时加载的支持性笔记。
  • scripts/
    :本Skill的辅助脚本或转换器。

Common Pitfalls

常见误区

  • Do not use it with vague scope and no context.
  • Do not treat every area as equally important.
  • Do not skip assumptions and missing information.
  • 不要在范围模糊且无上下文的情况下使用。
  • 不要将所有领域视为同等重要。
  • 不要忽略假设条件和缺失的信息。

Best Practices

最佳实践

  • Start from the prompt file, then add only the context that matters.
  • Keep the output risk-driven and executable.
  • If the request is incomplete, return a usable first version and mark gaps.
  • 从提示词文件开始,仅添加重要的上下文信息。
  • 保持输出内容以风险为导向且可执行。
  • 如果请求信息不完整,返回可用的第一版内容并标记空白部分。