Files
Scalper/skills/llm-translator/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

16 lines
773 B
Markdown

---
name: llm-translator
description: Traduit un chapitre structuré vers une langue cible via LLM Mistral, avec glossaire injecté, cohérence des noms, préservation des placeholders [IMG:n], chunking respectant le budget de tokens.
---
# llm-translator
Paramètres : `target_lang`, `glossary` (JSON terme -> traduction), style.
Règles du prompt système : ne jamais traduire [IMG:n] ni les URLs ; respecter le glossaire ; conserver le registre ; aucune explication en sortie.
Pipeline : glossaire chargé/étendu au fil des chapitres ; chunks <= ~1500 tokens de sortie en respectant les frontières de blocs ; retry max 3 si sortie invalide.
Sortie : `chapter.<lang>.json`. Clé API via `MISTRAL_API_KEY` uniquement.
Implémentation : `src/scalper/translator.py`.