frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Pokayoke – turn code conventions into checks for agents

https://pokayoke.codes
2•sarreph•1h ago
Hey HN,

Something I've been tinkering with in the background is a system to manage the "messy-middle" of TypeScript toolchains. Quite often, when I'm using Biome or any of the other linter / formatters, there will be repo conventions that I want to enforce (especially with AI agents), but which aren't supported by them, such as:

- Enforcing lines-of-code limits in modules - Never using custom TailWind colors - Only using lowercase underscores in filenames

Like, this is quite "random" but also bread-and-butter stuff that it's easy to think or talk about when you're working by yourself or with a few other human teammates, but I've found that agents consistently miss these conventions if I put them in an AGENTS.md file for example.

I wanted to make my esoteric repo conventions less stochastic, and more deterministic. I realised that agents are adept at writing the kind of code needed to run arbitrary checks on the TypeScript AST or workspace environment -- the kind of code that is cumbersome to write as a human.

So, I've made Pokayoke (https://pokayoke.codes) and would like your feedback! It's a small library that gives agents a place to test and store rules for enforcing conventions, and provides a skill to create those rules super easily. So you can come up with any arbitrary rule you like, get your agent to write a piece of code that enforces it, and then have it be included in your Pokayoke checks that get done (with one command) next to your other linting and formatting checks!

Fun fact: the name comes from the Japanese term for "mistake-proofing" or "error-prevention"[0].

[0] - https://en.wikipedia.org/wiki/Poka-yoke

Looking Up as a Serious Discipline

https://idle.news/blog/the-committee-on-clouds/
1•umilio•2m ago•0 comments

eBay payout isn't your profit

https://k-id.app/blog/your-payout-is-not-your-profit/
1•tinosar•2m ago•0 comments

Visualize Your Chrome Bookmarks as Smart Sticky Notes

https://chromewebstore.google.com/detail/sticky-note-web-clipper-s/gniilbpapgommpalikcclpcnbcamgila
1•taskloco_nyc•3m ago•0 comments

Scenecast – a logo and clips in, a finished branded video out

https://github.com/roomcareOS/scenecast
1•roomcare•4m ago•0 comments

Wildcards in CSS

https://remysharp.com/2026/07/11/wildcards-in-css
1•meetpateltech•4m ago•0 comments

Why so many updating in LLM so-called SOTA let remind of iPhone 4-x

https://medium.com/airbnb-engineering/from-weeks-to-a-day-how-we-made-llm-evaluation-fast-enough-...
1•qiuwu•7m ago•1 comments

Global Nobel Laureates Assembly on AI and Nuclear War: Recap, Quotes, and Video

https://www.domuscommunis.org/events/nobel-laureates-assembly/
2•dn2k•8m ago•0 comments

I resurrected my web usability checklist from 2013

https://www.userium.com/
1•userium•8m ago•0 comments

Abstracting Effects with Continuations

https://crowdhailer.me/2026-07-15/abstracting-effects-with-continuations/
1•whwhyb•8m ago•0 comments

Koko

1•Amir1389•10m ago•0 comments

Track your workout from the iPhone Lock Screen

https://musklr.com/blog/2026/iphone-lock-screen-workout-tracking-live-activity/
1•badgag•11m ago•0 comments

Crates.io front-end and its issue(s)

https://blog.guillaume-gomez.fr/articles/2026-07-13+crates.io+front-end+and+its+issue(s)
1•ncts•12m ago•0 comments

Computer Online Forensic Evidence Extractor

https://en.wikipedia.org/wiki/Computer_Online_Forensic_Evidence_Extractor
1•grubbs•13m ago•0 comments

Enrolling in the Third-Party App Store on Play Program

https://support.google.com/googleplay/android-developer/answer/17118006?hl=en
1•HelloUsername•14m ago•1 comments

Wicked Features

https://www.seangoedecke.com/wicked-features/
1•andai•14m ago•0 comments

Supertasks: Doing Infinitely Many Things–Lectures on Infinity (Lecture 2)

https://www.youtube.com/watch?v=h02divcjYcc
1•FillMaths•14m ago•0 comments

The Language of Thought Is Not Natural Language

https://www.biorxiv.org/content/10.1101/2025.07.26.666979v3
2•Anon84•16m ago•0 comments

A Guide to Agile for English Speakers

https://lewiscampbell.tech/blog/260713.html
2•LAC-Tech•20m ago•0 comments

Show HN: My triathlon coach (not a human) now texts me on iMessage

https://www.athletedata.health
2•daniel_s•21m ago•0 comments

Free Gantt Chart Maker

https://ganttchartmaker.app/
1•fotispetrou•22m ago•0 comments

Ente – Opening Our Books

https://ente.com/open/
3•Sherex•23m ago•0 comments

Show HN: Skillful, stop maintaining the same AI workflow in five places

https://skillful.md/
1•mastermindzh•25m ago•0 comments

Deleting Systems You Don't Understand

https://idiallo.com/blog/deleting-systems-you-dont-understand
1•blenderob•30m ago•0 comments

AI Knows What You Did Online. Now Your Employer Does, Too

https://www.wsj.com/lifestyle/careers/ai-knows-what-you-did-online-now-your-employer-does-too-497...
4•cebert•36m ago•1 comments

Show HN: A tool that generates nice photos for guys who dislike posing for pics

https://vibeflirting.com/
1•rjyoungling•38m ago•3 comments

I built a Rust log analyzer that explains security threats in plain English

https://github.com/Senaraufi/Security-Log-Analyser
1•cybrAy•38m ago•0 comments

New Species of Monkey Discovered in the Congo

https://e360.yale.edu/digest/colobus-congoensis-discovery
2•YaleE360•39m ago•0 comments

Show HN: uplpgsql – PL/pgSQL compiled to native code

https://github.com/nextgres/uplpgsql
1•jonahharris•41m ago•0 comments

You Have Mail

https://jhx7.de/blog/you-have-mail/
1•jruohonen•43m ago•0 comments

Would a Stanford Taurus Actually Work?

https://old.reddit.com/r/theydidthemath/comments/1uxlwgd/request_would_this_actually_work_and_if_...
1•olalonde•43m ago•0 comments