Agent skill
audit-extract
Phase 1: Extract footnotes from DOCX with formatting annotations
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/audit-extract
SKILL.md
Phase 1: Extract Footnotes
Parse the DOCX file and build structured data for all subsequent phases.
What This Phase Does
- Parse
word/footnotes.xmlvia lxml - Extract each footnote's runs with formatting flags (italic, small caps, bold)
- Parse
word/_rels/footnotes.xml.relsfor hyperlink URLs - Build citation registry (hereinafter definitions, author-to-first-cite mapping)
- Resolve cross-references (
supra note [_]placeholders) - Extract all URLs for archiving inventory
Script
BB_SCRIPTS=$(${CLAUDE_PLUGIN_ROOT}/skills/bluebook-audit/scripts) && python3 "$BB_SCRIPTS/extract_footnotes.py" --docx <path>
Output: scratch/footnotes_data.json
Gate: Exit Extract
Before proceeding to Check phase:
-
scratch/footnotes_data.jsonexists - Contains entries for ALL footnotes in the document (verify count)
- Each entry has
formatted_textfield with inline markup - Citation registry has hereinafter definitions
- URL inventory extracted
If footnote count doesn't match document: STOP. Investigate missing footnotes before proceeding.
Next Phase
Read ${CLAUDE_PLUGIN_ROOT}/skills/bluebook-audit/skills/audit-check/SKILL.md and follow its instructions.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?