DESIGN.md
compact system map
resource index
on-demand links
A small index keeps the system discoverable without loading every detail.
DESIGN.md gives Codex, Claude, and other coding agents a compact map of the system. Its links return the full code-level reference only when needed, so the context window stays focused.
DESIGN.md
compact system map
resource index
on-demand links
A small index keeps the system discoverable without loading every detail.
A link returns the full code-level reference only when the current implementation needs it.
import { Button }
state: loading
layout: intrinsic
source: adapted
Inspectable context stays available while the agent writes and revises the code.
A long prompt can describe the feature. It cannot keep every interface decision nearby for the rest of the build. When context is flattened into one message, the agent has to rediscover or invent the system each time.
InterfaceKit uses progressive disclosure: a compact system map first, then full code-level references only when the agent requests them. The context window stays focused on the current task.
Loading foundations, component rules, page structure, edge cases, and implementation notes at once wastes context on details the current task may not need.
A screenshot or brief can point at the outcome without exposing the states, responsive behavior, relationships, and source behind it.
When the system cannot be retrieved again, each new task gives the agent another chance to invent a different answer.
Give Codex, Claude, or another coding agent one compact, portable map of the interface system.
The file indexes foundations, components, blocks, flows, and code without loading every reference into context.
The agent follows a focused link and receives the full Markdown and code-level detail needed for the current task.
Use the retrieved decisions and inspectable source while keeping the final implementation under your control.
The agent starts with a lightweight index, retrieves the focused source it needs just in time, and leaves unrelated detail outside the context window.
Retrieve color, typography, spacing, borders, and layout decisions before composing the interface.
Inspect the building block together with its states, behavior, responsive rules, and authored examples.
Move beyond isolated primitives and understand how the system composes into real product surfaces.
Use readable resources and code you can inspect, reuse, and adapt inside the implementation.
Give your agent structured interface references from products that set the standard, then turn them into something unmistakably yours.