The two-file habit

A small rule for side projects: always leave two files behind — one that works, and one that explains what you were trying to do.

The hardest part of a side project is rarely the first afternoon. It is the third week, when the context has evaporated and the repository has become a museum of half-remembered intentions.

My current fix is deliberately low-tech. Before I stop working, I make sure there are two files:

  1. A working file. The smallest runnable version of the idea, even if it only prints a number or draws a square.
  2. A note file. A short Markdown page describing the next concrete step, the thing that surprised me, and the trap I fell into.

The working file keeps the project alive. The note file keeps me alive as a participant in it.

An example

project/
├── prototype.py   # runs today
└── NOTES.md       # tells tomorrow me where to start

This is not a productivity system. There is no app, no streak, and no dashboard. It is just a way to make re-entry cheap.

The best project management tool is a sentence that tells you what to do next.

Occasionally the note file grows into a blog post. That is a pleasant side effect, not the goal.