๐—ฆ๐˜๐—ผ๐—ฝ ๐—จ๐˜€๐—ถ๐—ป๐—ด ๐— ๐—ฎ๐—ฟ๐—ธ๐—ฑ๐—ผ๐˜„๐—ป ๐—™๐—ผ๐—ฟ ๐—”๐—œ ๐—ฆ๐—ฝ๐—ฒ๐—ฐ๐˜€

You write AI specs in markdown. You tell the AI what you want. You hope it builds the right thing. It works until it fails.

Markdown is not a spec language. It is prose. It has no grammar to enforce. It has no way to check the code. You use a document format for a job it was not made for.

Try Gherkin. Gherkin is the language for Cucumber. It uses a simple pattern:

Product managers write it. Machines parse it.

Markdown is inert. Tests are honest but hard to read. Gherkin is the middle ground. The spec is the test. When behavior changes, the scenario fails. The spec does not drift from reality.

Watch for these three signals:

Gherkin helps AI in three ways:

You get readability. You get a definition of done.

Try it on one feature. Use a .feature file instead of a markdown blob. Put markdown where it belongs. Eat the cucumber.

Source: https://dev.to/sebs/its-time-we-all-eat-some-cucumber-16ic Optional learning community: https://t.me/GyaanSetuAi