Introducing the /ak:test skill: fewer pointless tests, the right tests
AI agents write so many tests that the GitHub CI bill goes through the roof, and the app still breaks. So I built /ak:test to keep them honest: real tests, delete the fake ones, and run tests by blast radius 😂
Also in: Tiếng Việt · 中文 · 한국어 · 日本語

AI models these days are trained to build things that are more stable and less buggy, so they write a lot of tests.
That's fine... until you have a few thousand tests and your GitHub CI bill starts bouncing off the walls :))
Spend enough time with these agents and you get to know them: a good chunk of those tests are "obvious tests" (the technical term is tautological test, I only just learned it), basically testing true == true. They write tests to vouch for what they just wrote, not to prove whether the app breaks anywhere.
Some tests even exist... just to pass CI. Sneaky! When they can't get it green, they'll do anything to make CI green:
- Rewrite the test into something trivially true.
- Comment out the failing tests with a note like "this test is unrelated to what I'm doing, will handle later". Later, my foot :)))
So there are tons of tests, and the app still breaks...
Locked section: Every test must answer 5 questions
Locked section: What happens when a test fails?
Locked section: Delete the tests that are just for show
Locked section: My favorite part: testing by blast radius
Locked section: Recap: the skill modes
The rest is for Knowledges members
Plus 5 more sections (about 2 min) for members
You are reading roughly the first third. Knowledges, Combo and Community plans unlock paid articles in full; the Zuey AI plan reads previews only.