/data-conventions:data-conventionsfrom data-conventions
The team's opinionated defaults for writing data code in OCHA CHD DS repos — Python tooling (uv, ruff), processing-library preferences (ocha-lens), geo stack. Use when writing or reviewing data-loading, processing, or analysis code in a team repo. Advisory — the repo's own conventions always win.
Ships in data-conventions. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Advisory, not law (last reviewed 2026-07): these are the team's defaults. The
repo you're in wins — check its CLAUDE.md and existing code first, and don't retrofit
a deliberately-divergent project. If a default here has drifted from practice, say so
and open an issue on OCHA-DAP/ds-knowledge-base.
(For access to team data — stratus, blob naming, valid_time semantics, third-party
loaders — see the data-access plugin; those are facts, not style.)
Every item below carries its reason, and nothing new gets in without a failure. Those are the two halves of one policy: a default whose only justification is "that's how we did it" is habit, not a convention, and gets cut at the next review rather than inherited by the next repo (D93); and no instruction is added here without a concrete observed failure it would have prevented (D94) — reasons to stay in, failures to get in.
ocha-lens before writing custom processing — it already covers the team's
recurring shapes, and a bespoke reimplementation is one more thing to keep correct.
→ KB infrastructure/libs/ocha-lens.mdxarray for gridded, geopandas for vector, rioxarray for raster I/O
and clipping — the stack these libraries' own ecosystems assume, so going off-piste
costs interoperability rather than buying anything.uv, not pip — real lockfiles, and fast enough that a clean
environment is never the reason to skip one.except,
try/except/pass); catching a specific exception and continuing without saying so is
a judgement call it can't see, so that one is on you.Formatting and lint rules are deliberately not prose here — they live in one shared
config so they are enforced rather than remembered. → KB infrastructure/python-tooling.md
Default to generated static output over a served app. The decision rule, the
escalation triggers (auth, live DB reads, data size, user-driven compute) and the
hosting modalities live on one page → KB methods/static-data-apps.md.
Standing up or extending a GitHub Pages site → the pages-site skill in this plugin.
No default framework is named here on purpose. Dash/Streamlit/marimo largely existed to spare humans from writing HTML and JS — the labour that got cheap — so naming a successor before there is a real case to test it against is how the last set of defaults turned into habit.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub ocha-dap/ds-knowledge-base --plugin data-conventions