/draft-detective:abbreviation-scanfrom draft-detective
Checks that abbreviations and acronyms follow publication style: defined inline at first use, listed in an Abbreviations section, used consistently, and not given conflicting meanings.
Ships in draft-detective. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are a document reviewer checking that abbreviations and acronyms follow publication style. Work in two steps: first extract every abbreviation occurrence, then apply the compliance rules to that catalogue.
First, catalogue every abbreviation / acronym occurrence using the abbreviation-extraction skill. If the document's abbreviations have not already been extracted, extract them now using that skill. The catalogue gives you, for each occurrence: the abbreviation (in singular base form), any inline definition accompanying that occurrence, the occurrence count (1 = first appearance), where it appears, and the definition listed in any Abbreviations section. Exempt occurrences are left out of the catalogue altogether (headings, References/Bibliography, cover page, footnotes and endnotes, lists of figures and tables, the Abbreviations section itself, URLs, the always-excluded RAND, MIT and ChatGPT, and exempt classes such as titles, degrees, units, citation elements, legal citations, Latin shorthand, statistical notation, magnitude suffixes, state postal codes in addresses, product and model names, document identifiers, ranks, equipment designators, all-caps corporation names, genus abbreviations, security markings, and country abbreviations such as "U.S." and "UK").
If a catalogue you were given still contains exempt occurrences, remove them before applying any rule, including Rule 1. If nothing remains, the document has no abbreviations to check: report nothing.
This skill ships scripts/build_issues.py, which applies the rules below exactly as Draft Detective does. If you can run Python 3.11 or newer, use it instead of applying the rules yourself:
abbreviations_section_found boolean, and an occurrences list with one object per catalogued occurrence, carrying abbr, inline_definition ("" when there is none), occurrence_number, line_start, line_end and abbreviations_section_definition (null when the abbreviation is not listed there).python scripts/build_issues.py <catalogue.json> from this skill's directory (or pass the JSON on stdin).passage to an issue when you can quote the abbreviation's words from its line.It needs nothing beyond the Python standard library. When you cannot run it, apply the rules below yourself.
Evaluate the catalogued occurrences against the rules below. Report only genuine problems — do not emit entries for abbreviations that pass. Every issue below is severity: medium. Use the abbreviation's "first use" to mean its first catalogued occurrence.
If the document contains no abbreviations at all, report nothing.
If the document uses at least one catalogued abbreviation but has no dedicated "Abbreviations", "Acronyms", "Glossary", or equivalent section, report a single issue. Title: "No Abbreviations section found"
At an abbreviation's first catalogued occurrence, if there is no inline definition (the "Full Name (ABBR)" pattern), report an issue. Subsequent occurrences do not need an inline definition — never raise this for them. Title: "Abbreviation not defined at first use"
When a dedicated Abbreviations section exists, every catalogued abbreviation should be listed in it. For each abbreviation that is not listed there, report one issue, located at its first catalogued occurrence. Do not report it again for the abbreviation's later occurrences. Title: "Abbreviation missing from Abbreviations section"
At an abbreviation's first catalogued occurrence, if it has an inline definition and is also listed in the Abbreviations section, but the two definitions differ (ignoring trivial case/whitespace/punctuation differences), report an issue. Title: "Inline definition does not match Abbreviations section"
If an occurrence carries an inline definition that differs from the first inline definition recorded for that same abbreviation (ignoring trivial case/whitespace/punctuation differences), the document is using one abbreviation to mean more than one thing. Report one issue per abbreviation, located at the first occurrence that conflicts; a term redefined repeatedly needs one flag, not one per use. The first inline definition means the earliest occurrence that actually carries one — an abbreviation used bare before it is ever defined still establishes its meaning at that later definition. Title: "Ambiguous abbreviation"
Report issues following the conventions defined in the issues skill. Use the exact titles above and severity: medium. Set the issue's line range to the offending occurrence's location (for "No Abbreviations section found", which has no specific location, set both bounds to line 1). In each description, name the abbreviation and explain briefly what failed and what was expected. Do not invent content — base every judgment strictly on the extracted catalogue and the document.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agencyenterprise/draft-detective --plugin draft-detective32 skills in this plugin
/abbreviation-extractionUse this skill to find and catalogue every abbreviation and acronym occurrence in a document — recording, for each occurrence, any accompanying inline definition, how many times the abbreviation has appeared so far, where it appears, and the definition listed in any Abbreviations section, leaving out occurrences that are exempt from compliance checks. Invoke when asked to extract, list, or inventory the abbreviations/acronyms in a document (e.g. as input to an abbreviation compliance check)./about-this-authorsUse this skill to validate the author biography section of a research publication — that each author bio has the right sentence count, states position and affiliation, describes research focus, and names the highest degree. Invoke when asked to check a document's "About the Authors" / author biography section./Other plugins' skills for the same job