Home / testany-io / testany-agent-skills · plugins/testany-bot/skills/testany-import-git/SKILL.md · GitHub

testany-import-git skillA

testany-import-git is agent-read markdown (skill) from testany-io/testany-agent-skills: Testany Git 导入:把 Git 仓库里的测试脚本批量注册成 Testany platform cases,并持续同步、切 commit、演化 binding、配 webhook.

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 Git Import

把一个 Git 仓库里的测试脚本批量注册成 Testany platform cases,并在后续以 sync / switch / relation 的方式保持与仓库同步。

用户输入: $ARGUMENTS

---

## 核心概念

| 对象 | 说明 |
|------|------|
| **Connection** | 一次 OAuth 授权后得到的 Git 平台身份(当前支持 GitHub)。GitHub 连接下有若干 `installation_bindings`,每个绑定代表一个 GitHub App 安装(owner/org + 可访问 repo 范围)。`installation_id` 是后续浏览仓库的必填入参 |
| **Import History** | 一次导入配置:绑定到某个 connection、某个 repo、某个 ref,决定了"这些文件 ↔ 这些 case"的映射 |
| **File Binding** | import history 下"一个文件 ↔ 一个 case"的绑定记录,是 Testany 上那批 case 的真源 |
| **Sync Record** | 一次同步动作的审计记录(per-file 成功/失败/跳过) |

### import_mode(枚举值必须严格匹配)

**本质差别:后端 auto-diff vs 用户手动选** —— 不是"仓库内容多少是测试"之类的场景判断。

- `managed_import`:镜像仓库、自动 diff。`confirm_git_sync` 触发一次 mirror→binding 的增量落地;新增文件还可以另走 addFiles,上游被删走 sourceDeleted 两阶段确认
- `sync_link`:显式管理 binding 集。**current phase 下 `confirm_git_sync` 不可用**,binding 集演化统一走 addFiles(新增文件)和 sourceDeleted(上游删除)两条关系流。`preview_git_sync` 在这里仅用于查看"已绑定文件相对 last_synced_commit 的变化"

选择建议:想省心 + 信任仓库当 source-of-truth → `managed_import`;想精细控制每次哪些文件入 binding 集 → `sync_link`。不要基于"仓库是否纯测试"这类理由推断。

### sync_mode(枚举值必须严格匹配)

- `latest`:跟随 `tracked_branch` 的 HEAD,每次 sync 自动前进
…

Read the whole file at its exact version.

How to install

Latest version
mdr add testany-io/testany-agent-skills/testany-import-git@git:20260914.a55b8c5
Exact content
mdr add testany-io/testany-agent-skills/testany-import-git@sha256:a5aded19e16e02a8

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_khs566nxikbhhesj.svg)](https://markdownregistry.com/a/art_khs566nxikbhhesj)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260914.a55b8c5 latest2026-09-14 a55b8c5 19,357 BA view · diff
git:20260424.0e6b4a12026-04-24 0e6b4a1 18,203 BA view · diff
git:20260424.21858222026-04-24 2185822 17,505 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 (19357 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_khs566nxikbhhesj
GET https://markdownregistry.com/api/v1/resolve?ref=testany-io/testany-agent-skills/testany-import-git
GET https://markdownregistry.com/api/v1/blob/a5aded19e16e02a8424b1376b78d0dc883f524ef7c28d111fd7da5d21ee64d47

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-writing skill
testany-io/testany-agent-skills · plugins/testany-bot/skills/testany-case-writing/SKILL.md · Testany platform case 编写助手 - 将传统测试场景拆解为 Testany platform cases,并生成可注册的 case packages
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-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.