nw-agent-testing

仓库创建 2026年2月13日最近提交 1 个月前SkillHot 收录 21 天前
▸ 精选理由

覆盖输出质量与安全性,适合制定全面测试策略的团队。

这个 Skill 做什么

包含对抗测试与注入防护的五层 agent 测试框架。

给 Agent 验证搭了一个五层测试框架,从输出质量、单元检测到对抗性测试、安全校验和 prompt 注入防护都覆盖。想确保智能体在真实或敌对场景下不会出错、被注入或泄露敏感信息时用。优势是把常规逻辑测试和安全对抗结合,既能找逻辑错误也能暴露安全弱点。

▸ 展开 SKILL.md 英文原文

5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance

Skill 开发管理测试安全对抗通用
585
Stars
59
Forks
40
仓库内 Skill
+15
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/nWave-ai/nWave/main/nWave/skills/nw-agent-testing/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/nWave-ai/nWave/main/nWave/skills/nw-agent-testing/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Agent Testing Framework

## 5-Layer Testing Approach

### Layer 1: Output Quality (Unit-Level)

Validate agent produces correct, well-structured outputs for typical inputs.

**Test**: Agent follows workflow phases | Outputs match expected format/structure | Domain-specific rules correctly applied | Token efficiency within bounds

**How**: Manual invocation with representative inputs. Check against acceptance criteria in agent description.

### Layer 2: Integration / Handoff Validation

Validate correct input/output between agents in workflows.

**Test**: Input parsing handles upstream format | Output format matches downstream expectations | Error signals propagate correctly | Subagent mode
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有