VibeSoft Studio logoVibeSoft Studio
Products
  • Data in Actie
  • BlindsMate
  • Curio
  • Trainbell
  • CryptoPro Suite
  • Lyntiq AI
  • Bubble News
  • Pendulum Path
  • Bimblesound Nights: Sleep Sounds
  • Bubble Crime
  • All projects
HomeBlogAbout usContactNL

← All articles

Vibe coding rules we wrote after something went wrong

November 21, 2026

Vibe coding, in the loose sense the word is used, means telling a model what you want and letting it write the code. We have worked that way since 11 May: more than 3,000 commits in about twenty repositories, nearly all of them typed by Claude. What kept it from turning into a mess was not clever prompting. It was a rules file that every session reads before it touches anything. The article on how the studio started calls this context engineering. This one shows what it looks like after six months, and the main thing we learned: every rule that has lasted is there because something went wrong first.

A sentence is weak, a hook is strong

The first rule on the list says em dashes are not used anywhere: not in copy, comments, commit messages or store listings. Claude reads that rule at the start of every session, and em dashes piled up anyway. On 15 October one sweep removed about 1,975 lines containing them from six repositories. Today the same pre-commit hook sits in every repository and refuses a commit that adds one. It also refuses staged secrets, keystores and log files, code that fails lint, and documentation that breaks the project's document layout.

The hook has caught things nobody planned for. The editing tool once turned an escape sequence in a regular expression into a literal em dash, and only the hook noticed. The lesson is not about em dashes. A rule the model has to remember gets followed most of the time, and a script that refuses the commit does not forget. Whenever a machine can check a rule, it moves out of the rules file and into the hook. (The hook can be skipped with a flag. The rules say that is for emergencies.)

An edit changes the lines it targets

The files on this Windows machine end their lines with CRLF, while git stores them with LF. A tool that rewrites a whole file can switch the endings without saying so. The commit then shows a few changed lines or hundreds, depending on how git normalises them, and the file on disk no longer matches the rest of the repository. So rule 1.2 says an edit changes the lines it targets and nothing else: use the edit tool, never a shell redirect, a heredoc or sed on a tracked file.

The rule is right about the danger and still wrong about one file. On 1 November a script added lines to the root rules file, wrote CRLF into it, and had to be normalised back, because that one file is LF.

The person says merge

Main is production here: pushing to it deploys the websites, and every Android release is built from it. So the working pattern has a fixed shape. Claude takes one roadmap phase, works on its own branch, runs the checks and opens a pull request. Then it stops, and the owner says merge.

Claude Code, the tool Claude runs in, enforces part of this by itself. Its permission check refused to merge pull requests until the owner said so, including the two behind Curio 2.1.0 and 2.1.1. One refusal was a false alarm: on 30 October a merge was denied because it was chained with three other commands in one line, and an allow rule has to cover every part of a chain. Run on its own, the same command went through. We kept the split anyway. The model can write and test, but releasing is a decision.

Merging has a trap of its own. In a product we have not released yet, a pull request was merged on 24 October while its last two commits existed only on the laptop. They were found the next day, reachable only through git's reflog, which forgets after a few weeks, and were saved on a branch. A merged pull request holds what was pushed, not what was committed.

Done has two lists

Every repository has a BUILD-STATUS file with two headings that matter: Verified and Not verified. The model has to write down what it ran and, just as important, what it did not. A recent Trainbell release candidate lists what ran on a OnePlus 3 as a release build: launch, counting with the screen off, stopping from the notification. Then it lists what did not run: an Android 15 or 16 phone, and a path that only exists after installing from Google Play. The owner tried that last one by hand the same day, and the line moved from one list to the other.

This is what stops "it compiles" from being reported as "it works". Our definition of done is that the thing has been run and looked at, and the file says which parts were not.

Where a person is the test

A rules file cannot hold taste. For Curio's golden curios the owner asked for gold, but less shiny. The first softer shader came out looking like bronze. The second mixed a matte gold with a dimmer reflection of the room, and the owner said the gold looked good. Hints were unlimited until the owner decided they should be three per box. The model can render, test on a phone and compare, but whether a lock feels fair or a metal looks like gold is a person's call, and every round is one person looking at one screen.

Language works the same way. Curio plays in fourteen languages and the store listings are in twenty, and a model wrote the translations. Until a native speaker has read one, we call it unchecked, and the files say so. That includes the replies to three one-star reviews, written in Japanese and Chinese, the reviewers' own languages.

Rules go wrong too

On 1 November we checked the rules file against the machine: every remote against git, every dev server port against the project's own files, the pre-commit hook against each repository, every company URL and badge file. Most of it held. Seven edits came out of it, among them a typo, a keystore file name that was wrong in one rule and a table of launch platforms that had gone out of date.

The same day the owner deleted a whole rule, 1.8, the default for how our apps make money, once one product was going to do it differently. A week later, on 7 November, every Android app switched its ads off. We did not close up the numbering, because dozens of documents cite rules 1.9 and 1.10: the file now runs 1.7, 1.9, 1.10. A rules file that only grows turns into noise, so deleting is part of the job.

What we would tell someone starting

Begin the rules file with the first thing that goes wrong, not with a template. A rule you cannot attach an incident to is probably noise.

Move a rule into a hook as soon as a machine can check it.

Keep two lists, what was checked and what was not, and make the model write both.

Leave merging and releasing to a person.

Read the rules against reality now and then, and delete what is no longer true.

If you work this way, we would like to hear what is in your rules file. Write to info@vibesoftstudio.com.

← Back to all articles

VibeSoft Studio logo

VibeSoft Studio

HomeAbout usBlogNewsletterPrivacy PolicyTerms of Service

Products

Data in ActieBlindsMateCurioTrainbellCryptoPro SuiteLyntiq AIBubble NewsPendulum PathBimblesound Nights: Sleep SoundsBubble Crime
info@vibesoftstudio.com
  • X
  • LinkedIn

Newsletter

One email a week with what is new at VibeSoft Studio: articles, news and new apps. Nothing when there is nothing new.

We use your address only for this newsletter. You can unsubscribe with one click. Privacy policy

  • Featured on EasyLaunchFeatured on EasyLaunch
  • Competing on Founder BattleCompeting on Founder Battle
  • Find us on Product Hunt
  • Maker on ShipCredMaker on ShipCred
  • Support on Patreon

© 2026 VibeSoft Studio. All rights reserved.

EnglishNederlands
Theme