add-metric

Scaffold a new PropertyIQ metric with registry entry, fetcher, and types.

Updated Nov 25, 2025
One-click install
npx skills add https://github.com/jimbrig/Realestate --skill add-metric-jimbrig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-metric
Source: https://github.com/jimbrig/Realestate/tree/main/.claude/skills/add-metric
Command: npx skills add https://github.com/jimbrig/Realestate --skill add-metric-jimbrig

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold a new metric in the PropertyIQ data layer, creating registry entries, fetchers, and type definitions to enable consistent data access and usage.

Core Features & Use Cases

  • Adds a registry entry for the metric with its id, title, and format.
  • Creates a fetcher path and type definitions to surface the metric through the API.
  • Use Case: A data team adds a new metric for rent growth from multiple data sources and makes it queryable via a unified API.

Quick Start

Create a new metric by updating the registry and adding the necessary fetcher and type definitions in the repository.

Frequently Asked Questions about add-metric

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

FAQPage Schema
How do I add a new metric to a data layer registry and expose it through an API?

To add a new metric to a data layer, you update the registry with the metric's id, title, and format, then generate the corresponding fetcher and type definitions to expose it through a standardized API.

What is metric scaffolding and how does it standardize data access?

Metric scaffolding is the process of creating registry entries, fetchers, and type definitions to enable consistent data access. It ensures metrics sourced from various data sources are exposed through a unified API.

How do I scaffold a fetcher path and type definitions for a new data source metric?

You scaffold a fetcher path and type definitions by adding a registry entry for the metric and generating the necessary fetcher and type files in the repository to surface the data through the API.

Can I verify an API endpoint after adding a new metric to the registry?

Yes, after adding a new metric to the registry, the scaffolding process ensures the corresponding API endpoint can be verified and provides a basic test path for validation.

What is the best way to automate metric scaffolding for a unified API?

Automating metric scaffolding involves using a tool to update the registry and automatically create fetcher paths and type definitions, ensuring consistent data access and usage across a unified API.