swe-devops-standards

Solid

Always invoke to review, repair, or deliver geospatial or GeoAI code, including contract compliance, security, error handling, transactions, tests, scripts, functions, notebooks, packages, CI/CD, and repository changes, even when deployment is not requested. Pair with the domain skill for ETL and other production code. Covers CRS/data invariants, dependencies, cross-platform reproducibility, automation, and shipping. Do not trigger for unrelated software or analysis requesting no code or repository artifact.

DevOps & Infrastructure 17 stars 1 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
42
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Geospatial SWE & DevOps Standards Purpose: code produced as part of geospatial work should run in the user's real environment and meet peer-level engineering quality. Apply these rules only when code or repository artifacts are in scope. ## 1. Environment realities (the top error source) - **Script-first by default**: no `%matplotlib inline`, `!pip install`, or `display()` unless the user is explicitly in a notebook. Every file runs from a terminal via `python script.py` behind an `if __name__ == "__main__":` block. (Cell markers like `# %%` are fine as an addition — the script must also work without them.) - **Cross-platform paths**: always `pathlib.Path`; never string-concatenate or hardcode `/` or `\\`. Ask or detect the user's OS before giving shell commands; give CMD/PowerShell syntax on Windows, POSIX elsewhere — don't mix (`export` vs `set`, `venv/bin/activate` vs `venv\Scripts\activate`). - **Encodings**: explicit `encoding="utf-8"` on every text file open — Windows still defaults to legacy code pages, and non-ASCII content corrupts silently. - **Modern Python (3.11+)**: `X | None` unions, `type` aliases, structural pattern matching where they clarify; state the minimum version if a feature requires it. ## 2. Code quality defaults Applied to every generated function/module, even when not asked: ```python def compute_share(values: list[float], total: float) -> list[float]: """Return each value's share of the total. Args: ...

Details

Author
muend
Repository
muend/geoai-skills
Created
1 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

engineering-standards

Team engineering practice — code conventions and readability, git and branching workflow, commit and pull request hygiene, code review standards, architecture decision records, documentation and runbooks, onboarding, developer experience, and managing technical debt deliberately. Use when the user says "code review", "conventions", "code style", "git workflow", "branching", "commit messages", "pull request", "ADR", "documentation", "README", "onboarding", "developer experience", "technical debt", "refactor", "CLAUDE.md", "AGENTS.md" or "how should the team work"; and as a pass in any project audit covering documentation and DX. By Devleck.

3 Updated 2 weeks ago
Kin9Zeus
Code & Development Listed

engineering-discipline

Engineering standards for writing production code, slicing and reviewing PRs, authoring tests, running pre-push gates, and merging — on any stack. Covers code reuse and duplication, layering, enum and type discipline, complexity caps, tenant/scope isolation as a security invariant, dead code versus unwired capability, config-from-day-one, index-per-query, URL providers, server-versus-client state, loading and empty state contracts, accessibility, bulk-operation partial failure, design fidelity, seed data, invariant and e2e test standards, the review-fold-re-review loop, multi-PR migration cutovers, the full-gate sequence, merge policy, and agent-fleet orchestration. Load before writing production code, opening or reviewing a PR, authoring tests, pushing, or merging.

1 Updated 1 weeks ago
abhimanyusingh-gh
Data & Documents Solid

geo-data-engineering

Always invoke when geospatial data must be acquired, prepared, repaired, scaled, or moved through a repeatable pipeline. Covers open-data/OSM/STAC acquisition, spatial formats, CRS transforms, quality checks, and batch ETL architecture for growing or recurring joins. Invoke alongside PostGIS for database execution and alongside SWE standards when code is delivered. Do not trigger merely because another specialist reads analysis-ready data.

17 Updated 1 weeks ago
muend