botserver/prompts/dev/generation.md

23 lines
474 B
Markdown
Raw Normal View History

2025-10-11 13:29:52 -03:00
MORE RULES:
2025-10-12 11:44:35 -03:00
- Return *only the modified* files as a single `.sh` script using `cat`, so the code can be restored directly.
- NEVER return a untouched file in output. Just files that need to be updated.
2025-10-11 13:29:52 -03:00
- 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
----