用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill agent-integration-testing命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | agent-integration-testing |
| description | Use when the user requests integration testing, feature validation, or test plan execution |
| metadata | {"author":"av"} |
This skill guides the creation and autonomous execution of verifiable integration test specifications. It ensures that tests are actionable by agents, properly documented, and systematically executed by subagents to validate features or fix failures.
Investigate Codebase Area
glob and grep to narrow the investigation.Write Test Specification
./tests/<name>.md.<name> = "integration" unless the user specifies a particular feature area.Define Verifiable Tests
Execute Tests via Subagents
Task tool or @mention subagent system) to run each individual test.Fix Failures (Optional)
SWE or BUILDER agent) to investigate and fix any noted failures.| Action | Pattern / Command |
|---|---|
| Test File Location | ./tests/<name>.md (default: integration.md) |
| Prerequisites | Must be documented at the top of the test file |
| Test Format | Plain English, Repro Steps, Verifiable Expectations |
| Execution | Spawn one subagent per test or test suite |
| Fixing | Spawn SWE/BUILDER subagent if requested by user |
./tests/auth-integration.md)# Auth Integration Tests
## Prerequisites
- Start the test database: `docker compose up -d db`
- Run migrations: `npm run migrate`
- Start the server in background: `npm run start:test &`
## Test 1: User Registration
**Steps:**
1. Send a POST request to `/api/register` with payload `{"email": "test@example.com", "password": "pass"}`.
**Expectations:**
1. The HTTP response status must be `201 Created`.
2. A subsequent query to the database using `sqlite3 test.db "SELECT email FROM users WHERE email='test@example.com';"` must return the email.