From 793f2a2d4ae1baaef140ed6391a70f807b6e7a9a Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sat, 11 Oct 2025 13:29:52 -0300 Subject: [PATCH] - More LLM on compiler. --- prompts/dev/generation.md | 21 +++++++++++++++++++++ prompts/dev/shared.md | 9 +++++++++ 2 files changed, 30 insertions(+) create mode 100644 prompts/dev/generation.md create mode 100644 prompts/dev/shared.md diff --git a/prompts/dev/generation.md b/prompts/dev/generation.md new file mode 100644 index 000000000..32ef21735 --- /dev/null +++ b/prompts/dev/generation.md @@ -0,0 +1,21 @@ +MORE RULES: +- Return only the modified files as a single `.sh` script using `cat`, so the - code can be restored directly. +- You MUST return exactly this example format: +```sh +#!/bin/bash + +# Restore fixed Rust project + +cat > src/.rs << 'EOF' +use std::io; + +// test + +cat > src/.rs << 'EOF' +// Fixed library code +pub fn add(a: i32, b: i32) -> i32 { + a + b +} +EOF + +---- diff --git a/prompts/dev/shared.md b/prompts/dev/shared.md new file mode 100644 index 000000000..67ea71b2c --- /dev/null +++ b/prompts/dev/shared.md @@ -0,0 +1,9 @@ +MOST IMPORTANT CODE GENERATION RULES: +- No placeholders, no comments, no explanations, no filler text. +- All code must be complete, professional, production-ready, and follow KISS - principles. +- NEVER return placeholders of any kind, neither commented code, only REAL PRODUCTION GRADE code. +- Always increment logging with info! to give birth to the console. +- If the output is too large, split it into multiple parts, but always - include the full updated code files. +- Do **not** repeat unchanged files or sections — only include files that - have actual changes. +- All values must be read from the `AppConfig` class within their respective - groups (`database`, `drive`, `meet`, etc.); never use hardcoded or magic - values. +- Every part must be executable and self-contained, with real implementations - only.