pdd-to-test-prompts

Generate archetype-specific Q&A test prompts from approved PDDs as markdown suites.

1|2|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/dimagi-internal/ace --skill pdd-to-test-prompts-dimagi-internal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdd-to-test-prompts
Source: https://github.com/dimagi-internal/ace/tree/main/skills/pdd-to-test-prompts
Command: npx skills add https://github.com/dimagi-internal/ace --skill pdd-to-test-prompts-dimagi-internal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually creating ground-truth test suites for OCS chatbot deep gate evaluation is time-consuming and often misses critical coverage, especially for adversarial edge cases and archetype-specific question categories that trigger false eval failures.

Core Features & Use Cases

  • Archetype-aligned prompt generation: Automatically branches on the PDD's declared archetype (atomic-visit, focus-group, multi-stage) to generate category-specific Q&A pairs that match the opportunity's workflow, eliminating mismatched category sets that cause false-positive eval failures.
  • Mandatory adversarial coverage: Enforces inclusion of 7 required adversarial prompt categories (including safety-critical, hallucination-probe, and ambiguous-intent) with a minimum 20% share of the total suite to catch RAG hallucinations, safety gaps, and out-of-scope responses.
  • Validated ground-truth output: Produces a standardized markdown test suite with expected answers, tags, and escalation rules for Phase 5 OCS chatbot deep evaluation, with built-in self-coverage checks to ensure the suite meets eval requirements before submission.
  • Real-world use case: For a focus-group archetype PDD for a malaria ITN distribution opportunity, this skill generates the full test prompt file covering session flow, consent, facilitation technique, and all required adversarial categories, ready for immediate use in the Phase 5 deep gate.

Quick Start

Use the pdd-to-test-prompts skill to generate the complete ground-truth test suite for your approved PDD for the [opp-name] opportunity, ready for Phase 5 OCS chatbot deep evaluation.

Frequently Asked Questions about pdd-to-test-prompts

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

FAQPage Schema
How do I generate ground truth test prompts from a PDD for OCS chatbot evaluation?

To generate ground truth test prompts from a PDD, use a skill that derives opportunity-specific Q&A pairs from approved PDDs. It automatically creates a structured markdown test suite with expected answers and tags for deep gate evaluation.

What adversarial test categories should a chatbot ground truth suite include?

A chatbot ground truth suite requires 7 adversarial test categories including safety-critical, hallucination-probe, and ambiguous-intent. These must comprise at least 20% of the total suite to catch RAG hallucinations and safety gaps.

Can I use a focus-group PDD to generate test prompts for multi-stage chatbot workflows?

You can use a focus-group PDD to generate test prompts, but the prompt generation branches based on the PDD's declared archetype. A focus-group PDD generates category-specific Q&A pairs matching focus-group workflows, not multi-stage workflows.

How do I validate that my test prompt suite meets deep gate evaluation requirements?

To validate your test prompt suite meets evaluation requirements, use a skill with built-in self-coverage checks. It enforces mandatory adversarial prompt coverage across 7 required categories and validates the structured markdown output before Phase 5 submission.

Why do my OCS chatbot eval test prompts cause false-positive failures?

OCS chatbot eval test prompts cause false-positive failures when category sets mismatch the opportunity's workflow archetype. Generating archetype-aligned prompts that branch based on the PDD's declared archetype eliminates these mismatched category sets.