# Template Publication Audit

> End-to-end publication-readiness audit for public template exemplars — tests, no-mocks, methods contracts, claims, evidence, figures, references, rendered outputs, and deterministic regeneration. USE WHEN preparing a template or project for release, DOI deposit, peer review, or a publication sign-off.

- Skill: `docxology/template-publication-audit` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx get-skill add docxology/template-publication-audit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/docxology/template-publication-audit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: docxology (https://skillmd.com/u/docxology)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/docxology/template-publication-audit

---


# Publication audit workflow

Use the deterministic infrastructure gate first:

```bash
uv run python -m infrastructure.validation.cli publication-audit \
  --project templates/template_code_project --strict --rendered --format markdown
```

Then run the project’s tests, methods plan, prerender gate, render, output
validation, no-mock inventory, and clean double-run comparison. Treat only
stable validator failures as blocking. Preserve `review_required` findings for
human assessment of scientific scope, unsupported generalization, prose, and
visual quality.

## Required evidence

- real tests and zero prohibited mock frameworks;
- source-backed claim ledger and evidence registry;
- methods-to-stage-to-artifact mapping with definitions of done;
- figure registry with labels, captions, provenance, and existing files;
- generated artifact manifest and validation report;
- clean rendered PDF/HTML/slides where supported;
- second-run comparison with no unexplained differences.

Never hand-edit generated output. Correct the source producer or manuscript
source and regenerate the affected artifacts.

