// AI.CODING.WITH.JUDGMENT

troels.im

Notes from building Compound Coders, shipping products using AI, and turning agent output into verified software. The work lives where prompts meet repo memory, recovery habits, and production evidence.

Chat with Troels AI

Prompting, repo memory, product judgment

Live

// OPERATING.SYSTEM

Modern AI work needs a repo-shaped system.

The training connects five levers: mindset, accurate prompting, context engineering, evaluation and recovery, and agent-oriented repository organization.

01Raise the turn success before chasing speed
Frame tasks with role, context, constraints, output shape, examples, and acceptance criteria.
02Build repo memory
Move product, workflow, engineering, and shipping memory out of chat so agents stop starting from zero.
03Ship through verified loops
Prototype when the shape is unclear, turn evidence into product direction, then build small checked issues.

// LATEST.NOTES

Fresh experiments, essays, and videos.

Short, practical pieces from the edge of AI-assisted software work.

Article

Claude Cowork Live Artifacts as a Daily Driver

Most mornings used to cost me twenty minutes before I'd written a line of code. Calendar, Gmail, Slack, the CI dashboard, the Notion page holding the running plan — five surfaces, all telling me different fragments of the same story, all needing reconciliation in my head.

Article

Prompting modern Claude (4.7) correctly

Last Tuesday I asked Claude to "review the auth module." Eight months ago that prompt would have given me a thoughtful walk-through — flagged the obvious issues, made a few suggestions I half-expected. This time I got six generic bullets. Two were useful. The rest read like checklist filler someone left in the room.

Article

Giving AI Agents Real Context: The Workspace Setup

I open a new Claude Code session. I ask it to refactor the auth flow before the next release. It comes back with a clean, well-structured answer that uses none of my existing helpers, contradicts my session model, and quietly assumes JWTs when I've been on opaque tokens for two years.

Article

Claude Cowork Live Artifacts as a Daily Driver

Most mornings used to cost me twenty minutes before I'd written a line of code. Calendar, Gmail, Slack, the CI dashboard, the Notion page holding the running plan — five surfaces, all telling me different fragments of the same story, all needing reconciliation in my head.

Article

Claude Code as your personal OS and second brain

I have a folder on my laptop called `~/os`. It is the most boring directory I own — eight markdown files, no code, no fancy structure. It is also the single highest-leverage thing I have built in the last year, and I almost did not build it because it looked too simple to be worth the time.

Article

When AI automation is actually worth it

You spent the weekend wiring up an agent. It scrapes the GitHub issue, drafts a fix, opens a PR, posts a Slack message. It is genuinely impressive. You demoed it on Monday and a colleague asked whether they could borrow it.

Article

Vibe Engineering ≠ Prompt and Pray: Why AI + Structure = Speed

The common wisdom says AI removes boilerplate. That's backwards. AI + Boilerplates + strong error checking = Accelerated workflow. Rust's compiler catches AI mistakes at compile time. The industry is shifting from vibe coding to context engineering. Structure doesn't slow AI down — it makes it reliable.

Article

The AI-Augmented Developer's Rust Series

After a year of intensive AI-assisted development — hundreds of coding sessions, thousands in API costs, production systems shipped — one pattern kept emerging: the developers shipping fastest weren't using cleverer prompts. They were using tools that caught mistakes before production. Today I'm releasing The AI-Augmented Developer's Rust Series: two volumes teaching full-stack Rust development specifically for developers using AI coding assistants. Volume 1 covers Rust fundamentals through the lens of AI-augmented development. Volume 2 builds a complete Ethereum wallet with Yew (WebAssembly) and Axum. Studies show up to 40% of AI-generated code contains bugs. Rust's compiler catches these at compile time — memory safety issues, data races, unhandled errors. Google's data shows 1000x fewer memory vulnerabilities and 4x lower rollback rates. The bundle is $47. Buy once, own forever.

// VIDEOS

Watch the experiments.

Video

Simple Steps for Crystal-Clear Requirements!

Ever struggled with unclear project requirements? This video shows you how a simple, structured prompt can help you gather all the details you need for successful projects! Watch as we demonstrate a powerful technique for collecting project requirements using an AI assistant. If you want to try this out for you self, go to awesomecodeprompts (it's free, but you need an OpenAI or kluster.ai account): [link coming, but need to a verified account first] This approach works for any project - from software development to marketing campaigns. Say goodbye to confusion and rework. Try this requirements-gathering method today! In the next video we will use these requirements to build a calculator, so remember to subscribe!

Thumbnail for Simple Steps for Crystal-Clear Requirements!

Video

How to Setup DeepSeek R1 on TypingMind

Looking to get started with DeepSeek R1, the powerful EU-hosted AI model? In this quick tutorial, I'll show you how to set up and connect DeepSeek R1 with TypingMind's user-friendly interface in just minutes. The video below walks you through creating your API key, configuring the connection, and testing your setup for seamless AI interactions. DeepSeek R1 is provided through kluster.ai, a platform founded in 2024 that democratizes access to AI compute power through a decentralized network of GPU providers. This EU-hosted solution offers excellent performance with lower latency and regulatory compliance. Before you begin, you'll need: - A kluster.ai account: https://dub.sh/klusterai - TypingMind access: https://dub.sh/WGMPH3X Note: While I mention US hosting in the video, the service is actually hosted in the EU.

Thumbnail for How to Setup DeepSeek R1 on TypingMind