The project standard: from direction to code, no skipping

A system worked on by many agents turns messy fast when each agent stores its work its own way. So I wrote one standard, and every project of mine follows it.
The flow
The order is fixed: North Star (direction), research, architecture, cluster, PRD, epics and stories, functions or skills, and only then execution. The rule is firm: do not jump to code before a direction and written requirements exist.
One thing, one file
Each piece of research, design, PRD, epic, function and decision has its own file in its own folder (01-riset to 07-keputusan, then 08-ops for runbooks and 09-log for journals and handoffs). Every document carries front matter with id, jenis (type), judul (title), status, cluster, terkait (related), and created and changed dates.
The index and registry are generated by a small tool, never edited by hand. It has four commands: init, tambah, indeks, cek. The tool issues the document numbers, so two documents never share one. cek must pass before a commit.
Other rules I keep
- One rules file for every agent.
AGENTS.md, under 150 lines.CLAUDE.mdonly points at it. - Repeat twice, make it a skill. Checklists live in skills, not in the rules file.
- Guard rails in hooks, not in prompts. Secret checks and destructive-action bans are run by machines, because a prompt can be forgotten.
- Honest status. Every claim is marked present or absent, real or only designed, and negative results are still written down.
Why this way
A new agent opening a project needs to read one rules file and one index, and then knows what exists and where. People do too. The cost is a small discipline up front; the result is the end of "which document is the right one?".
Source: STANDAR.md version 1.0 (decision of 4 Oct 2026, an internal document) and AGENTS.md in the private MiganExp repository. Not yet public.