A multi-stage workflow for writing long-form medical reviews; used when the user needs to build an outline based on PubMed literature, write chapter by chapter, perform supplementary searches, and format citations; input is the review topic and project directory, output is a c...
72
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
| Field | Required | Format/Source | Example | If Missing |
|---|---|---|---|---|
topic | Yes | Text | TP53 in lung cancer | Stop and ask user to provide |
project_dir | Yes | Local directory | TP53/ | Confirm working directory first |
language | No | Text | Chinese / English | Default to Chinese if not provided |
target_scope | No | Text | narrative review / mini review | Execute as standard long review if not provided |
Review_Final.md and Review_Final_Formatted.md.outline.md, references.json, introduction.md, section_*.md, abstract.md, conclusion.md.[PMID: xxx] as intermediate citations, with final formatting applied later.PARTIAL.Strictly follow the six-step process below. Core mechanism: After each script execution, the terminal prints a [State Machine] prompt — strictly read the current state and follow the "next step suggestion."
### 1.1, ### 1.2, etc.). Each major chapter must have 2-4 pre-planned sub-headings with distinct logical divisions — writing only to the ## 1. Chapter Name level is never permitted.outline.md. Must include: Title, Introduction, Body Sections (including all sub-headings), Conclusion.Detailed instructions: See references/workflow-details.md Stage 1
python scripts/pubmed_search.py "QUERY" --section "introduction|section_1|..."
--section must strictly correspond to file names (e.g., use introduction NOT Intro, use section_1 NOT Section1_TP53) so subsequent scripts can auto-match--max defaults to 20 articles; adjust as neededreferences.json should be saved in the project directory (e.g., TP53/references.json), not the skill directorypython scripts/count_references.py
references.json reach at least 150Detailed instructions: See references/workflow-details.md Stage 2
python scripts/read_references.py "SectionName"introduction.md (Introduction) and section_1.md, section_2.md, etc. for body sectionsassets/Review_Final.md):
## 1. xxx) must be divided into 2-4 specific sub-headings (e.g., ### 1.1 xxx).[PMID: xxx] format.python scripts/pubmed_search.py "Specific Query" --section "CurrentSection"python scripts/check_section.py "section_1.md"--post-write parameter as suggested.python scripts/revert_citations.py Review_Final_Formatted.md -o draft.md to revert to [PMID: xxx] format. Pay attention to the state machine output regarding reference count — if it indicates insufficient references (e.g., < 30), also use pubmed_search.py with the --post-write parameter to supplement with new literature during revision, then re-run the formatting script.assets/Review_Final.mdDetailed instructions:
Workflow: references/workflow-details.md Stage 3
Citation standards: references/citation-guide.md
section_*.md filesconclusion.md: Summarize core findings, echo the introduction, look ahead to the future (do not include citations)assets/Review_Final.mdDetailed instructions: See references/workflow-details.md Stage 4
abstract.md:
assets/Review_Final.md format)python scripts/merge_review.py abstract.md introduction.md section_1.md ... -o Review_Final.md (Note: do not include outline.md)Review_Final.md against assets/Review_Final.mdDetailed instructions: See references/workflow-details.md Stage 5
python scripts/format_citations.py Review_Final.md -o Review_Final_Formatted.mdDetailed instructions: See references/citation-guide.md
[PMID: xxx] format for easy downstream script parsingreferences.jsonThis skill accepts requests that match the documented purpose of medical-review-writer-architect and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
medical-review-writer-architectonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
63c61d3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.