addon-header-footer-cleanup
Add-on: Header/Footer Cleanup (Repeated Lines)
Use this skill to implement the cleanup stage that removes repeated header/footer noise from LLM-facing text while preserving raw page content for traceability.
Inputs
Collect:
REPEAT_THRESHOLD_RATIO: default0.6(line must appear on >= 60% of pages to be a removal candidate).TOP_BAND_LINES: default3(lines considered “header band”).BOTTOM_BAND_LINES: default3(lines considered “footer band”).MIN_LINE_LEN: default6(ignore tiny lines for repetition counting).
Algorithm (Deterministic)
- For each page, split into lines.
- Normalize each line for comparison:
- NFKC normalize
- lowercase
- collapse whitespace
More from ajrlewis/ai-skills
architect-python-uv-fastapi-sqlalchemy
Use when scaffolding production-ready FastAPI services with uv, SQLAlchemy, Alembic, Postgres, Docker, and CI gates.
11addon-rag-ingestion-pipeline
Use when adding multi-format RAG ingest, chunk, embed, and retrieval pipelines; pair with architect-python-uv-batch or architect-python-uv-fastapi-sqlalchemy.
11addon-docling-legal-chunk-embed
Use when you need legal PDF to markdown extraction plus clause chunking and embedding prep; pair with addon-rag-ingestion-pipeline and architect-python-uv-batch.
10addon-llm-ancient-greek-translation
Use when adding Koine or Attic Greek translation to Next.js content flows; pair with ui-editorial-writing-surface and addon-nostr-nip23-longform.
10architect-python-uv-batch
Use when scaffolding production-ready Python uv batch or worker projects with Docker required by default.
10addon-human-pr-review-gate
Use when agent-generated code must pass a human PR review gate with trusted checks and merge blocks; pair with addon-decision-justification-ledger and architect-stack-selector.
9