REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Computer-Use SDK for E2E QA Testing
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/testdriverai-testdriverai)在同一工作中把 AI 连到服务的 MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
同类工作,排序与 Skill 列表相同
| 本项 testdriverai | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | testdriverai | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 115 | 1 | 1 | 1 | 1 |
| GitHub 星标 | 357 | 463,670 | 233,682 | 148,887 | 143,987 |
| 最近代码更新 | 2026年9月21日 | 2026年11月17日 | 2026年4月20日 | 2026年11月17日 | 2026年11月16日 |
| 许可证 | – | MIT | – | Apache-2.0 | MIT |
testdriverai 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
Claude (เว็บ/แอป)Cursor
依据开发者 README 和 repo 中的文件夹
GitHub account testdriverai (organization), 3 years old
★ 357 stars, few users so far · code last changed 2026年9月21日
No, plain text files the AI reads and follows
No scripts, so it does not go online by itself
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 97d4d35 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
This skill has no license, so we do not hand out a ZIP from our site. Download it from GitHub and arrange the folder yourself, or use "Let the AI install it" above, which is easier
Download from GitHub (whole repo) ↗
Unzip it, then zip only the ai/skills/testdriver:ai folder again. The ZIP must have a testdriver-ai folder with SKILL.md at the top level, no loose files
+Create skillUpload a skillpick testdriver-ai.zip
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
复制这句话,粘贴到 Claude Code 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
重新打开 Claude Code,输入 /testdriver:ai,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
正在检查命令 · 通过后才会显示复制按钮
摘自开发者 README,会下载并运行开发者的代码
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
把 testdriver-ai 文件夹放到 ~/.agents/skills/testdriver-ai
~ 是你的主文件夹($HOME)
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
复制这句话,粘贴到 Cursor 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
在 Cursor 的 Agent 聊天中输入 / 并选择 testdriver:ai
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
5,312 个字符 · 在 GitHub 打开完整文件
---
name: testdriver:ai
description: Execute natural language tasks using AI
---
<!-- Generated from ai.mdx. DO NOT EDIT. -->
## Overview
The `ai()` method allows you to execute complex tasks using natural language descriptions. TestDriver's AI will figure out the steps needed to accomplish the task.
## Syntax
```javascript
await testdriver.ai(task, options)
```
## Parameters
<ParamField path="task" type="string" required>
Natural language description of what to do
</ParamField>
<ParamField path="options" type="object">
Execution options
<Expandable title="properties">
<ParamField path="validateAndLoop" type="boolean" default="false">
Whether to validate completion and retry if incomplete
</ParamField>
</Expandable>
</ParamField>
## Returns
`Promise<string | void>` - Final AI response if `validateAndLoop` is true
## Examples
### Basic Usage
```javascript
// Simple task execution
await testdriver.ai('Click the submit button');
// Complex multi-step task
await testdriver.ai('Fill out the contact form and submit it');
// Navigation task
await testdriver.ai('Go to the settings page and enable notifications');
```
### With Validation
```javascript
// AI will verify the task completed successfully
const result = await testdriver.ai('Complete the checkout process', {
validateAndLoop: true
});
console.log('Task result:', result);
```
### Multi-Step Workflows
```javascript
// The AI will break down complex tasks
await testdriver.ai('Search for "laptop", add the first result to cart, and proceed to checkout');
// UI exploration
await testdriver.ai('Find and click all menu items to explore the application');
```
## Use Cases
<AccordionGroup>
<Accordion title="Exploratory Testing">
Use AI to explore unfamiliar applications:
```javascript
await testdriver.ai('Explore the main navigation menu');
await testdriver.ai('Try to find the user profile settings');
```
</Accordion>
<Accordion title="Complex Workflows">
Let AI handle multi-step processes:
```javascript
await testdriver.ai('Complete the multi-step registration form');
await testdriver.ai('Configure all the advanced settings to default values');
```
</Accordion>
<Accordion title="Flexible Interactions">
When exact element locations aren't critical:
```javascript
await testdriver.ai('Close any popup dialogs');
await testdriver.ai('Accept the cookie consent if it appears');
```
</Accordion>
</AccordionGroup>
## Best Practices
<Check>
**Be specific but flexible**: Give enough context without over-constraining the AI
```javascript
// ✅ Good
await testdriver.ai('Add the first product to the shopping cart');
// ❌ Too vague
await testdriver.ai('do something');
// ❌ Too specific (defeats the purpose)
await testdriver.ai('click at coordinates 500, 300');
```
</Check>
<Check>
**Use for exploration, not precision**: For critical assertions, use explicit methods
```javascript
// Use AI for setup
await testdriver.ai('Navigate to the login page');
// Use explicit methods for critical steps
const usernameField = await testdriver.find('username input');
await usernameField.click();
await testdriver.type('testuser');
await testdriver.assert('login page is displayed');
```
</Check>
<Warning>
**AI tasks may be slower**: The AI needs to analyze the screen and plan actions. For performance-critical tests, use explicit methods.
</Warning>
## When to Use AI vs Explicit Methods
### Use `ai()` when:
- Exploring unfamiliar applications
- Handling optional UI elements (popups, cookies, etc.)
- Prototyping tests quickly
- Tasks where exact steps may vary
### Use explicit methods when:
- Performance is critical
- You need precise control
- Making assertions
- Debugging test failures
- Repetitive, predictable actions
## Complete Example
```javascript
import { beforeAll, afterAll, describe, it } from 'vitest';
import TestDriver from 'testdriverai';
describe('E-commerce Flow with AI', () => {
let testdriver;
beforeAll(async () => {
client = new TestDriver(process.env.TD_API_KEY);
await testdriver.auth();
await testdriver.connect();
});
afterAll(async () => {
await testdriver.disconnect();
});
it('should complete shopping flow using AI assistance', async () => {
await testdriver.focusApplication('Google Chrome');
// Use AI for navigation and exploration
await testdriver.ai('Browse to the electronics section');
await testdriver.ai('Find and add a laptop to the cart');
// Use explicit methods for critical steps
const cartIcon = await testdriver.find('shopping cart icon');
await cartIcon.click();
const total = await testdriver.extract('the cart total amount');
console.log('Cart total:', total);
// Use AI for checkout flow
await testdriver.ai('Proceed to checkout and fill in shipping details', {
validateAndLoop: true
});
// Explicit assertion
await testdriver.assert('order confirmation page is displayed');
});
});
```
## Related Methods
- [`find()`](/v7/find) - Locate specific elements
- [`assert()`](/v7/assert) - Make assertions
- [`extract()`](/v7/extract) - Extract information
提问、分享技巧或报告无法使用。按“有帮助”数量排序。