test-fixture-generator

Generate JSON test fixtures and cases for Vigil Guard's 8-file test suite.

14|2|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/tbartel74/Vigil-Code --skill test-fixture-generator-tbartel74
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-fixture-generator
Source: https://github.com/tbartel74/Vigil-Code/tree/main/.claude/skills/test-fixture-generator
Command: npx skills add https://github.com/tbartel74/Vigil-Code --skill test-fixture-generator-tbartel74

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated generation of test fixtures for Vigil Guard's 8-file test suite, supporting TDD workflows with malicious and benign payloads, and validating the 3-branch detection.

Core Features & Use Cases

  • Fixture Generation: Create new test fixtures and cases for detection patterns.
  • Bypass Scenario Testing: Generate bypass/mutation payloads to stress-test detectors.
  • 8-file Test Suite Support: Streamlined fixture templates for end-to-end tests.

Quick Start

Generate a new fixture in services/workflow/tests/fixtures and add it to tests/e2e.

Frequently Asked Questions about test-fixture-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate test fixtures for TDD workflows?

Generate test fixtures automatically using template-based creation for malicious and benign payloads. The Skill produces JSON fixture objects with description, prompt, expected_status, expected_arbiter_decision, expected_branches, bypass_technique, and versioning fields ready for your 8-file test suite.

Can I create bypass payloads to test detection evasion?

Yes. Generate bypass and mutation payloads designed to stress-test detectors across language detection, leet-speak normalization, PII detection, sanitization, and arbiter evaluation. Each fixture includes bypass_technique fields to validate 3-branch detection under adversarial conditions.

What fixture format does this Skill produce?

The Skill generates v2.0.0 JSON fixture format with versioned artifacts containing description, prompt, expected_status, expected_arbiter_decision, expected_branches, bypass_technique, and metadata. Fixtures integrate directly into services/workflow/tests/fixtures for end-to-end testing.

How do I structure E2E tests for comprehensive coverage?

Use the 8-file test suite template support to streamline fixture creation. The Skill generates fixtures meeting functional requirements for language detection, leet-speak normalization, PII detection, sanitization, and arbiter evaluation across all 8 E2E test structures.

Do I need manual payload writing for malicious test cases?

No. The Skill automates malicious and benign payload creation, eliminating manual fixture writing. Generated payloads validate detection patterns and bypass scenarios across the full test surface, reducing setup time for TDD workflows.

What does arbiter evaluation testing cover?

Arbiter evaluation testing validates the arbiter's decision logic across all detection branches and bypass scenarios. Fixtures include expected_arbiter_decision and expected_branches fields to confirm correct classification under normal, edge-case, and adversarial payload conditions.