chi-generate-metadata

Generate and synchronize MCP metadata from SCSS sources into metadata.json.

17|63|Updated Mar 12, 2021
One-click install
npx skills add https://github.com/CenturyLink/Chi --skill chi-generate-metadata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chi-generate-metadata
Source: https://github.com/CenturyLink/Chi/tree/main/.cursor/skills/chi-generate-metadata
Command: npx skills add https://github.com/CenturyLink/Chi --skill chi-generate-metadata

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the synchronization of metadata for the Chi Design System, ensuring that AI tools have up-to-date information about components, tokens, and utilities.

Core Features & Use Cases

  • Sync Skills: Updates auto-generated sections in Skills/Rules files from SCSS sources.
  • Generate Metadata: Produces src/mcp/metadata.json for external MCP servers.
  • Use Case: When new design tokens or utility classes are added to the Chi SCSS files, this skill can be invoked to automatically update the relevant AI-facing metadata, keeping the AI assistant informed.

Quick Start

Run the command to sync skills from SCSS sources.

Frequently Asked Questions about chi-generate-metadata

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync design system metadata from SCSS sources?

You can sync design system metadata by running a command that updates auto-generated sections in Skills/Rules files directly from your Chi SCSS sources.

How do I generate MCP metadata for a design system?

To generate MCP metadata, execute the skill to parse SCSS sources and produce the `src/mcp/metadata.json` file for external MCP servers.

Do I need Node.js to update AI assistant knowledge base metadata?

Yes, you need Node.js and npm installed in your environment to execute the metadata generation and synchronization scripts for the design system.

When do I need to update design system metadata for AI tools?

You need to update design system metadata when new design tokens or utility classes are added to SCSS files, ensuring the AI assistant stays informed with current component data.

What is the best way to maintain consistency between design system code and AI documentation?

The best way to maintain consistency is automating metadata synchronization, which updates AI-facing Skills/Rules files whenever underlying SCSS component sources change.

Can I use this metadata sync skill without an existing Chi Design System setup?

No, this skill specifically requires existing Chi Design System SCSS source files to parse and generate the corresponding MCP metadata and update Skills/Rules files.