Naoufal's AI coding discipline

Three rules that keep AI coding agents honest, small enough to paste into any agent's instructions.

What it is

Coding Discipline is a free skill for AI coding agents: three rules, nothing else. It works with Claude Code, ChatGPT, Codex, OpenClaw, Hermes, or any workflow where a language model writes, edits, deploys or debugs code.

The three rules

  1. Study the technology before touching the code. Read how the live system actually runs. If you do not understand it, you do not edit it.
  2. A job can take more than one run. A todo list is a must. Track the real steps. Do not fake “done” to close the turn.
  3. Never trust a subagent. Always give him the context. A child summary is a self-report. Verify side effects yourself. Fat brief, explicit bar.

How to use it

Paste the rules into whatever instructions file your tool already reads:

Tool File
Claude Code CLAUDE.md
Codex CLI, OpenClaw AGENTS.md
Hermes a skill in your skills/ folder
Cursor, Windsurf the rules file
ChatGPT, Gemini, Grok custom instructions, or the first message

The repository holds the full SKILL.md and a minimal paste-in version of the same rules. Copy it from GitHub and give it to your agents.

Keep reading

Open source

Claude Code in your pocket

Run Claude Code turns from Telegram on your own server. What the bridge supports, how sessions work, and what to know before giving a bot access to your machine.

5 min read

Agents

We won't have to work in 30 years: how AI actually works

A fun, plain tour of how AI thinks: tokens, attention, training, the main architectures, and how human it really is. Then Naoufal's prediction: within 30 years, nobody will have to work.

7 min read

Notes

Naoufal: the gift

What the name Naoufal means, and Naoufal's definition of love. Two different sources that say the same thing.

1 min read