Logo Metadata Schema Generator

Metadata Schema Generator

Cộng đồng
murphytrueman
metadata-schema-generator

Generate per-component JSON metadata files (.ai/metadata/) from source: props, behaviour, composition, a11y contract, prohibited prop combinations. Triggers: component metadata schema, machine-readable component JSON, manifest for MCP/codegen. Prose for Figma: use ai-component-description.

Add to TypingMind

Tổng quan

Nhà phát hànhmurphytrueman
Kho mãdesign-system-ops
Tên kỹ năngmetadata-schema-generator
Sao
211
Bản fork
7
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được murphytrueman công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Metadata Schema Generator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/murphytrueman/design-system-ops/tree/main/skills/metadata-schema-generator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/murphytrueman/design-system-ops.git /tmp/design-system-ops
mkdir -p .claude/skills
cp -r /tmp/design-system-ops/skills/metadata-schema-generator .claude/skills/metadata-schema-generator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Metadata Schema Generator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Metadata Schema Generator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Metadata Schema Generator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Metadata schema generator

A skill for generating structured JSON metadata schemas for design system components. These schemas encode everything an AI agent, MCP server, code generator, or testing framework needs to work with a component programmatically — props, behavioural rules, composition constraints, accessibility contracts, and (where the team supplies it) business context — in a format that does not require natural language parsing.

Before you begin: verify references

Confirm that every path in this skill's frontmatter references: exists relative to this SKILL.md. If any is missing, stop: the install is incomplete, usually because a flattening installer (for example npx skills install) dropped the repo-root knowledge-notes/ directory. Tell the user to reinstall by a method in 1-INSTALL.md and run verify-install.sh from the install root. Proceed without the references only if the user explicitly says to, and then say in the output that it was produced without the pack's reference material.

Context

Component documentation serves humans. Component metadata serves machines. The distinction matters because the information needs are different, the format requirements are different, and the failure modes are different.

A human reading a component's documentation can infer that "this button triggers the primary action" means it should be visually prominent and placed in the expected location. A code generation agent reading that same string cannot infer any of that — it needs explicit data: { "role": "primary_action", "visual_weight": "high", "placement": ["form_footer", "dialog_footer", "page_header"] }.

Most design systems have one layer of machine-readable data: TypeScript interfaces or PropTypes declarations that define prop names and types. This is necessary but insufficient. A TypeScript interface tells a tool that a Button accepts a variant prop of type "primary" | "secondary" | "ghost" — but it does not tell the tool when to use primary vs secondary, which combinations of props are prohibited, where the component can be placed in a layout, or what accessibility contract it must honour.

Structured metadata fills this gap. It encodes the knowledge layer between "what the component accepts" (TypeScript) and "how the component should be used" (documentation) as machine-readable data that tooling consumes directly.

The ai-component-description skill produces text descriptions optimised for LLM consumption. This skill produces structured data optimised for programmatic consumption. Together they serve the two modes of AI interaction: conversational (descriptions) and deterministic (metadata).

Boundaries

This skill is the pack's one extraction of component facts. It generates structured JSON metadata for tooling — not human-readable documentation (usage-guidelines, pattern-documentation) or LLM-facing prose (ai-component-description); those two read .ai/metadata/ when it exists and render from it, so the props and accessibility contract are derived once. If the system has no component inventory yet, run codebase-index first. If no component source is in reach, stop and ask for it: metadata can't be extracted from a description. If the team has no consumer for the files yet (no AGENTS.md pointing at them, no MCP server, no lint integration), say so and suggest agent-instructions as the first consumer rather than generating files nothing reads.


Configuration

If .ds-ops-config.yml exists, follow the configuration-and-recurring knowledge note (../../knowledge-notes/configuration-and-recurring.md) for loading, integration fallbacks and recurring runs. This skill reads:

  • system.framework — determines prop extraction approach (React, Vue, Svelte, etc.)
  • system.component_paths — directs scanning to component source files
  • integrations.* — component data (see below)
  • metadata.schema_version — locks the output schema version for compatibility
  • metadata.output_directory — overrides default output location
  • metadata.include_business_context — toggles the business context layer (default: false; see Step 4)

Auto-pull integrations

Figma MCP (integrations.figma.enabled: true):

  • Read component properties, variant structures, and descriptions from integrations.figma.file_key
  • Cross-reference Figma component properties against code props to detect mismatches
  • Extract accessibility annotations if present

Storybook (integrations.storybook.enabled: true):

  • Fetch prop tables and arg types from story metadata
  • Extract documented states and control definitions
  • Pull interaction test definitions if available

Source (always attempted, with the tool that fits):

  • React with TypeScript: react-docgen-typescript gives name, type, required, default and description per prop; hand-read only what it can't resolve (complex generics), and say so
  • Vue: vue-component-meta
  • Web Components: the Custom Elements Manifest (npx custom-elements-manifest analyze, or an existing custom-elements.json)
  • Anything else: read the interfaces, PropTypes and JSDoc by hand, and note under Scope that extraction was manual

Step 1: Select components and assess existing metadata

Ask for or confirm (skip questions already answered by auto-pull):

  • Which components need metadata schemas? (Specific components, a category, or the full library)
  • Where do component source files live?
  • Is there existing structured metadata in any format (JSON, YAML, Custom Elements Manifest)?

For each component, scan for existing metadata sources:

  • TypeScript interface or PropTypes declaration
  • JSDoc/TSDoc annotations
  • Storybook arg types and controls
  • Existing metadata files (.metadata.json, .metadata.ts)
  • Figma component description

Produce a source assessment per component:

ComponentTS interfaceJSDocStorybookFigmaExisting metadataGaps
Buttoncompletepartialcompleteyesnonecomposition, behaviour
Cardcompletenonepartialyesnoneall semantic layers

Step 2: Generate the base schema from source

For each component, extract the prop layer automatically from TypeScript or equivalent:

Illustrative Button (a real run uses the component's actual source):

json
{
  "$schema": "./schema.json",
  "component": "Button",
  "version": "1.0.0",
  "status": "stable",
  "props": [
    {
      "name": "variant",
      "type": "enum",
      "values": ["primary", "secondary", "ghost"],
      "default": "primary",
      "required": false,
      "description": "Visual weight of the button",
      "semantic": {
        "primary": "Use for the single most important action on the page or in a section",
        "secondary": "Use for supporting actions alongside a primary action",
        "ghost": "Use for tertiary actions or actions within dense UI"
      }
    },
    {
      "name": "size",
      "type": "enum",
      "values": ["sm", "md", "lg"],
      "default": "md",
      "required": false,
      "description": "Controls button height and text size"
    },
    {
      "name": "disabled",
      "type": "boolean",
      "default": false,
      "required": false,
      "description": "Prevents interaction and applies disabled styling"
    },
    {
      "name": "loading",
      "type": "boolean",
      "default": false,
      "required": false,
      "description": "Shows a spinner in place of the label and prevents interaction"
    },
    {
      "name": "aria-label",
      "type": "string",
      "required": false,
      "description": "Accessible name when the button has no visible text"
    },
    {
      "name": "children",
      "type": "ReactNode",
      "required": true,
      "description": "Button label content"
    }
  ]
}

Build on the standard, don't invent one. For Web Components the metadata file is the Custom Elements Manifest with a dsops object added to each declaration for the semantic layers (CEM allows additional properties, and every CEM consumer keeps reading it). For React and Vue, the props array keeps docgen's field names (name, type, required, defaultValue, description) so anything that reads docgen output reads this too, and the semantic layers sit beside it.

Extraction rules:

  • Every prop in the TypeScript interface must appear in the schema
  • Keep the raw type string in type.raw; add type.kind normalised to string, number, boolean, enum, ReactNode, function, object, array, so generics and non-literal unions aren't lost
  • Enum values must be listed explicitly, not as a type reference
  • Take default from the source's declared default. Omit default when source declares none
  • If a prop has JSDoc, use it as the description. If not, flag the prop for manual description.
  • Per-value semantic text comes from JSDoc or the team's docs. If neither has it, leave semantic out and flag the prop rather than writing plausible guidance

Step 3: Add the semantic layer

The semantic layer encodes meaning that TypeScript types cannot express. For each component, add the three blocks below.

Provenance rule. Every behaviour, composition and accessibility block carries a provenance value: source (read from the component code), docs (from the team's documentation or the user), or proposed (anything not traced to either). A block that mixes sources takes the weakest. Never present a proposed rule as the system's actual behaviour or policy: tools and agents read this file as ground truth. See "Every figure and fact needs a source" in the output-discipline knowledge note.

The examples below continue the illustrative Button.

Behavioural rules

json
{
  "behaviour": {
    "states": ["default", "hover", "active", "focus", "disabled", "loading"],
    "transitions": {
      "default_to_loading": {
        "trigger": "Form submission or async action",
        "visual": "Replace label with spinner, disable interaction",
        "duration": "Until async operation completes or times out"
      }
    },
    "constraints": [
      "At most one primary variant Button per form",
      "Loading state must disable all sibling interactive elements",
      "Icon-only buttons must have an aria-label prop"
    ],
    "provenance": "docs"
  }
}

The first two constraints stand in for team rules: record rules like these only when the team's docs or the user state them.

Composition rules

json
{
  "composition": {
    "valid_parents": ["Form", "Card", "Dialog", "Toolbar", "PageHeader"],
    "valid_children": ["Icon", "text"],
    "prohibited_nesting": ["Button may not contain another Button"],
    "slot_contract": {
      "children": {
        "accepts": ["string", "Icon"],
        "max_elements": 2,
        "pattern": "Optional leading Icon + text label"
      }
    },
    "common_combinations": [
      { "pattern": "Primary + Secondary pair", "context": "Dialog footer, form actions" },
      { "pattern": "Icon-only in Toolbar", "context": "Dense action bars" }
    ],
    "provenance": "proposed"
  }
}

Accessibility contract

json
{
  "accessibility": {
    "role": "button",
    "aria_required": [],
    "aria_conditional": [
      { "prop": "aria-label", "when": "children is Icon only (no visible text)" },
      { "prop": "aria-expanded", "when": "button controls a collapsible region" },
      { "prop": "aria-haspopup", "when": "button opens a menu or dialog" }
    ],
    "keyboard": {
      "Enter": "Activate button",
      "Space": "Activate button"
    },
    "focus": {
      "receives_focus": true,
      "focus_visible": "Required — uses system focus ring token",
      "tab_order": "Follows DOM order unless explicitly managed"
    },
    "screen_reader": {
      "announcement": "Button label + role",
      "state_changes": "Announces disabled state change"
    },
    "provenance": "source"
  }
}

Step 4: Add the business context layer

The business context layer connects the component to product outcomes. It is off by default (metadata.include_business_context: false). Include it only when the user or the team's docs supply the metrics and rules, and give every entry a source (file path, URL, or user). Never infer a component's business function, metrics or traffic from its name.

Illustrative shape:

json
{
  "business_context": {
    "function": { "value": "conversion", "source": "user" },
    "metrics": [
      { "name": "Click-through rate", "role": "primary", "source": "docs/analytics/cta-tracking.md" },
      { "name": "Form completion rate", "role": "secondary", "source": "user" }
    ],
    "experimentation": {
      "safe_to_test": ["label text", "variant within brand palette"],
      "never_test": ["removing disabled state logic", "removing aria attributes"],
      "requires_review": ["changing size scale", "adding new variants"],
      "source": "user"
    },
    "usage_analytics": {
      "custom_events": [
        { "event": "cta_click", "data": ["variant", "page", "position"], "source": "src/analytics/events.ts" }
      ]
    }
  }
}

Step 5: Add prohibited combinations

Encode prop combinations that are technically valid but semantically wrong. Each entry carries a provenance value, as in Step 3:

json
{
  "prohibited_combinations": [
    {
      "combination": { "variant": "ghost", "size": "lg" },
      "reason": "Ghost buttons at large size create false visual hierarchy — they appear as primary actions despite being tertiary",
      "severity": "warning",
      "provenance": "proposed"
    },
    {
      "combination": { "disabled": true, "loading": true },
      "reason": "Redundant states — loading already prevents interaction. Use loading alone.",
      "severity": "error",
      "provenance": "docs"
    }
  ]
}

Severity levels:

  • error — this combination is prohibited and tools should refuse to generate it
  • warning — this combination is discouraged and tools should flag it for review
  • info — this combination has nuances the developer should be aware of

Step 6: Produce the complete schema

Assemble all layers into the complete metadata schema per component.

Output structure

.ai/metadata/
  schema.json          # JSON Schema definition for validation
  Button.metadata.json
  Card.metadata.json
  Modal.metadata.json
  ...
  manifest.json        # Index of all metadata files

Base schema (schema.json)

Write a JSON Schema alongside the metadata files so validation (Step 7) and CI have something to check against. A minimal version:

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Component metadata",
  "type": "object",
  "required": ["component", "props"],
  "properties": {
    "component": { "type": "string" },
    "version": { "type": "string" },
    "status": { "enum": ["alpha", "beta", "stable", "deprecated"] },
    "props": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["name", "type", "required"],
        "properties": {
          "name": { "type": "string" },
          "type": { "enum": ["string", "number", "boolean", "enum", "ReactNode", "function", "object", "array"] },
          "values": { "type": "array" },
          "default": {},
          "required": { "type": "boolean" },
          "description": { "type": "string" },
          "semantic": { "type": "object" }
        }
      }
    },
    "behaviour": { "$ref": "#/$defs/layer" },
    "composition": { "$ref": "#/$defs/layer" },
    "accessibility": { "$ref": "#/$defs/layer" },
    "business_context": { "type": "object" },
    "prohibited_combinations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["combination", "reason", "severity", "provenance"],
        "properties": {
          "severity": { "enum": ["error", "warning", "info"] },
          "provenance": { "$ref": "#/$defs/provenance" }
        }
      }
    }
  },
  "$defs": {
    "provenance": { "enum": ["source", "docs", "proposed"] },
    "layer": {
      "type": "object",
      "required": ["provenance"],
      "properties": { "provenance": { "$ref": "#/$defs/provenance" } }
    }
  }
}

Manifest format

Illustrative values; coverage figures are counted from the files actually generated.

json
{
  "generated": "[date]",
  "system": "[design system name]",
  "component_count": 55,
  "coverage": {
    "props": "100%",
    "semantic": "85%",
    "accessibility": "90%",
    "business_context": "40%",
    "prohibited_combinations": "60%"
  },
  "components": [
    { "name": "Button", "file": "Button.metadata.json", "status": "stable" },
    { "name": "Card", "file": "Card.metadata.json", "status": "stable" }
  ]
}

Step 7: Validate the schemas

Run validation checks on the generated schemas:

Structural validation:

  • Every schema is valid JSON
  • Every schema conforms to schema.json: run npx ajv validate -s .ai/metadata/schema.json -d ".ai/metadata/*.metadata.json" (ajv-cli) and report its output. If ajv isn't available and can't be installed, say validation wasn't run; don't report the files as valid
  • Every behaviour, composition and accessibility block, and every prohibited combination, has a provenance value
  • Every prop in the TypeScript interface appears in the schema (no missing props)
  • Every enum value listed in the schema exists in the TypeScript type (no phantom values)

Semantic validation:

  • Every prop has a description (not just a type)
  • Every enum prop either has per-value semantic descriptions from a source, or is listed under "Needs a human" (never filled with plausible guidance)
  • Composition rules reference components that exist in the system (no broken references)
  • Accessibility contracts are complete for all interactive components

Cross-reference validation:

  • Component names in metadata match component names in code
  • Prop names and types match TypeScript interfaces
  • Where both sides declare composition, they agree (Card lists Button as a child and Button lists Card as a parent); a one-sided declaration is listed for review, not treated as an error
  • Status fields are consistent with the component's actual lifecycle status

Coverage reporting:

  • What percentage of components have complete metadata schemas?
  • What percentage of props have semantic descriptions beyond the TypeScript type?
  • What percentage of interactive components have accessibility contracts?
  • What percentage of conversion-related components have business context?

Step 8: Summarise in chat

End with a short chat summary:

  • Headline: how many component files were written and how many are complete
  • Files written: paths under .ai/metadata/ (or the configured metadata.output_directory), including schema.json and manifest.json
  • Needs a human: props flagged for manual description, and every block or combination marked proposed
  • Scope: the block from the output-discipline knowledge note, including components and sources not scanned

Recommend to the user

  • Co-locate metadata files with component source files or in a dedicated .ai/metadata/ directory
  • Automate prop extraction from TypeScript interfaces to keep the base layer in sync
  • Treat semantic, accessibility, and composition layers as authored knowledge: entries generated without a source stay proposed until someone on the team confirms them
  • Run validation as part of CI to catch metadata drift from source
  • Use the manifest as the entry point for all tooling that consumes component metadata
  • Regenerate after adding components, changing props, or updating accessibility contracts

Quality checks

  • Every generated schema is valid JSON and was validated with ajv, or the summary says validation didn't run
  • Props came from docgen, component-meta or a Custom Elements Manifest where one applies, keep the raw type alongside the normalised kind, and the Scope block names the extraction method
  • Semantic descriptions add information beyond what the prop name and type convey
  • Composition rules form a consistent graph (no contradictions between parent and child declarations)
  • Accessibility contracts cover all interactive components, not just the most common ones
  • Prohibited combinations cite specific reasons, not generic advice
  • The manifest accurately reflects the actual set of generated schema files
  • Business context appears only where the user or docs supplied it, and every entry has a source
  • Nothing traced to neither source nor docs is presented without a proposed marker

Câu hỏi thường gặp

Kỹ năng AI Metadata Schema Generator làm được gì?

Generate per-component JSON metadata files (.ai/metadata/) from source: props, behaviour, composition, a11y contract, prohibited prop combinations. Triggers: component metadata schema, machine-readable component JSON, manifest for MCP/codegen. Prose for Figma: use ai-component-description.

Vì sao nên dùng Metadata Schema Generator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Metadata Schema Generator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Metadata Schema Generator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/murphytrueman/design-system-ops/tree/main/skills/metadata-schema-generator. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Metadata Schema Generator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Metadata Schema Generator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Metadata Schema Generator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Metadata Schema Generator có miễn phí không?

Có. Kỹ năng này được murphytrueman phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇