WR

writing-registry-meta

Automates the creation of required .meta.json files for MUI Treasury component registries.

Install

mkdir -p .claude/skills/writing-registry-meta && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/160" && unzip -o skill.zip -d .claude/skills/writing-registry-meta && rm skill.zip

Installs to .claude/skills/writing-registry-meta

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use this skill when writing meta file for MUI Treasury registry.
64 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Enforces JSON schema for registry component indexing
  • Standardizes naming conventions for registry items
  • Generates machine-readable interface documentation
  • Categorizes components into primitive or AI types
  • Configures container-level preview CSS classes

How it works

Validates and structures component information into a strict JSON format that the build tool uses to populate the registry index.

Inputs & outputs

You give it
Component details and registry file context.
You get back
A.meta.json file formatted for index building.

When to use writing-registry-meta

  • Creating registry metadata for new UI components
  • Updating existing component documentation
  • Standardizing registry file formats
  • Preparing components for the registry index

About this skill

  • The meta file must be in JSON format.
  • The meta file must be located in the same directory as the registry file.
  • The meta file must have the same name as the registry file, but with a .meta.json extension.
  • The meta file must contain the following fields:
    • name: The registry name in kebab-case, same as file name without extension.
    • title: The name of the registry usually the same as the component name in Pascal case.
    • type: always "registry:item".
    • description: IMPORTANT! Describe the registry in detail to help LLM understand what the interface looks like and its purpose. Start with "Integrated [library name]" if using third-party libraries (e.g., Base UI). Focus on visible features (buttons, labels, states) and accessibility. DO NOT list individual Material UI components.
    • meta: Additional metadata about the registry
      • category: one of "primitive", "ai"
      • previewClassName: The extra class name to add to the preview container.

IMPORTANT! after writing/updating a meta file, run pnpm registry:build to populate the registry index.

When not to use it

  • General markdown documentation for standard code files
  • Projects not using the MUI Treasury registry system

Prerequisites

pnpm

Limitations

  • Strict schema enforcement allows no flexibility in field naming
  • Requires manual post-update build command execution
  • Limited to describing UI components in a registry

How it compares

It is a rigid, rule-based schema generator designed specifically for machine discovery within a registry rather than generic documentation.

Compared to similar skills

writing-registry-meta side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
writing-registry-meta (this skill)57moNo flagsBeginner
tsx02moReviewBeginner
React + Ant Design Frontend05moReviewIntermediate
new-component04moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry