Write a CLAUDE.md before your first prompt
A short rules file – where things are, what not to touch, how to verify – prevents most of the mistakes an AI coding agent makes on a real system.
Short, practical notes from ongoing work in energy data, IoT hardware and AI-assisted engineering. Each note is drafted by AI from Steen's own notes and project material, then edited and approved by Steen Kramer Jensen.
A short rules file – where things are, what not to touch, how to verify – prevents most of the mistakes an AI coding agent makes on a real system.
An MCP tool that returns its error as ordinary text reports a success. Mark failures as errors, and put enough in the message for the assistant to correct the call.
How to fetch day-ahead prices for western Denmark from the sysapp energy API, and the four details that trip people up – quarter-hour rows, time zones, strings and units.
A backup is only proven by a test restore. What a review of my own server found – a database backup that had failed silently for a month, and a cleanup step that never ran.