aperivue/medsci-skills/self-review
Claude Code and agent skill by aperivue/medsci-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Use when checking your own manuscript before submission from a reviewer's perspective. Returns anticipated Major/Minor comments with fixes, including numerical, citation and leakage checks, with an optional multi-reviewer panel. Someone else's paper is /peer-review.
Install
npx vskill@latest install aperivue/medsci-skills/self-reviewSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as aperivue/medsci-skills/self-review.
Self-Review Skill
Check the user's own manuscript before submission and produce an actionable list of anticipated reviewer comments, each with a specific fix — not a written review.
Optional Flags
--fix: after the report, apply fixes for every issue withfixable_by_ai: true, editing the manuscript in place, then report a diff summary. Never fixfixable_by_ai: falseissues (missing data, design flaws). Maximum 2 fix-and-re-review iterations; if the score is still below threshold after the second, stop and report what remains as structural (inside/write-paperthis routes to Phase 7.4a Audit Recovery).--json: also emit the structured JSON block (Phase 3c). Default when called from/write-paperPhase 7.--panel: run the multi-agent panel review (Phase 2.6) — domain-expert reviewers in parallel plus an editor synthesis — instead of the single-pass review. Opt-in and off by default, because it spawns N reviewer agents + 1 editor and costs several times more tokens; reserve it for a high-stakes final pass on a top-tier target. Do not combine with--fix: a panel diagnoses and prioritizes; run--fixas a separate pass once the author has triaged the panel's findings.
Severity Framing
- Fatal: a design flaw existing data cannot fix (data leakage that invalidates all results, no reference standard, label–feature circularity). Submission would likely be rejected. Reserve Fatal for true design-level problems.
- Fixable: significant but addressable with existing data (missing calibration, unclear exclusion criteria, absent CIs, incomplete reporting). Most issues are Fixable.
Two Objectives: the Floor and the Ceiling
The floor (categories A–K and the gates of Phases 2.5–2.5f) minimizes rejection-for-cause — fabricated citations, numbers that do not reconcile, overclaims, missing checklist items, leakage — and much of it works by adding a hedge, caveat, disclosure or audit trail. Iterated, that over-hardens a manuscript: every finding is correct, yet the whole reads as a defensive audit (over-hedged, audit trail in the body, Abstract buried under caveats, the strongest robustness result hidden in Limitations). The ceiling pass (category L / Phase 2.5g) runs after the floor gates, reads the accurate manuscript as a whole, and recommends only SUBTRACTION — REMOVE, MOVE, or TIGHTEN. It is advisory, never blocks, and cannot relax a floor gate. Report its findings as their own block (Phase 3), not folded into the "add this" comments. Phase 2.5i then reads the floor + ceiling state to declare the loop done, including a zero-edit PASS.
Workflow
Phase 1: Intake
- Get the manuscript — PDF, Word doc, or pasted text.
- Ask the user: target journal (sets reporting standards and scope); manuscript type (original research / review / perspective / technical note / letter / meta-analysis / case report); anything they are already worried about. On an interactive run, offer the
--panelreview (Phase 2.6) once, in one line, then proceed single-pass unless the user opts in. Never offer or apply the panel under--jsonor when called from/write-paper. - Read the full manuscript.
- SSOT gate — confirm there is one manuscript, not several. Self-review reads a single file,
so drift between a legacy working copy and the live submission copy is invisible to it. Before a --panel run or any pre-submission pass, check for multiple copies:
``bash find . \( -path '*manuscript*' -o -path '*main_document*' \) -name '*.md' | grep -v node_modules ``
If more than one manuscript-like file exists, confirm which is the SSOT and run /sync-submission's divergence gate — a STALE_COPY (an SSOT numeric claim or heading that did not propagate to the other copy) is a P0 that must clear first:
``bash python3 "${CLAUDE_SKILL_DIR}/../sync-submission/scripts/detect_copy_divergence.py" \ --ssot <ssot>.md --copy <other-copy>.md ``
Review the SSOT copy, never a stale one. Under `--panel` this is blocking: if find returns more than one file and the SSOT is not pinned (no SSOT.yaml with truth.manuscript_md, no explicit --ssot <path>), STOP before spawning any reviewer and have the user name the SSOT (and clear any STALE_COPY), because a panel on a stale copy wastes the whole pass. Do not auto-pick the longest/newest file. A single-pass review may proceed on the one file it was given.
Phase 2: Systematic Check
Work every category the Research-Type Adaptation table (below) marks as applicable, and for each item decide whether a reviewer would raise it as a Major or Minor comment. The per-item check tables are in references/phases/phase2_systematic_check.md — read it once you have the manuscript and know its type.
| Category | What it asks | ||
|---|---|---|---|
| A | Study Design & Data Integrity | patient-level splits, leakage, input-text contamination, analysis unit | |
| B | Reference Standard & Ground Truth | definition specificity, timing, annotator independence | |
| C | Validation & Statistical Reporting | CIs, calibration, comparator, effect size, power-aware nulls, equivalence margins, interaction anchoring | |
| D | Clinical Framing & Importance | intended use, overclaiming, novelty, endpoint↔conclusion scope | |
| E | Reproducibility | preprocessing, model detail, hardware/software, data & code availability | |
| F | Reporting Completeness | abstract↔body consistency, flow diagram, ethics, missing data, word cap | |
| G | Reporting Guideline Compliance | match the type to its checklist; /check-reporting does the item-level audit | |
| H | Circularity | label–feature overlap, tautological prediction, circular validation | |
| I | Protocol Heterogeneity | multi-site acquisition, harmonization, temporal protocol drift | |
| J | Method Transparency | model provenance, fine-tuning, classical-style body conventions | |
| K | Reviewer-team consistency | SR/MA only — dual-vs-single conjunction, LLM-as-reviewer (both fabrication-grade) | |
| L | Editorial impression & defensiveness | advisory, never blocking — the ceiling category: REMOVE / MOVE / TIGHTEN |
Run the deterministic gates at Phase 2 entry, on every path:
Verdict mapping: CROSS_SECTIONAL_PROGNOSTIC, SURROGATE_CARE_DIRECTIVE, SECTION_SYMBOL, INBODY_AI_DISCLOSURE, any reviewer-team hit (exit 1), MODEL_OUTCOME_UNDEFINED (a Cox / Fine–Gray / logistic model with no outcome named), MODEL_NOT_IN_METHODS, and REFERENCE_STANDARD_UNDEFINED (discrimination or calibration with nothing to score against) are Anticipated Major Comments. CROSS_SECTIONAL_YIELD_LANGUAGE, ELIGIBILITY_PROSE, DECIMAL_INCONSISTENCY, EM_DASH_OVERUSE, PERSPECTIVE_HEADING_NOT_ASSERTION, PERSPECTIVE_ABSTRACT_NO_AUTHORIAL_MOVE, and TIER_LABEL_UNDEFINED are Minor. The per-verdict rationale and resolution paths are in the Phase 2 reference file.
ANALYSIS_LOAD is informational, never a verdict: many analyses are the cause of omitted definitions, not the defect. Do not cut analyses to satisfy it; restore the definitions they crowded out, and if load is genuinely high, move the defensive analyses to the supplement.
Research-Type Adaptation
| Category | AI/ML | Observational | Educational | Meta-Analysis | Case Report | Surgical | |
|---|---|---|---|---|---|---|---|
| A. Study Design | Full | Full | Partial | N/A | N/A | Full | |
| B. Reference Standard | Full | Full | N/A | Per-study | Partial | Full | |
| C. Validation & Stats | Full | Full | Full | Special* | Partial | Full | |
| D. Clinical Framing | Full | Full | Full | Full | Full | Full | |
| E. Reproducibility | Full | Partial | Partial | Partial | N/A | Full | |
| F. Reporting | Full | Full | Full | Full | Full | Full | |
| G. Guideline Compliance | Full | Full | Full | Full | Full | Full | |
| H. Circularity | Full | Partial | N/A | N/A | N/A | Partial | |
| I. Protocol Heterogeneity | Full | Full | N/A | Per-study | N/A | Full | |
| J. Method Transparency | Full | Partial | Partial | N/A | N/A | Partial | |
| K. Reviewer-team consistency | N/A | N/A | N/A | Full | N/A | N/A | |
| L. Editorial impression | Full | Full | Full | Full | Full | Full |
*Meta-analysis: replace C with heterogeneity (I², prediction intervals), publication bias (funnel plot, Egger), and sensitivity/subgroup analyses.
Type-specific additional checks:
- Observational: confounding (DAG or adjustment strategy), selection bias, exposure measurement validity. Run Phase 2.5e (Confounding Completeness), then apply the O-probes in
references/domain-probes/observational_confounding.md— O1 (covariate imbalanced by exposure in Table 1 yet absent from the adjustment set) and O8 (records > subjects with the analysis unit undisclosed;check_cohort_arithmetic.py --id-col) are the deterministic ones, and O7 (adjusting for a mediator/consequence of the outcome) is their opposite-direction twin. For a clinical prediction model (TRIPOD / TRIPOD+AI, nested predictor-set comparison), also apply the CP-probes inreferences/domain-probes/clinical_prediction_model.md. - Educational: learning-outcome measurement validity, Kirkpatrick level, control-group adequacy, curriculum fidelity.
- Meta-analyses: search comprehensiveness (2+ databases), screening reproducibility (2 reviewers), per-study RoB, GRADE certainty.
- Case reports: diagnostic-reasoning transparency, timeline completeness, informed consent, generalizability disclaimer.
- Surgical: learning curve, surgeon volume/experience, complication grading (Clavien-Dindo), operative detail.
Domain probe modules — the same probes /peer-review uses, vendored here. Load every module whose row matches:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/self-review/SKILL.md
Popularity
- Repository stars
- 177
- Repository forks
- 45
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aperivue/medsci-skills/self-review)