Home / testany-io / testany-agent-skills · plugins/testany-bot/skills/testany-case-writing/SKILL.md · GitHub

testany-case-writing skillA

testany-case-writing is agent-read markdown (skill) from testany-io/testany-agent-skills: Testany platform case 编写助手 - 将传统测试场景拆解为 Testany platform cases,并生成可注册的 case packages.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Testany Platform Case Writing

将传统测试场景拆解为 **Testany platform cases**,并生成可注册到 Testany 平台的脚本、metadata 和 ZIP 包。

用户输入: $ARGUMENTS

---

## 宿主能力适配

- 按 [整体目标与交接](../testany-guide/references/task-handoff.md) 保留用户目标、授权、产物路径与真实状态。跨 skill 分工不等于停止;已授权的完整目标在当前对话接续,只要本地包则到包交付为止。
- 如果宿主支持 slash command,可把 `testany-case` 作为推荐注册入口,把 `testany-pipeline` 作为推荐编排入口。
- 如果宿主不支持 slash command,则直接在当前线程继续对应 workflow。

---

## 上游输入优先级

按以下优先级选择输入模式:

1. **Primary:approved Test Spec + `Testany Automation Handoff`**
   - 来自 `testany-eng`
   - `Testany Automation Handoff.status = ready | partial`
   - 这是本 skill 的首选输入
2. **Secondary:approved Test Spec,但没有 handoff**
   - 可以继续,但需要自己补做 scenario grouping / executor / split decisions
3. **Fallback:用户自然语言 / 现有测试设计文档**
   - 仅在前两者都没有时使用

如果输入来自 Test Spec,优先参考:

- `../../../testany-eng/references/testany-automation-handoff-contract.md`
- `Testany Automation Handoff` section 中的 `scenario_groups`
- `source_case_ids`、`recommended_executor`、`platform_case_strategy`

若输入 Test Spec 仍是 `draft` / `in_review`:

- 默认不要直接把它当正式自动化基线
- 应先建议用户完成 `testany-eng` 的 `/test-reviewer`
- 只有当用户明确接受 exploratory / 草案态自动化拆分时,才继续,并显式标注为低置信度

---

## 先统一心智模型
…

Read the whole file at its exact version.

How to install

Latest version
mdr add testany-io/testany-agent-skills/testany-case-writing@git:20260914.a55b8c5
Exact content
mdr add testany-io/testany-agent-skills/testany-case-writing@sha256:fa4295b0f3b70866

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mw3yug7d7qxehwu6.svg)](https://markdownregistry.com/a/art_mw3yug7d7qxehwu6)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260914.a55b8c5 latest2026-09-14 a55b8c5 12,685 BA view · diff
git:20260424.0e6b4a12026-04-24 0e6b4a1 11,337 BA view · diff
git:20260402.509d31b2026-04-02 509d31b 10,683 BA view · diff
git:20260309.8b36bda2026-03-09 8b36bda 8,509 BA view · diff
git:20260307.13074722026-03-07 1307472 9,771 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12685 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

testany-io/testany-agent-skills · 82 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mw3yug7d7qxehwu6
GET https://markdownregistry.com/api/v1/resolve?ref=testany-io/testany-agent-skills/testany-case-writing
GET https://markdownregistry.com/api/v1/blob/fa4295b0f3b708669c97f8c45fe4b5a54afbdb2346c0e6575f1c5a5200906884

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from testany-io/testany-agent-skills

AGENTS.md agents
testany-io/testany-agent-skills · AGENTS.md
git:20260924.8cef21d · audit A · 82 stars
CLAUDE.md claude
testany-io/testany-agent-skills · CLAUDE.md
git:20260914.a55b8c5 · audit A · 82 stars
skill-manager skill
testany-io/testany-agent-skills · plugins/skilldock/skills/skill-manager/SKILL.md · 打开 SkillDock 本地 GUI,浏览和管理 Codex skills、plugins 与 marketplace 来源;适用于技能库、安装更新、启禁、移除恢复的可视化管理。普通任务只需使用某个 skill 时不触发。
git:20260923.048c4b0 · audit A · 82 stars
AGENTS.md@plugins/teamdesk agents
testany-io/testany-agent-skills · plugins/teamdesk/AGENTS.md
git:20260924.789f9d4 · audit A · 82 stars
team-workspace skill
testany-io/testany-agent-skills · plugins/teamdesk/skills/team-workspace/SKILL.md · Open and operate TeamDesk, a local AI team workspace built on existing Codex tasks. Use for 打开 AI 团队工作台、创建或绑定 AI…
git:20260924.4350616 · audit A · 82 stars
testany-sync-case-env-from-source skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/SKILL.md · 从 OpenAPI 生成的 Testany case 源代码中自动识别入参和出参,并同步到 case 的环境变量列表中。适用于源代码存储在需要认证的 Git 仓库(如 Bitbucket)的场景。
git:20260914.a55b8c5 · audit A · 82 stars
testany-case skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/testany-case/SKILL.md · Testany platform case 注册与 CRUD - 将已准备好的 platform case package 注册到平台,并管理 metadata、脚本与生命周期
git:20260914.a55b8c5 · audit A · 82 stars
testany-debug skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/testany-debug/SKILL.md · 分析 Testany 测试失败原因 - 排查问题、查看日志、定位根因;处理签名日志前先单独加载本 skill,勿回显原始请求。
git:20260914.a55b8c5 · audit A · 82 stars
testany-execution skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/testany-execution/SKILL.md · Testany execution 观测与管理 - 查看进度、查询历史、刷新状态、取消未开始执行、将失败执行交给 debug
git:20260914.a55b8c5 · audit A · 82 stars
testany-guide skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/testany-guide/SKILL.md · Testany 平台核心概念和配置参考
git:20260914.a55b8c5 · audit A · 82 stars
testany-import-git skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/testany-import-git/SKILL.md · Testany Git 导入:把 Git 仓库里的测试脚本批量注册成 Testany platform cases,并持续同步、切 commit、演化 binding、配 webhook
git:20260914.a55b8c5 · audit A · 82 stars
testany-pipeline skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/testany-pipeline/SKILL.md · Testany pipeline 编排与 CRUD - 基于 automation design 或现有 case keys 创建执行与编排单元
git:20260914.a55b8c5 · audit A · 82 stars

Every file in testany-io/testany-agent-skills

Browse by kind, by grade A, or by owner.