Spine audit

From FOURTEEN1416/academic-agent-toolkit · View interactive version

Spine audit is an AI agent skill from the GitHub repository FOURTEEN1416/academic-agent-toolkit. Audits PaperSpine outputs for missing artifacts, shallow revisions, logic transfer, unsupported claims, and translation completeness before calling work done.

How to use this skill

Skill file

<!--ACAT-ADAPTED: 资产回填自 WUBING2023/PaperSpine@1fe46f0e76aa(单技能拆分重组编排)。溯源见 references/UPSTREAM.md。2026-09-09 专项治理。-->

PaperSpine Audit

Use this skill before calling a PaperSpine rewrite or build complete.

Required Checks

  1. Artifact completeness.
  2. Reference material workspace exists and has a source index.
  3. Motivation was confirmed by the user after research, not invented before

research.

  1. writing_rationale_matrix.md exists, is ordered, and covers the whole-work

framework plus the task-specific writing units for the selected scene. It

should split the paper/report into paragraph-sized, claim-sized, evidence,

model, synthesis, heading, caption, or competition-solution units as needed;

it must not be a fixed IMRaD checklist when the task is not an IMRaD paper.

The first row must deeply justify the whole-work framework, and each row must

include concrete motivation, reference/SOTA, target-scene, evidence, and

planned text-move anchors rather than short labels.

  1. No append-only or shallow revision for substantive rewrite tasks.
  2. Logic transfer from original draft or materials to final manuscript.
  3. Claim support from user evidence.
  4. LaTeX citation, label, and figure safety when a LaTeX project exists.
  5. citation_support_bank.md count, recency, and per-paper support-sentence

quality before citations are selected for Introduction/Discussion.

  1. Final LaTeX source exists; compiled PDF exists when a TeX engine is

available.

  1. Word output is structurally valid when a .docx is requested or generated.
  2. Translation coverage is complete when translation_package is zh,

including full_paper_translation.zh.md for the complete final paper text

and row-by-row translation of large intermediate artifacts such as

writing_rationale_matrix.md.

Scripts

Run when available:

# Resolve scripts from this repository checkout, not the user's project cwd
# (a bare `python scripts/...` path is the most common reason the command fails).
REPO="$(git rev-parse --show-toplevel)"
python "$REPO/academic-toolkit/skills/spine-audit/scripts/integrity_audit.py" paper_rewriting_output --markdown --write
python "$REPO/academic-toolkit/skills/spine-audit/scripts/artifact_check.py" paper_rewriting_output --markdown --write
python "$REPO/academic-toolkit/skills/spine-audit/scripts/revision_audit.py" <original> <revised> --markdown
python "$REPO/academic-toolkit/skills/spine-audit/scripts/structured_review.py" paper_rewriting_output --dispatch
# Then: launch three parallel sub-agents per review_prompts/dispatch.md
# After sub-agents complete: python "$REPO/academic-toolkit/skills/spine-audit/scripts/structured_review.py" paper_rewriting_output --validate review_prompts
python "$REPO/academic-toolkit/skills/spine-audit/scripts/citation_quality_audit.py" paper_rewriting_output --write
python "$REPO/academic-toolkit/skills/spine-audit/scripts/latex_guard.py" <main.tex> --bib <references.bib> --markdown
python "$REPO/academic-toolkit/skills/spine-audit/scripts/word_guard.py" paper_rewriting_output/final_paper/paper.docx --markdown --output paper_rewriting_output/word_report.md

Same-name guard scripts exist in several spine skill directories (registered

in academic-toolkit/data/duplicate_assets_registry.json); use this skill's

own copies shown above.

Multi-Agent Review Flow

The structured review uses independent sub-agents for genuine reviewer

independence:

  1. Run structured_review.py --dispatch to generate three isolated reviewer

prompts under review_prompts/.

  1. Read review_prompts/dispatch.md and launch three Agent calls in parallel.

Each agent reads ONLY its own prompt file and the manuscript.

  1. After all three agents write their output files, run `structured_review.py

--validate review_prompts` to check independence (cross-contamination

detection via text similarity).

  1. Produce Editor Synthesis merging the three independent reviews.

Required Outputs

Do not mark the task complete if required artifacts are missing, if the final

manuscript contains unsupported claims, if translation is partial, or if the

rationale matrix is generic.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.