Files
Scalper/skills/chapter-cleaner/SKILL.md
T
Vibe f38a1d630b feat: init Scalper — pipeline légal scrape+traduction (SCAL-1..SCAL-12)
- legal-source-check (liste de blocage scanlation, robots.txt, rate limiting)
- sources: demo (fixture) + mangadex (API officielle)
- cleaner, translator (LLM Mistral + glossaire), QA, exporter (md/json/html)
- CLI + pipeline resumable (state.json), 22 tests unitaires
- sous-agents Mistral Agents SDK: orchestrator + scraper/translator/qa
- skills/ (6 SKILL.md), docs légales, CI GitHub Actions

Refs: Jira SCAL-1 (Epic CDC), SCAL-2..SCAL-12 (backlog Scrum)
2026-11-16 10:07:28 +00:00

12 lines
549 B
Markdown

---
name: chapter-cleaner
description: Nettoie un chapitre brut (HTML/JSON) : retire boilerplate, watermarks, liens prev/next ; segmente en blocs typés (dialogue/narration/caption/onomatopée/image [IMG:n]) ; produit chapter.json.
---
# chapter-cleaner
Étapes : supprimer nav/pub/watermarks/liens prev-next ; extraire le contenu principal ; segmenter en blocs ordonnés typés ; normaliser UTF-8 ; détecter la langue source.
Sortie : `chapter.json` = `{meta, blocks: [{index, type, text, image}]}`.
Implémentation : `src/scalper/cleaner.py`.