Vibe Coding Controller - Code and JSON F ...

Vibe Coding Controller - Code and JSON Formatting Convention

Aug 22, 2026

image

Introduction

I have been used to reading code since I was very young, and I need to be able to read and review what an LLM generates so I can easily go back to specific parts of the code. The problem is that generated code is often too spread out or formatted in a way that does not match the way I read code. I therefore waste time reformatting it before I can properly work with it. These are the formatting instructions I use in my prompts to get code that is clear, dense, and easy to review.

🐍 Python

The Python script must be written in a compact and directly readable format, using the minimum number of line breaks necessary for proper readability, with no comments, no unnecessary spacing or excessive blank lines, and without unnecessarily changing the structure or style of the existing script.

{} JSON

The JSON must follow the format and style of my reference example as closely as possible, using 2-space indentation and the minimum number of line breaks necessary, with no excessive vertical spacing and without unnecessarily putting properties or small objects on separate lines, resulting in a dense, consistent, and easily readable JSON format, while never compressing the entire JSON into a single line if that reduces readability.

¿Te gusta esta publicación?

Comprar Alexandre Baranger un café

Más de Alexandre Baranger