# Faq Generator

> Generates FAQ lists from complex medical policies or protocols. Trigger when user provides medical documents, policies, or protocols and requests FAQ generation, patient education materials, or simplified explanations.

- Skill: `majiayu000/faq-generator-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/faq-generator-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/faq-generator-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- License: MIT
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/faq-generator-2

---


# FAQ Generator

Creates FAQ lists from medical documents.

## Features

- Automatic Q&A generation
- Policy interpretation
- Patient-friendly language
- Structured formatting

## Parameters

| Parameter | Type | Default | Required | Description |
|-----------|------|---------|----------|-------------|
| `--input`, `-i` | string | - | Yes | Source document file path |
| `--audience`, `-a` | string | general | No | Target audience (patients, researchers, general) |
| `--output`, `-o` | string | stdout | No | Output file path |
| `--format`, `-f` | string | json | No | Output format (json, markdown, text) |

## Output Format

```json
{
  "faqs": [{"question": "", "answer": ""}],
  "topic": "string"
}
```

## Risk Assessment

| Risk Indicator | Assessment | Level |
|----------------|------------|-------|
| Code Execution | No scripts included | Low |
| Network Access | No external API calls | Low |
| File System Access | Read-only within workspace | Low |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Input/output within session | Low |

## Security Checklist

- [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] No network requests to external services
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place

## Evaluation Criteria

### Success Metrics
- [ ] FAQ accurately represents source document content
- [ ] Language is appropriate for specified audience (patients/researchers)
- [ ] Questions cover key points of the document
- [ ] Answers are clear, concise, and medically accurate
- [ ] Format follows structured JSON schema

### Test Cases
1. **Basic FAQ Generation**: Input simple medical protocol → Output valid FAQ list
2. **Audience Adaptation**: Same input with different audiences → Appropriate tone shift
3. **Complex Document**: Input lengthy policy document → Comprehensive FAQ coverage
4. **Edge Case**: Input ambiguous content → Handles gracefully with clarifying questions

## Lifecycle Status

- **Current Stage**: Draft
- **Next Review Date**: 2026-03-06
- **Known Issues**: None
- **Planned Improvements**: 
  - Add support for multi-language output
  - Enhance medical terminology handling

