fill-metric-ids
Installation
SKILL.md
Fill Metric IDs (Generic)
This skill provides a generic utility to scan an HTML file for text (metric names) and append their corresponding IDs from a provided data source.
Capabilities
- Generic Matching: Matches text in HTML against a Name->ID dictionary (Excel or CSV).
- Fuzzy Matching: Uses difflib to handle slight variations (e.g. "User Count" vs "Count", "访问数" vs "访问人数").
- Context Aware: Can prepend prefixes to keys based on parent element IDs/Classes (defined in config).
- Flexible Selectors: Target specific tags (default
h3, th, td).