# citesure init: start the paper with a citation integrity gate

> Source: <https://dev.to/sybilgambleyyu/citesure-init-start-the-paper-with-a-citation-integrity-gate-1lj9>
> Published: 2026-07-23 09:17:51+00:00

Most bibliography failures show up the night before arXiv or the journal deadline: placeholder DOIs, year pasted into `volume=`

, inverted page ranges, invented case reporters. The fix is a **paper repo that fails closed from day one**.

```
pip install https://github.com/SybilGambleyyu/citesure/releases/download/v0.5.68/citesure-0.5.68-py3-none-any.whl

citesure init my-paper
cd my-paper
citesure gate . --preset ci
citesure gate . --preset arxiv
```

`citesure init`

writes `refs.bib`

, pre-commit hooks (`gate --preset ci`

+ soft-lint), `.github/workflows/citesure.yml`

, and a short `CITESURE.md`

for coauthors. Empty bibliographies skip hard-ID floors until entries appear.

`url=`

Fifty-five live-clean packs (demography, sociology, political science, anthropology, ML, law, ecology, …):

```
citesure packs --gate-all
citesure packs --run anthropology-classics
```

Evidence: **256/256** integrity · **209/209** claim pairs · 55 packs.

Source: [github.com/SybilGambleyyu/citesure](https://github.com/SybilGambleyyu/citesure) · Demo: [citesure.sybilgambleyyu.workers.dev](https://citesure.sybilgambleyyu.workers.dev/)
