keel

Intent, documents and code in agreement

/align

Keep the code and its decisions in step.

Checks whether your project still reflects its accepted product, architecture and design decisions, and whether a difference is deliberate evolution or drift.

What it gives you

  • Neither the documents nor the code assumed correct: Git history shows what changed, and unclear intent or approval is flagged, not guessed.
  • Only material inconsistencies, each with its evidence and the smallest correction, and a plain “aligned” when there are none.
  • Read-only: nothing in the code, the documents or the direction changes unless you ask.

When to use it

After weeks of agent sessions, you suspect PRODUCT.md no longer describes what the product has become.

/align

Install and invoke

Install in your project

npx skills@latest add gaboesquivel/keel --skill align -y

Invoke in Claude Code

/align [area to check, or nothing for the whole project]

Add -g to install globally. The skill runs only when you invoke it with /align; Claude Code doesn’t trigger it on its own.

Source

Read the skill

The complete instructions Claude Code receives, rendered in full from the file in the repository.

skills/align/SKILL.mdView on GitHub
Frontmatter (YAML)
yaml
name: align
description: Read-only check that a project still reflects its accepted decisions. Compares the product intent, architecture, design and decisions recorded in PRODUCT.md, ARCHITECTURE.md, DESIGN.md, CLAUDE.md and any decision records with the implementation, its behavior and Git history, separates intentional evolution from unintended drift, and recommends the smallest correction for each material inconsistency. It advises; it does not change anything.
argument-hint: "[area to check, or nothing for the whole project]"
disable-model-invocation: true

What to check: $ARGUMENTS

Check whether the project still reflects its accepted decisions. This is not a judgment of whether those decisions were right (/retro), what the product should become (/shape), or code quality.

Read PRODUCT.md, ARCHITECTURE.md, DESIGN.md and CLAUDE.md (or AGENTS.md) where present, the records in docs/decisions/ if the project keeps them, and the code, its behavior where practical, and Git history. Check both directions: whether the implementation honors the documented decisions, and whether the product as built has meaningful capabilities, surfaces or responsibilities the documented direction does not account for. The documents need not list every feature, page or route.

Neither the documents nor the code are authoritative. Use the history to tell intentional evolution, which the documents have not caught up with, from unintended drift away from a decision. When you cannot tell whether a change was approved, say so.

An accepted decision record that the code or another document contradicts is an inconsistency like any other. Two kinds of stale document also mislead later sessions, so report them: a record still marked proposed that the code already follows, and a handoff plan or status note whose work is finished.

Report only material inconsistencies in product, architecture or design, ahead of differences in wording: what disagrees, the evidence, what it costs if left, and the smallest correction. Keep verified findings apart from what you suspect. If the project is aligned, say so and stop; do not pad the report.

Advise only. Change code, documents or direction only when the user explicitly asks.

Other skills, independent of this one