Skip to content

brycewang-stanford/Auto-Empirical-Research-Skills / skills/06-fuhaoda-stats-paper-writing/stat-writing

stat-writing

Unverified

End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book manuscripts.

references/40-bibtex-natbib.md

View on GitHub
<!--
  ╔══════════════════════════════════════════════════════════════╗
  ║  本文件为开源 Skill 原始文档,收录仅供学习与研究参考        ║
  ║  CoPaper.AI 收集整理 | https://copaper.ai                  ║
  ╚══════════════════════════════════════════════════════════════╝

  来源仓库: https://github.com/fuhaoda/stats-paper-writing-agent-skills
  项目名称: stats-paper-writing-agent-skills
  开源协议: MIT License
  收录日期: 2026-04-02

  声明: 本文件版权归原作者所有。此处收录旨在为社会科学实证研究者
  提供 AI Agent Skills 的集中参考。如有侵权,请联系删除。
-->

# BibTeX, natbib, and compilation workflow

## Citation commands (natbib)

- `\citep{KEY}`: parenthetical citation.
- `\citet{KEY}`: textual citation.
- `\citep[see][p.~26]{KEY}`: citation with notes.

Use citation commands consistently. Do not manually type author-year text.

## Build order

- Recommended: `latexmk -pdf main.tex`
- Manual sequence: `pdflatex -> bibtex -> pdflatex -> pdflatex`

## BibTeX hygiene checklist

- Stable key naming convention.
- No duplicate keys.
- Protect capitalization with braces for acronyms/proper nouns.
- Use page ranges with double dash (`110--118`).
- Fill required fields by type (`@article` volume/pages; `@book` publisher/address when style requires).
- Avoid literal `et al.` in author fields.
- Avoid duplicate DOI values across unrelated entries.

## JDS-aligned checklist

- Clean and minimal bibliography with only cited references.
- No noisy or malformed entries in submitted `.bib`.
- Ensure references can compile without manual edits.

## Script

Run:

```bash
python scripts/check_bib.py --tex main.tex --bib refs.bib
```

The script reports missing citations, unused entries, and hygiene warnings.

## Guardrail

Never invent citations. If a citation is needed but unknown, use `\todo{add citation}`.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall