Skip to content
Tag Inventory
AutoXXS (320px)XS (375px)SM (640px)MD (768px)LG (1024px)XL (1280px)XXL (1536px)
SketchMaterialiOSTamagui
DataInjectionKeyPatternsServiceTransactionProcessResearchProductQualityPerformanceSpecDomainFunctionTechnologyArchitectureConfigMiddlewareDataDatabaseDrizzleMigrationModelop-sqliteSchemaSQLState ManagementDraftKeystoneMergePatchPatchesPersistenceReactiveRedoStoreUndoTestingDeviceFactoryIsolationTypeScriptZodTopicsCommunicationBidsNVCDesignDesign ImplicationsEducationPedagogyFoundationsPsychologyAttachmentFloodingRelatingAuthentic RelatingUIEditorReact Native

Tag Inventory

Fragment reference Tag Inventory
tags
instruction

Document root tags

Each of these is the root tag of a specific .{type}.mdoc file.

TagFile typeDescription
role.role.mdocDefines an actor in the system
domain.domain.mdocDefines a bounded context with model, glossary, API, and policies
feature.feature.mdocDeclares requirements, API, UI, and acceptance criteria
flow.flow.mdocStep-by-step interaction sequence; steps reference actions via action= or operations via operation= by bare name; paths use emit and throws for events/errors; rendered as Mermaid diagrams with implicit policy steps
story.story.mdocNarrative user story walkthrough linking a role to features
milestone.milestone.mdocGroups features and flows into a versioned release
surface.surface.mdocUI wireframe sketch using a restricted Pug DSL
tour.tour.mdocGuided product or feature tour composed of annotated stops with optional spotlight overlays
manifest.manifest.mdocProject identity: values, principles, goals, and NFRs
blueprint.blueprint.mdocArchitectural design with concepts, components, rules, and links
changeset.changeset.mdocTrack specification evolution and agent hand-off
tag.tag.mdocSelf-describing tag reference documentation with schema, examples, and rules
article.article.mdocLong-form prose content with quotes, atoms, citations, and footnotes

Structural child tags

Tags that appear inside document root tags to declare structured sub-sections.

TagParentDescription
{% prose %}AnyExplicit prose block with optional columns flag for 2-column layout; inherits parent column setting by default
{% tldr %}AnyOne-paragraph summary for agents and site index
{% explanation %}Any + changesetContextual hint (type="hint") or collapsible detail block (type="details"); supports full Markdown body
{% example %}AnyAn illustrative named example with summary and optional tags; collected in the global Examples Gallery at /examples
{% diagram %}AnyInteractive Mermaid.js diagram; collected in the global gallery
{% marker %}AnyInline WIP annotation (todo, fixme, question, review, note); collected in /markers
{% smartag %}domain, article, blueprintDeclares a node in the hierarchical taxonomy tree with slash-prefixed path notation
{% api %}domain, featureContainer for {% action %}, {% event %}, {% operation %} and {% error %}
{% action %}apiA callable fire-and-forget operation
{% event %}apiA system-emitted message
{% operation %}apiA request/response operation
{% error %}apiA named domain error declaration
{% property %}action, event, operation, returns, tagA single data field
{% returns %}operation, actionContainer for operation output properties, or inline return type annotation on an action
{% throws %}operation, actionReference to a declared domain error
{% glossary %}domainContainer for vocabulary terms
{% term %}glossaryA single vocabulary definition
{% model %}domainData model; expects a DBML fence block
{% policy %}domainA business rule with source, condition, and reaction
{% requirement %}feature, manifestA product or non-functional requirement
{% criteria %}Sibling of featureContainer for acceptance criteria
{% criterion %}criteriaA testable acceptance criterion
{% setting %}domain, featureA typed application configuration setting with optional default value
{% touched %}changesetDocuments affected by the changeset with brief change description
{% concept %}blueprintNamed architectural concept with label, optional design pattern, and prose rationale; may contain {% rule %} and {% example %} children
{% component %}blueprintNamed architectural component with layer, optional tech, and optional specs linking to spec items
{% uses %}componentDeclares a dependency between two components
{% implements %}componentLinks a component to an action it handles
{% emits %}componentLinks a component to an event it produces
{% listens %}componentLinks a component to an event it consumes
{% rule %}blueprint, concept, tagImplementation constraint referencing a spec item
{% link %}blueprintExternal URL or internal qualified reference
{% value %}manifestA core project value
{% principle %}manifestA design or engineering principle
{% goal %}manifestA product or business goal with optional status
{% includes %}milestoneReferences a feature or flow included in the milestone
{% phase %}flowA named stage that groups steps into a visual and semantic partition; rendered as a Mermaid subgraph and table section header
{% precondition %}flowA condition that must be true before the flow starts
{% postcondition %}flowA condition that must be true after the flow completes
{% step %}flow, phaseA single interaction step with action and actor
{% branch %}flowA decision point in the flow
{% path %}branchOne outcome of a branch decision
{% join %}flowMerges parallel or branching paths back together
{% interactions %}surface, feature, storyContainer for prototype link declarations
{% clickable %}interactionsDefines a navigation link between two surfaces
{% stop %}tourA single annotated step in a tour pointing to a cross-file surface
{% spotlight %}stopHighlights a specific element on the stop’s surface (ring, pulse, dim, highlight)
{% overlay %}stopAnchors a tooltip to an element on the stop’s surface (top, right, bottom, left)
{% await %}stopDeclares a user interaction the tour waits for before advancing
{% tag %}(root of .tag.mdoc)Self-describing tag reference with id, parents, children attributes
{% carousel %}articleA slideshow container that cycles through slide children
{% slide %}carouselA single slide within a carousel
{% quote %}articleA quotation with optional author and URL attribution
{% atom %}articleA reusable content atom with type, optional id, date, tags, based-on cross-references, and optional timeline assignment
{% timeline %}articleSelf-closing tag that renders a chronological timeline of atoms assigned to it via matching timeline attribute
{% asset %}articleAn embedded media asset (image, video, audio, or HTML page)
{% callout %}articleA highlighted callout block
{% footnote %}articleAn inline footnote rendered as a superscript marker
{% citation %}articleA bibliographic citation entry
{% cite %}articleAn inline citation reference (rendered as a link to the bibliography)
{% bibliography %}articleContainer that collects and renders all citations