method-submission-package
Assembles a journal submission package from the SAP, outputs, tables, figures, reporting checklist, and provenance. Use when the user needs a submission bundle.
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- method-submission-package
- description
- Assembles a journal submission package from the SAP, outputs, tables, figures, reporting checklist, and provenance. Use when the user needs a submission bundle.
- argument-hint
- [optional: --out-dir manuscript --format quarto]
02 资源文件 4
03 SKILL.md 正文
Manuscript Package Builder
Run the commands below from the user's project root. The
SKILL_DIRanchor locates the bundled script;--project-rootand--out-dirstay project-relative.
Skill Value
- Problem it solves: Manuscript submission packages fail when required outputs, checklist items, and provenance are scattered.
- Use when: The user needs a journal/manuscript package, submission bundle, or final report handoff.
- Output: A manuscript package manifest with included artifacts, missing items, and readiness notes.
- Ask only if: Only when target journal, package scope, or required artifacts are unclear.
- Do not do: Do not invent missing tables, figures, or manuscript claims.
- Interaction: Check repo/config/chat evidence first. Ask one decision-changing question at a time; use the current harness's blocking question UI when available, otherwise present numbered choices and wait.
Build a traceable manuscript package manifest. The skill wires known study artifacts together; it does not invent manuscript prose or scientific claims.
Workflow
- Confirm the SAP exists and is the correct study contract.
- Confirm Table 1 and figure manifests exist, or surface them as blockers.
- Include selected reporting checklist files from the guideline registry.
- Include preregistration and model-card artifacts when applicable.
4b. AI-use disclosure. When AI-assisted technologies contributed to the manuscript, confirm the disclosure names the tool and its purpose, appears in both the cover letter and the manuscript, lists no AI tool as an author, and leaves a named human accountable for the content (ICMJE Recommendations, Section V and Section II.A.4). Treat a missing or vague disclosure as a package blocker.
4c. ICMJE COI disclosures. Collect each author's ICMJE disclosure data: relevant financial activities with commercial entities, funding received for this work, and affiliation (ICMJE Recommendations, Section II.D). Write the form-ready data as one structured entry per author under
manuscript/coi/— data only; each author completes and signs their own ICMJE form. Cross-check the manuscript's COI statement against the collected data and against every funder named in the manuscript, cover letter, or registry entry. A missing COI statement, a funder present in one source but absent from another, or a "no conflicts" statement contradicted by the collected data blocks the package until reconciled. - If the deliverable is a Word manuscript, run
method-citationsbefore final packaging and include the field-bearing DOCX master plus its citation ledger; a flattened DOCX or static bibliography is not the editable master. - Number gate. Load the
method-numbersskill and run itscheckon the manuscript sources, rendered copies, and tables (it readsanalysis/numbers/registry.json). AFAILexit, or a gate that could not run, blocks readiness: quote itsfile:line: reason: tokenlines as printed, and never add a result to the allowlist or edit the registry to make it pass. - Run:
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
python3 "$SKILL_DIR/scripts/build_package_manifest.py" --project-root . --out-dir manuscript --format quarto
The builder independently runs the number gate and records its status in the manifest. It defaults to the project-local analysis/numbers/method_numbers.py installed by method-numbers; if that helper is absent, pass --number-gate with the absolute script path obtained by loading that skill. Use repeated --number-input arguments for an explicitly scoped set of manuscript/table files. Missing tooling, no reportable occurrences or a failing gate produces blocked readiness, even when all publication artifacts exist.
- The script writes
checklists,registry_packages, andreproducibilityas empty lists and rewrites the manifest on every run; after the final run, add the artifacts from steps 3-4 to those lists. For a Word deliverable, also set the optionalword_masterandcitation_ledgerpaths from the step 5__CE_CITATION_LEDGER__handoff (docx=andpath=). - Review
manuscript/package-readiness-report.mdbefore calling the package submission-ready. - The script never sets
ready-for-signoff. The agent setsreadiness: ready-for-signoffonly after step 8, when the script result isready-with-review, the step 6 number gate printedPASS, and the user names the human reviewer who reviewed the readiness report; record that name insignoff_reviewer. Never set it from ablockedresult or without a named reviewer. A rerun resets readiness, so repeat steps 6-10 after any rerun.
Quarto Path
Load the method-notebook-standards skill before creating or materially extending executable Quarto analysis notebooks that feed the manuscript package.
For Quarto projects, create or update a package manifest that expects:
manuscript/manuscript.qmdmanuscript/package-manifest.jsonmanuscript/tables/manuscript/figures/manuscript/supplement/manuscript/checklists/
For non-Quarto projects, generate the same package manifest without forcing a conversion; the script writes the manuscript.qmd section stub only for --format quarto.
References
@./references/package-manifest-schema.yaml
@./references/quarto-manuscript-template.md
@./references/journal-package-checklist.md
04 同仓库更多 Skills
skill-one
Sample skill
disabled-skill
A skill with model invocation disabled
claude-only-skill
A skill restricted to Claude Code only
default-skill
暂无简介
custom-skill
暂无简介
method-write
Drafts, revises, and audits evidence-bound manuscripts, sections, abstracts, and reviewer responses with claim provenance. Use when scientific prose must be written or revised (entry point).