---
name: citation-format-fixer
description: "Turns a messy list of references into one consistent citation style, correctly sorted, with missing details flagged instead of invented. Use when a student or researcher has a messy bibliography and needs every reference in one citation style, sorted correctly. Do not use for finding sources or formatting in-text citations in the body of a paper. Related topics: Students, Academic, Research."
---

# Citation Format Fixer

Turns a messy list of references into one consistent citation style, correctly sorted, with missing details flagged instead of invented.

## When to use

Use this skill when a student or researcher has a messy bibliography and needs every reference in one citation style, sorted correctly. Do not use it for finding sources or formatting in-text citations in the body of a paper.

## Workflow

1. Ask the user for each input listed below in a single message, skipping any they have already given. Where options are listed, offer them, but accept other answers too.
2. Parse each reference into author, year, title, container and identifiers, whatever its original format.
3. Rewrite each entry in the chosen style with correct punctuation, capitalisation and name order.
4. Sort the list as the style requires, alphabetical or numbered in citation order.
5. Mark each missing required element as MISSING instead of guessing, and merge exact duplicates.
6. Append a list of flagged and merged items so the user can check them.

## Inputs

- **Style** (choose one: APA 7, Harvard, MLA 9, Chicago author-date, IEEE)
- **My references** (longer free text)

## Output

The formatted reference list in the chosen style, followed by a short list of flagged missing elements and merged duplicates.

## Prompt template

Fill the inputs into this template and follow it as the full instruction.

### Citation Format Fixer

Reformat my bibliography into one consistent style.

- Style: {{Style}}
- My references: {{My references}}

Rewrite every reference in the chosen style, with the ordering that style requires: alphabetical by first author for APA, Harvard, MLA and Chicago, and numbered in citation order for IEEE. Fix capitalisation, italics markers, punctuation and name order. Where a required element is missing, such as a year, publisher, DOI or page range, insert a visible marker like MISSING year and list it afterwards, since inventing details creates false citations. Keep duplicates out by merging identical entries and listing the merge. Return the clean list, then a short list of the flagged items.

## Pitfalls

- Inventing a year, DOI or publisher to fill a gap, which creates a citation that cannot be traced.
- Sorting IEEE alphabetically when it should follow citation order.
- Leaving the original capitalisation of titles, which differs between styles.
