Skip to content

Twenty, for the AI era

Best Practices

Every practice here carries three things: the sources it rests on, a file you can install into your repository, and a check that tells you whether it is actually in force. A practice with no artifact is a blog post; a practice with no check is an opinion.

practices
20
vetted sources
93
automated checks
26
made worse by agents
14
npx klay practices audit

Scores this repository against all twenty. Reads your files and your git log, runs nothing, sends nothing anywhere.

Working with coding agents

Set the boundaries once, in files, so you are not re-negotiating them with a model every session.

Proving it works

Make the thing that would tell you it broke run automatically, especially for the parts that are not deterministic.

Review in the AI era

Keep a human accountable for code no human wrote.

Blast radius

Assume something will go wrong and decide now how far it gets.

The repo as an interface

Your repository is read by new teammates and by agents on identical terms. Make it answerable without you.

How to use these

Read one, then install it. npx klay practices add <slug> writes the rule into your AGENTS.md and the workflow into .github/workflows/. It never overwrites a file you already have, and running it twice produces no diff.