Index of every page on this site: llms.txt
All skills
nealcaren avatar

/bibliography-builder

@527018c
Run it yourself

Build bibliographies from manuscript citations by extracting in-text citations, matching them against a references.bib file, identifying issues, and generating a formatted reference list.

Use this Skill: https://skilld.dev/gh/nealcaren/social-data-analysis/bibliography-builder

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

phasesphase3-review.md

≈980 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Phase 3: Issue Review

Why This Phase Matters

Even after matching, issues may remain. This phase provides a systematic review before generating the final bibliography, catching problems that would otherwise appear in the output.

Your Tasks

1. Compile Issue Summary

Aggregate all issues from previous phases:

Missing Items:

  • Citations not found in references.bib or local library
  • Decision: Skip, add to references.bib, or mark as "[citation needed]"

Ambiguous Matches:

  • Multiple candidates for same citation
  • User decisions from Phase 2

Year Discrepancies:

  • Author found but year differs from citation
  • May indicate typo in manuscript or references.bib

Et Al. Verification:

  • All "et al." citations should now have full author lists from references.bib
  • Verify these match the manuscript's usage

2. Cross-Check for Consistency

Same author, multiple works:

  • If "Smith 2020" and "Smith 2021" both cited, are they the same Smith?
  • If "Smith 2020a" and "Smith 2020b" cited, are both in references.bib?

Name consistency:

  • Is "García" always spelled the same way?
  • Are co-authors consistent? (Smith and Jones vs. Smith and Brown)

Citation/reference match:

  • Every in-text citation should have a reference
  • Are there library items that were matched but perhaps shouldn't be? (false positives)

3. Generate Issue Report

Categorize issues by severity:

Critical (must resolve):

  • Missing references that will leave gaps
  • Clear mismatches

Warning (should review):

  • Name variations
  • Possible false positives

Info (for awareness):

  • Et al. expansions
  • Year suffix assignments

4. Get User Resolutions

For each critical issue, document the resolution:

Issue Resolution Action
Brown 2018 not found Skip Omit from bibliography
Jones 2019 ambiguous Use DEF456 "Organizational theory" article
Smith year mismatch (2019 vs 2020) Manuscript error Will note; use 2019 from references.bib

Output: Issues Report

Present the issue report in conversation (do not save to a file):

## Issue Review Summary

| Category | Count |
|----------|-------|
| Citations extracted | [X] |
| Successfully matched | [X] |
| Issues identified | [X] |
| Issues resolved | [X] |
| Remaining unresolved | [X] |

## Critical Issues

### Missing References

| Citation | Decision | Notes |
|----------|----------|-------|
| Brown 2018 | SKIP | Author confirmed not needed |
| Williams 2021 | ADD | User will add to references.bib |

### Resolved Ambiguities

| Citation | Selected Match | Rationale |
|----------|----------------|-----------|
| Jones 2019 | DEF456 | Context indicates organizational theory article |

## Warnings

### Year Discrepancies

| Citation | Manuscript | Library | Resolution |
|----------|------------|---------|------------|
| Smith 2020 | 2020 | 2019 | Use references.bib entry (2019); manuscript has typo |

### Name Variations

| Manuscript Form | Library Form | Status |
|-----------------|--------------|--------|
| García | Garcia | Acceptable variation (check references.bib entry) |

## Information

### Et Al. Expansions

| Citation | Full Author List |
|----------|------------------|
| García et al. 2021 | García, M., López, R., & Martín, S. |
| Johnson et al. 2020 | Johnson, A., Williams, B., Davis, C., & Miller, D. |

## Final Citation Count

- **Total unique citations**: [X]
- **With valid library match**: [X]
- **Skipped (unresolved)**: [X]

When You're Done

Present the issue report in conversation. Confirm:

  1. All resolutions are correct?
  2. Skipped citations are intentional?
  3. Ready to generate the final bibliography?

Once confirmed, proceed to Phase 4: Bibliography Generation.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The bibliography-builder skill automates academic citation extraction and matching using standard tools like git, grep, and pandoc. While functional, it processes untrusted user-provided manuscript and BibTeX files, which creates an attack surface for indirect prompt injection and potential command injection.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 527018c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month

README badge

README badge for nealcaren/social-data-analysis/bibliography-builder