一键导入
sdrf-review
Use when the user wants a comprehensive quality review of an SDRF file, a PR review of an SDRF submission, or a quality score assessment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user wants a comprehensive quality review of an SDRF file, a PR review of an SDRF submission, or a quality score assessment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Independently falsify and review a created, modified, or proposed SDRF against its specification, ontology terms, source evidence, repository files, and experimental design. Use after SDRF annotation or repair, before contribution or completion, when a review gate reports a pending artifact, or whenever an isolated reviewer must distrust the producer's self-assessment and issue a hash-bound verdict.
Create or improve an SDRF through a producer-reviewer workflow with deterministic validation, an evidence manifest, fresh-context adversarial review, repair, and mandatory re-review. Use when an SDRF must be independently verified before completion or contribution, when the user requests adversarial review, or when automated review hooks require a passing hash-bound receipt.
Use when the user wants SDRF annotation to run as an autonomous retained-improvement loop over one dataset, a manifest, or a dataset class such as all PRIDE cell line or crosslinking datasets.
Use when the user has a completed SDRF annotation for a ProteomeXchange dataset and wants to contribute it back to the community via a PR to sdrf-annotated-datasets.
Use before sdrf:autoresearch when the user needs to screen or shortlist proteomics studies from PRIDE, MassIVE, ProteomeXchange accessions, or a manifest using detailed user-defined inclusion/exclusion criteria; extract study-level metadata from repository records and publications; and write an evidence-backed TSV for downstream annotation, review, or meta-analysis.
Use when the user wants to create or annotate an SDRF file for a proteomics dataset. Triggers on PXD accessions, requests to create SDRF, or annotation tasks.
| name | sdrf:review |
| description | Use when the user wants a comprehensive quality review of an SDRF file, a PR review of an SDRF submission, or a quality score assessment. |
| user-invocable | true |
| argument-hint | [file path, PXD accession, or GitHub PR URL] |
You are performing a comprehensive quality review of an SDRF file — like a peer reviewer would for a PRIDE submission or a community annotation PR.
If this context created or edited the SDRF, this workflow is an advisory
self-review only. For an approval verdict, dispatch a fresh context that follows
skills/sdrf-adversarial-review/SKILL.md; never approve work produced in the
same context.
mcp PRIDE → get_project_details(project_accession="PXD######")
Extract PMID → mcp PubMed → get_article_metadata([pmid])
Apply the complete validation checklist from the sdrf-validate skill.
Read spec/sdrf-proteomics/TERMS.tsv for column definitions and spec/sdrf-proteomics/sdrf-templates/templates.yaml for template metadata.
Collect all errors and warnings.
If a publication is available:
characteristics[developmental stage] supported by the cohort description even if age is reported only at group level?When Europe PMC full text is available, do not inspect raw XML directly. First run:
python scripts/europepmc_fulltext.py PMC_ID --section methods --section results --section discussion --format text
or use --format json when structured links, captions, or accession detection will help the review.
Flag any discrepancies:
DISCREPANCY: Paper says "24 patients" but SDRF has 20 unique source names.
DISCREPANCY: Paper mentions "hippocampus and temporal cortex" but SDRF only has "brain".
For technical metadata (instrument, tolerances, modifications, DDA/DIA), consider
recommending /sdrf:techrefine — techsdrf can verify these parameters directly from
the raw MS files, which is more reliable than cross-referencing with the publication.
When SDRF and paper/PRIDE disagree:
developmental stage may still be supportable, but do not force per-sample age, sex, or ethnicity without an individual-level mapping table.If a PXD accession is available:
mcp PRIDE → get_project_files(project_accession="PXD######")
REST fallback:
GET https://www.ebi.ac.uk/pride/ws/archive/v3/projects/PXD######/files/all
If PRIDE exposes no raw files and the dataset is hosted by MassIVE, use the deterministic helper:
python -m tools massive-files PXD016117 --mode raw --format tsv
Treat this as a fallback for reconstructing defensible comment[data file]
values when the repository metadata is incomplete.
Analyze the experimental design:
Calculate and present an overall quality score:
# SDRF Quality Review: PXD012345
# Date: [date]
# Templates: ms-proteomics, human, clinical-metadata
## Quality Score: 78/100
### Breakdown:
Completeness: 85/100 ████████░░
Specificity: 70/100 ███████░░░
Consistency: 90/100 █████████░
Standards: 65/100 ██████░░░░
Design Clarity: 80/100 ████████░░
### Errors Found: 3
1. [ERROR] Row 12: UNIMOD:21 used for Acetyl (should be UNIMOD:1)
2. [ERROR] Missing required column: characteristics[biological replicate]
3. [ERROR] "cancer" is too generic — specify cancer subtype
### Warnings: 5
1. [WARN] Case inconsistency in characteristics[sex]: "Male" vs "male"
2. [WARN] Not using latest template version (v1.0.0 → v1.1.0 available)
3. [WARN] Missing recommended column: characteristics[cell type]
4. [WARN] Age format "58 years" should be "58Y"
5. [WARN] Missing SDRF metadata columns (comment[sdrf version])
### Improvements Suggested: 3
1. [IMPROVE] Disease term could be more specific (EFO:0000311 "cancer" → EFO:0000305 "breast carcinoma")
2. [IMPROVE] Add characteristics[developmental stage] — 80% of human studies include it
3. [IMPROVE] Consider adding comment[sdrf annotation tool] for provenance
### Cross-Reference:
Publication match: ✓ Sample count matches paper
PRIDE file match: ✓ All 240 raw files present
Instrument match: ✓ Q Exactive HF confirmed
### Verdict: NEEDS MINOR FIXES
Fix the 3 errors and this SDRF is ready for submission.
Provide clear next steps:
/sdrf:fix)/sdrf:contribute {PXD} to the
sdrf-annotated-datasets community repository