- More LLM on compiler.

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-10-11 13:29:52 -03:00
parent ecddc10244
commit 793f2a2d4a
2 changed files with 30 additions and 0 deletions

21
prompts/dev/generation.md Normal file
View file

@ -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/<filenamehere>.rs << 'EOF'
use std::io;
// test
cat > src/<anotherfile>.rs << 'EOF'
// Fixed library code
pub fn add(a: i32, b: i32) -> i32 {
a + b
}
EOF
----

9
prompts/dev/shared.md Normal file
View file

@ -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.