Codegen Files
# Prompt: metadata + multiple files (code generation)
The reason sentinel blocks exist: **never put code inside JSON.** Unescaped code in
a JSON string is the #1 cause of parse failures. Keep a small JSON block for
metadata, and emit each file as its own named block with verbatim contents.when to use it
Community prompt sourced from the open-source GitHub repo Eth-Interchained/sentinel-blocks (GPL-3.0). A "Codegen Files" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
Eth-Interchained/sentinel-blocks · GPL-3.0