Interface Lab
Knowledge RAG

Design Knowledge Base

Community-maintained principles reviewed before publication and retrieved as Agent design constraints.

Submit principle
6 published principles / 192 in library
Knowledge Architecture RAGfacets / search

Global Facet Index Contract

Sidebar facets for knowledge, asset, and style libraries should come from the full index, not only the current result subset; the results area explains the active query and filters.

Faceted navigation is both a retrieval control and an information-architecture map. If facets are derived only from the current result set, users lose adjacent categories after searching and RAG cannot reliably discover neighboring knowledge.97%
Frontend Implementationai-ui / citations

AI Response Citation and Evidence Surface Contract

Citations in AI/RAG answers are not footer decoration. They are an evidence surface joining claims, sources, snippets, permissions, streaming state, copy/share behavior, and auditability.

Trustworthy AI interfaces let users see which claims have sources, whether sources are accessible, when evidence was generated, how to open or copy it, and how missing, stale, or low-confidence evidence is handled.96%
Knowledge Architecture RAGrag / retrieval

RAG Retrieval Intent Coverage Contract

Every skill, knowledge, style, and asset entry should cover user phrasing, design-theory terms, component/state terms, implementation-risk terms, and source terms instead of relying only on the title.

RAG quality depends not only on content depth but on whether entries can be recalled. Retrieval queries are signposts for future agents and must cover multiple phrasings and task intents.96%
Resource Licensinggenerated-assets / provenance

Generated Asset Provenance Record

AI-generated assets have provenance too: tool, model, prompt, source references, edit history, rights risks, and reuse boundaries must be recorded together.

An asset library cannot treat AI generated as a license or source explanation. Reuse depends on input rights, depicted subject, edit chain, verification signals, and usage context.94%
Resource Licensinglicense / assets

Asset License Metadata Record

Asset-library intake must record license, commercial-use judgment, attribution needs, download method, and RAG keywords at the specific resource level, not just the platform name.

The value of an asset library is not volume. It is legal reuse, traceability, downloadability, and accurate agent retrieval. Aggregators and marketplaces especially require per-resource license decisions.93%
Design Systems Page Patternsrag / agent

RAG Retrieval to Generation Rule

Knowledge hits should become design constraints, not visible page copy copied from the knowledge item.

RAG improves decision quality and traceability; it should not make pages recite theory.82%