Expert interview generator

From aipoch/medical-research-skills · View interactive version

Expert interview generator is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Generates a full expert interview article including introduction, Q&A body, and summary based on interview questions and expert background. Use when you have interview questions and an expert profile and need a polished article.

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

Expert Interview Article Generator

This skill orchestrates the generation of a professional expert interview article, simulating a Dify workflow.

When to Use

Key Features

Dependencies

Example Usage

cd "20260316/scientific-skills/Others/expert-interview-generator"
python -m py_compile scripts/flow.py
python scripts/flow.py --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/flow.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

Implementation Details

See ## Workflow above for related details.

Inputs

Workflow

Step 1: Generate Expert Introduction

Use the Expert Introduction Prompt in references/prompts.md to generate the intro section.

Input: background

Step 2: Generate Q&A Body

Determine which generation path to use based on text1:

Constraint: The output must be approximately 2000 words, strictly following the Q&A format defined in the prompt.

Step 3: Generate Preface

Use the Preface Prompt in references/prompts.md to write a 150-word introduction.

Inputs: Generated Body (from Step 2), title, background

Step 4: Generate Summary

Use the Summary Prompt in references/prompts.md to write a 150-word conclusion.

Inputs: Generated Body (from Step 2), Generated Preface (from Step 3), background, title

Step 5: Final Assembly

Combine the generated sections into a final Markdown article using the structure below. You may use scripts/flow.py to handle text processing if needed, or assemble manually.

Structure:

  1. Title: title
  2. Preface: (Result from Step 3)
  3. Expert Profile: (Result from Step 1)
  4. Interview Content: (Result from Step 2)
  5. Summary: (Result from Step 4)

When Not to Use

Required Inputs

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

python scripts/flow.py --help

Expected output format:

Result file: expert_interview_generator_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.