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.
This skill orchestrates the generation of a professional expert interview article, simulating a Dify workflow.
scripts/flow.py.references/ for task-specific guidance.Python: 3.10+. Repository baseline for current packaged skills.Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.cd "20260316/scientific-skills/Others/expert-interview-generator"
python -m py_compile scripts/flow.py
python scripts/flow.py --help
Example run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/flow.py with the validated inputs.See ## Workflow above for related details.
scripts/flow.py.references/ contains supporting rules, prompts, or checklists.background (Required): Expert profile (Name, Title, Affiliation, Research Direction, Achievements).question (Required): List of interview questions.title (Required): Article title.text1 (Optional): Existing interview draft content.Use the Expert Introduction Prompt in references/prompts.md to generate the intro section.
Input: background
Determine which generation path to use based on text1:
text1 is provided (not empty), use the Body Generation (With Draft) Prompt in references/prompts.md.
text1, question, background, titletext1 is empty, use the Body Generation (No Draft) Prompt in references/prompts.md.
question, background, titleConstraint: The output must be approximately 2000 words, strictly following the Q&A format defined in the prompt.
Use the Preface Prompt in references/prompts.md to write a 150-word introduction.
Inputs: Generated Body (from Step 2), title, background
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
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:
titleexpert_interview_generator_result.md unless the skill documentation defines a better convention.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