---
title: "Discussion on \"AI Coding Tip 044 - Make Your Spec Executable\" | Hashnode"
description: "Discussion on \"AI Coding Tip 044 - Make Your Spec Executable\". Markdown is a great spec, so the AI always follows it, right?"
url: "https://hashnode.com/posts/ai-coding-tip-044-make-your-spec-executable/6b1439030500156860086820"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AI Coding Tip 044 - Make Your Spec Executable](https://maximilianocontieri.com/ai-coding-tip-044-make-your-spec-executable?utm_source=hashnode&utm_medium=feed)

Markdown is a great spec, so the AI always follows it, right?

9h ago · 5 min read · maximilianocontieri.com  
Read the article

## Written by

[Maxi Contieri](https://hashnode.com/@mcsee)

@mcsee · Buenos Aires

  
[View profile](https://hashnode.com/@mcsee)

Software Engineer

I’m a senior software engineer loving clean code, and declarative designs. S.O.L.I.D. and agile methodologies fan.

## Responses 2

Markdown supported · ⌘↵ to post

[Olivia](https://hashnode.com/@oliviacreates)

[14m ago](https://hashnode.com/posts/ai-coding-tip-044-make-your-spec-executable/6b1439030500156860086820/comment/6b14bbe18235a3bd234b3d65)

The 'review the tests yourself' step is the one that saves the whole idea for me. If the model writes the test from the same Markdown it misread, the test just locks the misunderstanding in and goes green. Naming the test after the requirement helps too — when it fails, the failure reads like the spec line it came from, so you know what broke without opening the diff.

[netproxy](https://hashnode.com/@argumentmoney8117)

[1h ago](https://hashnode.com/posts/ai-coding-tip-044-make-your-spec-executable/6b1439030500156860086820/comment/6b14a76a1a7146a0c9827dbe)

The part about the AI misreading the spec inside the test itself is the one I'd underline — having a second model write the tests, or writing them yourself, is what keeps the loop honest. I keep my specs in Markdown in VS Code and use ViewAny to preview them next to the tests, so the spec stays the readable source of truth while the failing test is what actually enforces it.
