study-area-map SKILL.md skillA

study-area-map from keros68/xiaoyu-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add keros68/xiaoyu-skill/study-area-map@git:20260925.18864d5

Pins git:20260925.18864d5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
keros68/xiaoyu-skill
Path
skills/study-area-map/SKILL.md
Versions recorded
3
Latest version
git:20260925.18864d5, committed Sep 25, 2026
First version recorded
Sep 2, 2026
Size
7,937 bytes
Repository stars
14
License
MIT

Use when building a study-area location or setting map for a paper in R with ggplot2 + sf + terra — nested locator panels (country → province → site), shaded-relief DEM basemaps, land-use and other categorical rasters, classed continuous rasters, sampling sites with graduated symbols, one locator with several thematic panels, zoom leader lines, in-panel or strip legends, north arrows and scale bars. Also covers sourcing boundary and elevation data, including reading ArcGIS and MapGIS files.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# study-area-map

Builds the frame of a study-area map: projection, window, basemap, thematic layers, panel composition and map furniture. The details that are easy to get wrong carry assertions, so a wrong window, a blank raster edge, a legend on the frame or an inset on land stops the script instead of reaching the journal.

## Modules

Source in this order; later files use earlier ones.

| File | Contents |
|---|---|
| `reference/relief_basemap.R` | constants `LW`, `LW_DAT`, `TXT_PT`, `TXT_GG` (set only if undefined, so a house-style preamble wins), `ensure_font()`, `theme_map_pub()`; windows `inscribed_window()`, `bbox_union()`, `fit_aspect()`, `win_aspect()`, `pad_win()`, `pad_until_clear()`; DEM `load_dem()`, `vsizip_tiles()`, `locate_na()`; relief `shade_factor()`, `relief_rgb()`; furniture `north_needle()`, `elev_legend_block()`, `legend_backing()`, `frac_fun()`, `assert_inside()`, `FRAME_PAD`; insets `inset_aspect()`, `corner_inset()`, `inset_is_clear()`, `assert_inset_clear()`, `widen_for_inset()`; composition `pin_panel()`, `panel_margins()`, `with_font_device()`, `box_in()`, `add_leaders()`, `credit_footer()`; checks `assert_window()`, `check_cn_content()` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add keros68/xiaoyu-skill/study-area-map@sha256:42a7769526d6f2b5

The line at the top of this page pins the label git:20260925.18864d5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kdnkdkg4htvggkzz.svg)](https://markdownregistry.com/a/art_kdnkdkg4htvggkzz)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Sep 2, 2026 and Sep 25, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20260925.18864d5 latest2026-09-25 18864d5 7,937 BA view · diff
git:20260924.31ddc532026-09-24 31ddc53 31,672 BA view · diff
git:20260902.66a65652026-09-02 66a6565 31,677 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7937 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

keros68/xiaoyu-skill · 14 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kdnkdkg4htvggkzz
GET https://markdownregistry.com/api/v1/resolve?ref=keros68/xiaoyu-skill/study-area-map
GET https://markdownregistry.com/api/v1/blob/42a7769526d6f2b589e55a719972520c7d09b01c1030811c0067c60b8454f67b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from keros68/xiaoyu-skill

abstract-fig SKILL.md skill
keros68/xiaoyu-skill · skills/abstract-fig/SKILL.md · Plan, create, or revise editable scientific graphical abstracts, concept and mechanism diagrams, method frameworks…
git:20260929.0701efd · audit A · 14 stars
academic-reference-matcher SKILL.md skill
keros68/xiaoyu-skill · skills/academic-reference-matcher/SKILL.md · Use only for user-provided academic text, explicit scholarly claims, existing citations, or known bibliographies…
git:20260902.66a6565 · audit A · 14 stars
ai-cross SKILL.md skill
keros68/xiaoyu-skill · skills/ai-cross/SKILL.md · 多模型分工与跨厂商交叉验证 skill:把任务派给合适的模型分工执行,用不同厂商的模型互相核查关键产出,按档位分层派发以节省订阅额度。适用场景:用户要求派发任务、分层执行、多模型协作、对关键产出做交叉验证、盘点或接入可用模型,或提到…
v1.21.3 · audit A · 14 stars
AGENTS.md@skills/ai-cross/qoder AGENTS.md file
keros68/xiaoyu-skill · skills/ai-cross/qoder/AGENTS.md
git:20261005.dcbbe7d · audit A · 14 stars
cugb-doctoral-thesis-format SKILL.md skill
keros68/xiaoyu-skill · skills/cugb-doctoral-thesis-format/SKILL.md · Use when editing, auditing, or finalizing CUGB doctoral thesis DOC/DOCX files, especially thesis templates, format…
git:20260902.66a6565 · audit A · 14 stars
sci-select SKILL.md skill
keros68/xiaoyu-skill · skills/sci-select/SKILL.md · Use when a user needs SCI/SCIE/ESCI/SSCI journal-submission help: evidence-backed candidate-journal discovery from a…
git:20260902.66a6565 · audit A · 14 stars

Every file in keros68/xiaoyu-skill

Browse by kind, by grade A, or by owner.