bib:validate
Check a bibliography file for YAML syntax errors, missing required CSL fields, duplicate IDs, and absent issued dates. Returns actionable errors and warnings.
Instructions
Validate the entire bibliography file: YAML syntax, required fields per CSL type, duplicate IDs, and missing issued dates. Returns a list of errors and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSL-YAML bibliography file (required). Look for "bibliography:" in pandoc.yaml or the YAML frontmatter of .md files. | |
| style | No | Optional path to a CSL style file (.csl). Enables style-aware required-field validation. |