studio/core/lewd-writer/SKILL.md
Core R18 prose generation engine — transforms forensic analysis into gooner-grade, sensory-saturated Vietnamese Light Novel prose via Suki agent. Use when the user says '/prose-adapter', '/lewd-writer', or 'write prose'.
npx skillsauth add datdang-dev/light-novel-development lewd-writerInstall 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 Lewd Writer is the primary prose generation engine of LND Studio. Operated by the Suki agent, it takes a completed forensic-state.json (from Panel Forensic) and an optional knowledge_payload.md (from Transformation Engine) and produces a draft-prose.json containing fully realized R18 Vietnamese Light Novel prose.
The engine enforces a 10-step sequential pipeline with strict escalation loops, sensory density requirements, and format compliance checks. Output is validated against draft-prose.schema.json before handoff to the Quality Audit engine.
Inputs:
Outputs:
draft-prose.schema.json) — Contains:
metadata: manga_name, page_number, POVprose: string containing fully realized Vietnamese Light Novel prose.sensory_affect: audit score breakdown including olfactory, tactile, visual, dialogue_escalation, tsundere_breakdown, and stroking_metric.{{project_root}}/studio/config/config.yaml (resolve output_folder, communication_language)forensic-state.json pathknowledge_payload.md (if available){{project_root}}/studio/schemas/draft-prose.schema.jsonsteps/step-01-context-loading.md| Step | File | Purpose |
| :--- | :--- | :--- |
| 1 | steps/step-01-context-loading.md | Load forensic report, knowledge payload, and story bible context |
| 2 | steps/step-02-scene-planning.md | Plan scene structure, pacing, and escalation loops |
| 3 | steps/step-03-environment-prose.md | Write environmental atmosphere and spatial setup |
| 4 | steps/step-04-dialogue-driven-action.md | Generate dialogue-driven action sequences |
| 5b | steps/step-05b-format-ensure.md | HARD GATE — enforce light-novel-prose template format compliance |
| 5c | steps/step-05c-sensory-injection.md | Inject mandatory sensory markers (smell, touch, fluid, etc.) |
| 6 | steps/step-06-aftermath-polish.md | Write post-climax aftermath and lingering effects |
| 7 | steps/step-07-quality-check.md | Self-audit against quality gates before handoff |
| 8 | steps/step-08-wiki-update.md | Update character wiki/bible with new state |
| 9 | steps/step-09-final-report.md | Generate final prose report and draft-prose.json — WORKFLOW COMPLETE on output |
Note on 5b/5c naming: These are intentionally sub-steps of a single quality enforcement phase. Step 5b is a hard gate — prose CANNOT proceed to 5c if format violations remain.
| File | Purpose |
| :--- | :--- |
| data/gooner-manifesto.md | Core writing philosophy and style guide |
| data/onomatopoeia-library.md | Vietnamese SFX/onomatopoeia reference |
MOD — lewd-writer.agent.yaml)forensic-state.schema.jsondraft-prose.schema.jsonsfx-lookup, fetish-guidance, style-enforcer| Intent | Trigger | Route |
| :--- | :--- | :--- |
| Full prose generation | /prose-adapter | Load steps/step-01-context-loading.md |
| Resume from step | /prose-adapter --resume | Read frontmatter stepsCompleted and resume |
| Modification pass | Agent receives rewrite instructions from audit | Re-enter at step 4 with fix notes |
If any of the following conditions are met during execution, you MUST immediately halt processing and return a JSON error response instead of writing any output file:
forensic-state.json is missing or cannot be resolved, halt with:
{"status": "HALT", "error": "MISSING_FORENSIC_DATA", "reason": "Required forensic analysis file is missing or inaccessible."}forensic-state.json is invalid, empty, or does not match its schema, halt with:
{"status": "HALT", "error": "INVALID_FORENSIC_STRUCTURE", "reason": "Forensic data is malformed or invalid."}{"status": "HALT", "error": "MISSING_REQUIRED_SENSORY_TAGS", "reason": "Forensic panels lack the mandatory sensory grounding markers."}{"status": "HALT", "error": "UNSUPPORTED_TROPE_GENRE", "reason": "Specified narrative genre trope or beat sheet is unsupported or missing."}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.