brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
corpus-qualityCorpus-level quality, deduplication, structured output, validation, and evaluation guidance for Trafilatura web corpora.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a Trafilatura task is about many-page corpus quality rather than one-page extraction mechanics: duplicate removal, stable fingerprints or file names, XML/TEI/CSV/JSON corpus outputs, metadata completeness, TEI/XML validation, benchmark context, or deciding which quality checks are safe to run.
| Need | Use |
|---|---|
| Choose a corpus output format, validate JSON/CSV/XML/XML-TEI, or reason about metadata fields | references/data-formats-and-quality.md |
| Remove repeated boilerplate, detect exact duplicate segments, compute near-duplicate fingerprints, or use Simhash | references/deduplication.md |
| Decide whether to run the bundled smoke, safe native validation classes, the quality gate, or heavy benchmark comparisons | references/benchmarks-and-evaluation.md |
| Diagnose duplicate boilerplate, invalid XML/TEI, missing metadata, benchmark dependency gaps, or NLTK data issues | references/troubleshooting.md |
| Run a no-network executable check for this sub-skill's core assumptions | scripts/corpus_quality_smoke.py |
extract(), bare_extraction(), html2txt(), metadata extraction, or one-page API snippets, route to python-extraction first and return here only for corpus-quality choices.cli-batch-processing; this sub-skill only explains the corpus-quality consequences of those outputs.discovery-downloads.with_metadata=True enriches outputs; only_with_metadata=True drops documents missing title, date, or URL.deduplicate=True or Extractor(dedup=True).content_fingerprint() for content identity/similarity tracking, Simhash for thresholded near-duplicate comparisons, and hash-based names when the output path should reflect content.validate_tei() for XML-TEI, and run scripts/corpus_quality_smoke.py in an environment where Trafilatura is installed.