studio/core/transformation-engine/SKILL.md
Director K's orchestration layer — takes forensic-state.json from any upstream source (manga forensics, Ren'Py extraction), runs knowledge injection, delegates to lewd-writer and quality-audit, manages rewrite loop until score >= 85. Input-agnostic; any source producing valid forensic-state.json can plug in.
npx skillsauth add datdang-dev/light-novel-development transformation-engineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Transformation Engine is the central orchestration layer that bridges forensic analysis and final prose output. Operated by Director K, it takes a standardized forensic-state.json (from any source — Kana's manga forensics or Ren'Py extraction) and produces a verified draft-prose.json through a 4-phase pipeline:
content_tagsThis engine is input-agnostic by design — any upstream source that produces a valid forensic-state.json can plug into it.
forensic-state.json from the provided path{{project_root}}/studio/schemas/| Step | File | Purpose |
|------|------|---------|
| 1 | steps/step-01-knowledge-injection.md | Run knowledge_injector.py to generate knowledge_payload.md |
Steps 2–4 are delegated to the Lewd Writer and Quality Audit engines respectively.
| File | Purpose |
|------|---------|
| knowledge_injector.py | Python script — queries knowledge base using content_tags from forensic state, outputs knowledge_payload.md |
Usage:
python3 {{project_root}}/studio/core/transformation-engine/knowledge_injector.py \
{forensic_state_path} \
{payload_output_path} \
{{project_root}}/studio/knowledge/
DIR — lnd-orchestrator.agent.yaml)forensic-state.schema.jsondraft-prose.schema.json, audit-report.schema.jsoncore/lewd-writer, services/quality-audit{{project_root}}/studio/knowledge/ (fetish-db, glossaries, style-guides)| Intent | Trigger | Route |
|--------|---------|-------|
| Full transformation | Invoked by Gooner Alchemist pipeline | Execute steps 1 → delegate to Lewd Writer → Quality Audit |
| Knowledge injection only | Manual run | Execute knowledge_injector.py standalone |
development
SillyTavern framework engineering expert — Prompt Manager architecture, character card V3 optimization, context template engineering, lorebook design, and Vietnamese R18 roleplay configuration. Bridges LND Studio character bibles to high-fidelity ST deployments.
documentation
Kuro's R18 Research & Downloader Engine. Harvests fetish references, downloads R18 assets (novels, manga, illustrations), and extracts natural Japanese R18 prose style guides from Syosetu.
development
Ultimate Novel Development Pipeline — A slow-paced, deeply contextualized narrative engine. Orchestrated flow: Kana (Visuals) -> Luna (World/Pacing) -> Suki (Long-form Prose).
data-ai
Luna's Scene Prelude engine — generates an erotic narrative context (micro-scenario) from Kana's forensic data, bridging raw visual analysis to Suki's caption writing. Outputs a structured scenario seed that maximizes erotic tension and narrative coherence.