协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
electricitymaps-contrib【开发与工程】Use for Electricity Maps contrib parser development, capacity updates, zone/exchange configuration maintenance, and focused repo validation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when working on the electricitymaps-contrib repository or the
electricitymap-contrib Python package. The repo collects and standardizes
public electricity data through live parsers, installed-capacity parsers, and
static zone/exchange configuration files.
Do not use this skill for the proprietary Electricity Maps platform, frontend, API access decisions, or generic electricity-market analysis that does not touch this repository's parser/configuration workflows.
Confirm the checkout is for electricitymaps/electricitymaps-contrib and
compare it with repo provenance before
trusting stale paths, parser names, or config fields.
Install for development with uv sync --extra parsers --group dev when
possible. If a toolchain cannot use dependency groups, read
installation and checks for the pip
fallback and the difference between the parsers extra and dev tools.
Run the bundled import diagnostic before debugging path-sensitive parser imports:
python scripts/check_environment.py --repo-root <electricitymaps-contrib-checkout>
Pick the owning sub-skill below. Keep runtime work anchored in the current checkout; the references and scripts in this skill replace the need to open the original source docs or scripts by path.
| User task | Read next |
|---|---|
| Add, repair, inspect, or smoke-test a live parser for production, consumption, price, exchange, forecast, grid alerts, LMP, or intraday statistics | parsers |
Diagnose parser output shape, parser signature, timezone, missing token, optional dependency, or test-parser behavior | parsers and parser troubleshooting |
Update installed capacity values, run capacity_update, add a capacity parser, or review capacity time-series semantics | capacity |
| Understand capacity config scalar/dict/list formats, aggregate parent-zone capacity rules, or source-group updates such as EIA/EMBER/ENTSOE/IRENA/ONS/OPENNEM/REE | capacity |
Edit or validate config/zones, config/exchanges, data-center JSON, emission-factor/co2eq config, filename ordering, or geometry consistency | configuration |
| Create an aggregate zone config, validate zone/exchange filenames, or plan safe zone removal/retirement | configuration |
| Install/import failures, missing CLI entry points, missing parser extras, Node/prettier issues, or token/network boundaries shared across workflows | repo troubleshooting |
tests/test_parser_interface.py; capacity
changes start with capacity helper tests; config changes start with config
model and filename/geo tests.--list/--describe/dry-run modes until
the user has approved live calls and credentials are available.productionCapacity belongs to the capacity route, not the live-parser
smoke route. It has a different signature and mutates installed-capacity
config through update helpers.scripts/check_environment.py verifies the package, parser namespace,
config model, console entry points, and common optional imports without live
network calls.