Reads and updates a project-passport.yaml file to track confirmed facts, artifact versions, sources, open issues, and quality checks for medical paper workflows. Other dyz-med-* skills use it to share state and avoid redundant questions.
Ships in dyz-med-all. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
paper/project-passport.yaml 是轻量状态索引,不是电子数据采集系统、临床试验主文件、伦理记录或提交系统。
源数据和正式文件仍是权威来源,passport 只保存路径、版本、状态和必要摘要。
unknown、not_checked、needs_confirmation 或空值;不得合理猜测。每项已确认事实尽量带 source、confirmed_by_role 和 confirmed_at。
conflicting。id 寻址,保留用户实际 path,绑定 version 与原始字节 sha256;有当前版本的相应验证才记录为 complete,文件存在不够。inputs、scope、execution_status、applicability、domain_result、report 和日期。执行完成、领域结论及当前有效性分开,不能把 not_run 写成通过,不能把 completed 或校验器退出0当科学PASS。字段、路径、兼容规则和退出码见工件合同。本技能内置验证脚本,可独立运行,无兄弟目录导入。JSON只需标准库;YAML缺少既有PyYAML时报告 blocked,不安装。
从实际加载的本技能目录定位脚本;下面的 <本技能目录> 须替换为 SKILL.md 所在目录的绝对路径。在医生的论文项目根目录运行,输入及 --root 指向论文项目,不把项目材料写入技能安装目录。
python -B "<本技能目录>/scripts/validate_passport.py" paper/project-passport.yaml --root .
--root 是所有记录路径的根;省略时为 passport 所在目录,不能自动把 paper/ 当项目根。输出逐项问题、执行状态、领域结果与 freshness。0仅合同及绑定有效,1合同/文件错误,2参数错误,3存在 stale/unverified,4缺YAML依赖。只核验声明的依赖和文件字节,不发现所有遗漏输入,也不替代科学审查或人类授权。状态读取不会运行分析、写作、修订或投稿。
默认更新:
paper/project-passport.yaml存在关键未确认项时,可另生成:
paper/runtime/open-items.md不要因为开放项存在就自动阻止其他 Skill;由具体任务根据风险决定是否需要确认。
agents/openai.yaml (opens in a new tab)examples/虚构项目状态文件样例.yaml (opens in a new tab)references/artifact-contract.md (opens in a new tab)references/项目状态记录与可追溯性实践说明.md (opens in a new tab)scripts/validate_passport.py (opens in a new tab)templates/blocking-report.md (opens in a new tab)templates/project-passport.template.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/dyz-med-all:dyz-med-passportfrom dyz-med-all
npx claudepluginhub duyunzhoudyz/dyz-med-paper-skills --plugin dyz-med-all32 skills in this plugin
/dyz-med-abstract从已完成正文和已核实结果生成或修订医学论文标题、结构化摘要与关键词,并按目标期刊当前作者须知核对 分节、字数和必报信息。当用户要求写摘要、压缩摘要、起学术标题或制作中英双语摘要时使用;不从缺失正文 中编造结果,也不把内置期刊配置当作实时官方要求。 Use for medical manuscript titles, structured abstracts and bilingual abstracts./dyz-med-analyze对医学研究原始数据做只读结构与质量检查,先形成可审阅的统计分析计划,获用户明确批准后再生成并运行本地 R 或既定统计代码,交付脚本、日志、诊断和可追溯结果。当用户要求分析 CSV、Excel、SPSS、Stata 等患者级 数据或拟定统计方案时使用;仅判断数据能支持什么问题交给 dyz-med-data-adequacy,解释既有结果交给 dyz-med-interpret,检验既有结果稳健性则交给 dyz-med-sensitivity。 Use for biostatistical analysis planning and approved R or other local statistical execution./dyz-med-cnki为医学主题设计并执行可复现的中英文文献检索,产出查询式、检索记录和去重后的候选文献池。当用户要“查文献” “覆盖 PubMed 和中文来源”或核实某研究问题的文献范围时使用;本技能负责发现与记录,深度精读交给 dyz-med-key-literature,系统综述的正式筛选与纳入流程交给 dyz-med-screening-pipeline。无法直接访问知网、万方或 维普时只能提供 discovery_only 线索,不得声称完成了数据库检索或全文获取。 Use for PubMed and Chinese medical literature search; database execution requires access.Other plugins' skills for the same job