技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
configuration【数据与研究】Use when maintaining Electricity Maps zone, exchange, data-center, emission-factor, geo, and config-model validation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for static repository configuration: config/zones,
config/exchanges, config/defaults.yaml, data-center JSON, co2eq/emission
factor metadata, geography consistency, and filename/model validation.
Use parsers for live parser code and parser output contracts. Use capacity when the task specifically updates installed capacity values or capacity parsers.
Identify the config surface: zone YAML, exchange YAML, data centers, co2eq/emission factors, aggregate zone creation, or geometry consistency.
Run safe validators before and after edits:
python scripts/validate_config_filenames.py --repo-root <checkout>
uv run pytest tests/config/test_config_model.py tests/test_zones_json.py tests/test_exchanges_json.py -q
Use the aggregate helper in dry-run mode before writing a parent zone file:
python scripts/create_aggregated_zone_config.py --repo-root <checkout> US America/New_York
If a task also changes parser mappings or capacity values, route to the owning sub-skill and then return here for model/filename/geo validation.
scripts/validate_config_filenames.py checks uppercase zone filenames and
uppercase/sorted exchange filenames.scripts/create_aggregated_zone_config.py previews aggregate zone YAML from
subzones and requires --write before mutating files._ as the filename separator.A->B even though filenames use A_B.yaml.ParserDataType names and MODULE.function
strings; live parser mapping behavior is validated through the parser route.subZoneNames must point to existing zone config files and should align with
geography and exchange-neighbor expectations.sources map.uv run pytest tests/config/test_config_model.py tests/config/test_config_zones.py -q
uv run pytest tests/test_zones_json.py tests/test_exchanges_json.py -q
uv run pytest tests/config/test_data_center_model.py tests/config/test_emission_factors.py \
tests/test_co2eq_parameters.py -q
For parser mapping edits also run tests/test_parser_interface.py; for capacity
edits also run the capacity tests named by the capacity sub-skill.