What

Keep Markdown checked into your /src (or equivalent) directory to capture the intent of your module.

Why

Today, agents often generate code from ephemeral prompts, informal messages, etc.

Generated code is both lossy & noisy when it comes to the original intent that created it.

To address this, we suggest keeping the original intent near the generated code in the form of Markdown.

This enables humans and agents to quickly find the original intent, design decisions & subtleties that went into the current shape of the generated code.

Note that the intent captured here is not a formal specification or documentation, but rather an informal yet technical capture of the thinking that went into a module, feature, API, etc. It is developer (and agent) focused.

Suggested Layout

src/md/
  README.md           overview + index, agent entry point
  features/           login.md, ...
  data/               user.md, ...
  api/                accounts.md, ...
  infrastructure/     database.md, ...

All subdirectories are optional.

Suggested Content

Example File Index

## File Index

- [features/login.md](features/login.md): login & session rules
- [data/user.md](data/user.md): user data model

Suggested Workflows

Suggested Extensions

Example

This site follows this layout. See its src/md.