$npx -y skills add yha9806/academic-writing-toolkit --skill verify-refsUse when checking BibTeX reference records for missing fields, malformed identifiers, duplicate keys, or metadata mismatches before submission.
| 1 | # /verify-refs — Reference Authenticity Check |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | Check reference records for missing required fields, duplicate keys, malformed DOI values, malformed arXiv identifiers, and invalid URLs. The default mode is offline and deterministic. |
| 6 | |
| 7 | ## Trigger Words |
| 8 | |
| 9 | This skill activates on: `verify refs`, `verify references`, `reference check`, `/verify-refs`. |
| 10 | |
| 11 | ## Workflow |
| 12 | |
| 13 | 1. Identify the target Markdown or `.bib` file. If the user does not specify one, ask. |
| 14 | 2. Run: |
| 15 | `python3 scripts/verify-refs.py --bib {path} --json` |
| 16 | 3. Report issues by entry key and severity. |
| 17 | 4. For explicit metadata verification, run: |
| 18 | `python3 scripts/verify-refs.py --bib {path} --json --online` |
| 19 | 5. Use CrossRef for DOI metadata, Semantic Scholar as a secondary metadata source, and arXiv for preprint identifiers. Online checks must be explicit because they depend on network availability. |
| 20 | 6. In tests or offline review, use `--metadata-dir {dir}` to read CrossRef JSON, Semantic Scholar JSON, and arXiv Atom fixtures instead of live network calls. |
| 21 | |
| 22 | ## Constraints |
| 23 | |
| 24 | 1. Do not import project-specific reference rules from other repositories. |
| 25 | 2. Do not auto-fix reference records without user approval. |
| 26 | 3. Keep output plain Markdown with no emoji. |
| 27 | 4. Treat CrossRef, Semantic Scholar, and arXiv as verification sources, not as citation style authorities. |