For vue2 projects, use @94ai/common-ui
LLMs.md

For Agents ​

Give AI version-matched APIs, complete Vue examples and design rules.

General contract ​

Before writing any code, confirm the component library version installed in the consuming project, then query the props, events, slots, instance methods and complete examples for that version. If matching documentation cannot be found, report an explicit error without inventing APIs. Do not substitute documentation for another version.

Integration Prompt ​

Ready-to-use prompts: copy them into your Agent conversation or automation workflow to help any AI coding Agent use Common UI efficiently:

text
Use Vue 3, Element Plus and @94ai-plus components. Confirm the installed component library version, then retrieve information from these official resources:

Documentation index: https://front.94ai.com/common-ui-plus/llms.txt
Version catalog: https://front.94ai.com/common-ui-plus/versions.json
Design guidelines: https://front.94ai.com/common-ui-plus/design.md

Find the project’s exact version in the version catalog. Read that version’s documentation index, design guidelines, component APIs and complete examples, following design.md for both themes. Clearly report missing matching resources; do not invent APIs or substitute another version.

If you can install skills, run:
npx --package @94ai-plus/cli common-ui skills install

Using Skill — Capabilities and usage ​

The Skill is located at @94ai-plus/cli/skills/common-ui/SKILL.md. Install the common-ui Skill through Skills CLI and follow the prompts to select AI tools and installation scope. It guides AI to confirm the library version in the consuming project before querying APIs, complete examples and theme guidelines. If the CLI is already installed, use its bundled Skill:

sh
npx common-ui skills install

Use --agent codex to select a tool, --global for user scope, --yes to skip Skills prompts, or --project <directory> to choose the project. The default is interactive project installation. --dry-run previews without downloading or installing. MCP is not configured.

Installing the Skill does not install @94ai-plus/cli, start MCP or change client MCP settings.

CLI — Offline knowledge and project tools ​

The CLI uses its bundled knowledge snapshot for AI tools with terminal access. List components, inspect APIs and complete examples, or output one component’s Markdown. Install a published @94ai-plus/cli; for repository development, run yarn build:components cli and replace common-ui with node packages/cli/dist/index.mjs. For example, node packages/cli/dist/index.mjs info NfTable --lang en-US is the equivalent local command.

sh
common-ui list
common-ui info NfTable --lang en-US
common-ui demo NfTable --lang en-US
common-ui doc NfTable --lang en-US --format markdown

The CLI detects the library version installed in the consuming project. Use --version <exact-version> to select explicitly; unavailable data fails without fallback. See CLI.

Documentation versions and offline queries ​

The header version menu switches between independently built historical documentation sites while preserving language and page. CLI and MCP prefer matching bundled knowledge or verified cache, then download an exact snapshot if missing. --offline disables networking; --refresh revalidates online data.

Online version catalog

MCP — AI tool integration ​

MCP clients can query the same knowledge over stdio. The following example starts the published @94ai-plus/cli through npx; save the configuration as required by your client.

json
{
  "mcpServers": {
    "common-ui": {
      "command": "npx",
      "args": [
        "--yes",
        "--package",
        "@94ai-plus/cli",
        "common-ui",
        "mcp",
        "--lang",
        "en-US"
      ]
    }
  }
}

Use common_ui_list for discovery, common_ui_info for props, events, slots and types, common_ui_doc for one component’s documentation, and common_ui_demo for complete examples. Pass the following arguments for a component query. MCP is read-only and does not call model APIs. See MCP Server.

json
{"component": "NfTable", "lang": "en-US"}

LLMs.txt — Structured documentation for LLMs ​

Without installing tools, ask AI to read these resources as needed:

Site resources describe their generated source state. Check version, commit and digest in manifest.json against the consuming project; arbitrary historical versions are not automatically available.

Single-component LLMs.md and description JSON ​

  • The LLMs.md link at the top of each component page opens raw Markdown in the current language, including its description, API tables and Vue examples. You can also query CLI doc / MCP common_ui_doc.

You can also open NfTable LLMs.md. Replace table in the path with the component ID from the index to read other components as needed, without loading the entire collection. More resources: LLMs.txt.

  • A component description JSON file such as table.json contains the package name, exports, source type declarations, API tables in each language and complete examples. AI combines these declarations, documented APIs and examples to determine how to use the component.