KEEL

KEEL - The AI Project Documentation Backbone KEEL - The AI Project Documentation Backbone

KEEL is a documentation and working standard for AI-developed projects. Like the keel of a ship, it keeps a project steady and on course when the AI tool, the AI model, or the developer changes.

It keeps the AI's work organized, supportable, and token-efficient, with a small set of documentation files and clear working rules.

What KEEL is

Purpose

KEEL defines the baseline documentation files, folder structure, and working rules for any AI-developed project. The docs, not the memory of one session, hold the requirements, the design, the plan, and the decisions. Any AI tool or developer can continue the work from them.

Who it is for

Main parts

The doc files

README, SPEC, ARCHITECTURE, PLAN, AGENTS, and a release checklist, plus optional files such as DESIGN and decision notes. Each file has 1 job.

The rules

Humans own the requirements. The AI keeps the docs current, never rewrites decisions, plans before code, tests progressively, and backs every claim with evidence.

The skill

The same standard, packaged as a set of skills. Install it once, and it works in every project without the KEEL.md file.

Getting started

KEEL works for new and existing projects. The AI asks for your approval before it changes any existing file.

  1. Download KEEL.md.

  2. Put KEEL.md in the root folder of your project.
  3. Tell your AI coding assistant:
    Read KEEL.md and do what it says.

  4. Answer its 3 questions: the tracker and ticket, the project name and description, and whether the project has a user interface.
  5. Review the files it creates, and accept or reject its proposals.

Use KEEL as a skill

KEEL is also packaged as 6 skills. Install them once, and they work in every project without the KEEL.md file. See how to install and use KEEL as a skill.

Summary

KEEL in 11 points. The Full standard has the details.

  1. 1 file sets up a project. Put KEEL.md in the root folder and tell the AI to follow it. It works for new and existing projects.

  2. 8 required files. Standard project files include README, SPEC, ARCHITECTURE, PLAN, AGENTS, and a release checklist. Projects with UIs include DESIGN.md, DESIGN-GUIDE.html, and a Simplified Technical English USER-GUIDE.md.

  3. 1 set of rules for every AI tool. AGENTS.md holds short rules, each with a reason. CLAUDE.md and copilot-instructions only point to it.

  4. Humans own the requirements. The AI proposes changes to accepted SPEC and DESIGN text, and you accept or reject them.

  5. The docs stay current. The AI updates the affected docs in the same task as the code.

  6. Decisions are never rewritten. A new note supersedes the old one, so the history stays clear.

  7. Risk sets the process. Each change is Small, Shared, or Release. A Shared or multi-file change starts only after you approve a short ready card, and it gets a fresh review.

  8. Code that explains itself. No clever or compressed code. Every file and function has a comment, because each session starts without memory.

  9. Test progressively. Each change runs only the tests it needs, and the area map says which tests those are. Only a release runs a full regression. A bug fix starts with a failing test.

  10. Every claim carries evidence. Each task ends with a summary of what changed and what was tested. A check that did not run is never reported as passed.

  11. Sessions hand off cleanly. A start routine and a close routine pass the work to the next session, tool, or developer. Teams also share a work board.

Full standard

The complete text of KEEL.md, loaded from GitHub, so it is always the newest version.

The standard loads when this section shows. You can also read it on GitHub.

As a Skill

The same standard, packaged as 6 skills. Install them once at user level, and they work in every project without the KEEL.md file.

The 6 skills

SkillTask
keelGeneral: looks at the project, chooses the path (new setup, migration, upgrade, or a switch from the KEEL.md file to the skill), and does it.
keel-initNew setup from the templates, for a project with no docs yet.
keel-upgradeMigrates existing docs, upgrades an older KEEL version, or switches a project from the KEEL.md file to the skill.
keel-checkWrites or runs the docs check script, and writes a drift report. On request: a cross-compare review or a docs cleanup.
keel-as-builtThe as-built review of existing code: area map, SPEC from the code, differences, and health.
keel-interviewThe SPEC interview: fills the gaps in SPEC.md as PROPOSED blocks.

Install in Claude Code (plugin, with updates)

  1. Add the KEEL marketplace:
    /plugin marketplace add rickflashman/keel

  2. Install the plugin:
    /plugin install keel@keel

Install in Codex, Cursor, GitHub Copilot, or Claude Code without the plugin

Use 1 of these 2 ways. Both install at user level, and both can update later.

With the skills CLI (needs Node.js):

npx skills add rickflashman/keel -g

With the install script (needs only git):

curl -fsSL https://raw.githubusercontent.com/rickflashman/keel/main/install.sh | sh

Use the skills

A few prompts to try in a KEEL project:

For updates, other options, and the newest steps, see the README on GitHub.

Tips

Practical tips for working with KEEL and your AI coding assistant.

About

KEEL is written and maintained by Rick Flashman. It was formerly the AI Project Documentation Standard.

Questions or feedback: [email protected]

Source and issues: github.com/rickflashman/keel

Current version: see KEEL.md on GitHub.