adversarial-test
Use to generate independent adversarial test cases against the acceptance criteria (do NOT reference the implementer's own tests).
Skill by CaoZhenYang-010
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/caozhenyang-010-adversarial-test
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/adversarial-test
What's inside
- Skill name
adversarial-test- Description
- Use to generate independent adversarial test cases against the acceptance criteria (do NOT reference the implementer's own tests). Produces an adversarial test report. Use after implementation.
- License
- Apache-2.0
- Instructions
- 38 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Adversarial Test(对抗性测试生成 - 后端) 你是 **analyst**(对抗性测试员)。你的职责是**不信任**实现者的自写测试,基于任务验收标准独立构造**攻击性测试用例**,找出实现者自写测试覆盖不到的缺陷。 ## 输入 - 任务说明(task.md,含验收标准与业务规则) - 系统设计(design.md) - 后端源码与自写测试(Java) ## 核心要求 1. **独立生成**:不参考、不复制实现者的自写测试,只依据 task.md 的验收标准独立构造用例 2. **攻击性思维**:主动假设实现是错的,专门构造以下用例: - 边界值:正好在规则临界点 - 非法/异常输入:负值、零、空、超大值、类型错误、缺字段 - 规则冲突与组合:多规则叠加时的预期 - 精度问题:BigDecimal 金额小数、合计一致性 3. 用例必须可自动断言(JUnit),不依赖人工观察 ## 输出格式(严格遵守) ``` <<<FILE: src/test/java/com/example/app/AdversarialTest.java>>> <完整 JUnit 测试代码,通过 MockMvc 调用 /api/** 接口断言> <<<END>>> ``` - 测试用 JUnit 5 + MockMvc(`@SpringBootTest` + `@AutoConfigureMockMvc` 或 `@WebMvcTest`),放在 `src/test/java/com/example/app/` - 通过 MockMvc 对 `/api/**` 接口发起请求并断言 JSON 返回 ## 判定 - 对抗性测试全部通过 → 无自洽盲区缺陷暴露 - 任一失败 → 暴露自写测试未覆盖的缺陷,进入缺陷定位 - 报告写入 `adversarial_test_report.txt`
From CaoZhenYang-010/AgentTeams-devflow-kit, Apache-2.0.
More from CaoZhenYang-010/AgentTeams-devflow-kit
- 0.524score
requirement-clarify
CaoZhenYang-010
Use to decompose a one-line requirement into an executable task specification with testable acceptance criteria.
SkillBFreshness: BClaude Code +9 - 0.524score
defect-locate
CaoZhenYang-010
Use to locate code defects from failure evidence and source code.
SkillBFreshness: BClaude Code +9 - 0.524score
devflow-pipeline
CaoZhenYang-010
Use to drive the software development pipeline declared in workflow.yaml.
SkillBFreshness: BClaude Code +9 - 0.521score
impact-analysis
CaoZhenYang-010
Use to analyze release impact programmatically (structure scan / AST dependency graph).
SkillBFreshness: BClaude Code +9 - 0.521score
system-design
CaoZhenYang-010
Use to produce a full-stack system design document (SpringBoot backend + Vue3 frontend) from task.md.
SkillBFreshness: BClaude Code +9 - 0.521score
tdd-coding
CaoZhenYang-010
Use to implement code via TDD on the stack template (SpringBoot backend + Vue3 frontend).
SkillBFreshness: BClaude Code +9 - 0.521score
quality-gate
CaoZhenYang-010
Use to gate release readiness (Team Leader).
SkillBFreshness: BClaude Code +9 - 0.521score
architecture-review
CaoZhenYang-010
Use to review a system design before coding (Team Leader gate).
SkillBFreshness: BClaude Code +9 - 0.521score
code-review
CaoZhenYang-010
Use to review the full-stack implementation against the task spec and design.
SkillBFreshness: BClaude Code +9 - 0.513score
verify-release
CaoZhenYang-010
Use to verify and release after all gates pass.
SkillBFreshness: BClaude Code +9 - 0.491score
test-run
CaoZhenYang-010
Use to run real tests and builds (backend mvn test + JaCoCo coverage, frontend npm build, E2E Playwright).
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 12, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from CaoZhenYang-010
- 0.524score
requirement-clarify
CaoZhenYang-010
Use to decompose a one-line requirement into an executable task specification with testable acceptance criteria.
SkillBFreshness: BClaude Code +9 - 0.524score
defect-locate
CaoZhenYang-010
Use to locate code defects from failure evidence and source code.
SkillBFreshness: BClaude Code +9 - 0.524score
devflow-pipeline
CaoZhenYang-010
Use to drive the software development pipeline declared in workflow.yaml.
SkillBFreshness: BClaude Code +9 - 0.521score
impact-analysis
CaoZhenYang-010
Use to analyze release impact programmatically (structure scan / AST dependency graph).
SkillBFreshness: BClaude Code +9 - 0.521score
system-design
CaoZhenYang-010
Use to produce a full-stack system design document (SpringBoot backend + Vue3 frontend) from task.md.
SkillBFreshness: BClaude Code +9 - 0.521score
tdd-coding
CaoZhenYang-010
Use to implement code via TDD on the stack template (SpringBoot backend + Vue3 frontend).
SkillBFreshness: BClaude Code +9
Cite this page
adversarial-test skill. Agent Mart. https://agentmart.dev/skills/caozhenyang-010-adversarial-test (last updated 2026-10-24)