From c505ae24a19b0cd8a1ab30d1fc328993f7a62a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Shixiang=20Wang=20=28=E7=8E=8B=E8=AF=97=E7=BF=94=29?= Date: Sun, 25 Oct 2026 22:17:36 +0800 Subject: [PATCH] docs: add skill landing page and rewrite the README agent-skill section - serve a human-readable SKILL.html next to SKILL.md so the previously 404ing URL resolves; the Markdown file remains the canonical artifact for agents - rewrite the 'Agent skill (remote)' section: explain what the file is, how to fetch it, and link the file, landing page, and source; drop the awkward '(remote)' qualifier and the uppercase host name - fix the comma-splice sentence in 'Learning geokit' - normalize https://WangLabCSU.github.io to the lowercase canonical host throughout SKILL.md --- README.Rmd | 23 +++++--- README.md | 28 ++++++--- pkgdown/assets/skills/geokit/SKILL.html | 76 +++++++++++++++++++++++++ pkgdown/assets/skills/geokit/SKILL.md | 32 +++++------ 4 files changed, 128 insertions(+), 31 deletions(-) create mode 100644 pkgdown/assets/skills/geokit/SKILL.html diff --git a/README.Rmd b/README.Rmd index c832ca9..bf74c26 100644 --- a/README.Rmd +++ b/README.Rmd @@ -56,16 +56,25 @@ pak::pak("WangLabCSU/geokit") ## Learning geokit -Check out the [guides](https://wanglabcsu.github.io/geokit/) for learning -everything, there is to know about all the different features. +Check out the [guides](https://wanglabcsu.github.io/geokit/) to learn +everything there is to know about the different features. -## Agent skill (remote) +## Agent skill -A scientific Agent Skills file for AI agents is published once with the -documentation site: +geokit ships an [Agent Skills](https://agentskills.io) file that teaches AI +coding assistants how to use the package effectively — searching GEO, +downloading data, parsing metadata, and chatting with LLMs — without reading +the full documentation first. The file is served as plain Markdown together +with this website, so your assistant can fetch it directly, no installation +required: ```bash -curl -fsSL https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md +curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md ``` - +- Skill file: +- Landing page: +- Source: [pkgdown/assets/skills/geokit/SKILL.md](https://github.com/WangLabCSU/geokit/blob/main/pkgdown/assets/skills/geokit/SKILL.md) + +The file lives in this repository and is deployed with the documentation +site, so it stays in sync with the released docs. diff --git a/README.md b/README.md index dde6981..b41fac0 100644 --- a/README.md +++ b/README.md @@ -47,16 +47,28 @@ pak::pak("WangLabCSU/geokit") ## Learning geokit -Check out the [guides](https://wanglabcsu.github.io/geokit/) for -learning everything, there is to know about all the different features. +Check out the [guides](https://wanglabcsu.github.io/geokit/) to learn +everything there is to know about the different features. -## Agent skill (remote) +## Agent skill -A scientific Agent Skills file for AI agents is published once with the -documentation site: +geokit ships an [Agent Skills](https://agentskills.io) file that teaches +AI coding assistants how to use the package effectively — searching GEO, +downloading data, parsing metadata, and chatting with LLMs — without +reading the full documentation first. The file is served as plain +Markdown together with this website, so your assistant can fetch it +directly, no installation required: -```bash -curl -fsSL https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md +``` bash +curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md ``` - +- Skill file: + +- Landing page: + +- Source: + [pkgdown/assets/skills/geokit/SKILL.md](https://github.com/WangLabCSU/geokit/blob/main/pkgdown/assets/skills/geokit/SKILL.md) + +The file lives in this repository and is deployed with the documentation +site, so it stays in sync with the released docs. diff --git a/pkgdown/assets/skills/geokit/SKILL.html b/pkgdown/assets/skills/geokit/SKILL.html new file mode 100644 index 0000000..41abdfb --- /dev/null +++ b/pkgdown/assets/skills/geokit/SKILL.html @@ -0,0 +1,76 @@ + + + + + +geokit · Agent Skill + + + +

geokit Agent Skill

+

Teach AI coding assistants how to use geokit effectively.

+ +

+ SKILL.md is an Agent + Skills file for geokit, an R interface to the NCBI Gene Expression + Omnibus (GEO). It condenses the package's search, download, parsing, and + chat helpers into a reference that AI coding assistants can read before + writing code. The file is deployed with this documentation site and always + matches the released documentation. +

+ +
+

Fetch it for your agent — the canonical URL is + the Markdown file below; point your assistant at it or download it + directly:

+
curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md
+
+ +

+ Open SKILL.md + View source + Documentation home +

+ + diff --git a/pkgdown/assets/skills/geokit/SKILL.md b/pkgdown/assets/skills/geokit/SKILL.md index e69b4fc..8dc1ab5 100644 --- a/pkgdown/assets/skills/geokit/SKILL.md +++ b/pkgdown/assets/skills/geokit/SKILL.md @@ -16,10 +16,10 @@ metadata: author: WangLabCSU package: geokit version: "0.0.2" - homepage: https://WangLabCSU.github.io/geokit/ + homepage: https://wanglabcsu.github.io/geokit/ repository: https://github.com/WangLabCSU/geokit - skill-url: https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md - docs: https://WangLabCSU.github.io/geokit/reference/ + skill-url: https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md + docs: https://wanglabcsu.github.io/geokit/reference/ --- # geokit — NCBI GEO toolkit for R @@ -57,10 +57,10 @@ Do **not** invent GEO accessions or pretend downloads succeeded without network Single canonical file (Agent Skills layout under the pkgdown site): ```bash -curl -fsSL https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md +curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md ``` -Package documentation site: +Package documentation site: ## Installation @@ -442,17 +442,17 @@ Always parameterize `odir`, record accessions + date + geokit version in analysi | Resource | URL | |----------|-----| -| Home | https://WangLabCSU.github.io/geokit/ | -| This skill | https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md | -| Reference | https://WangLabCSU.github.io/geokit/reference/ | -| Search vignette | https://WangLabCSU.github.io/geokit/articles/geo-search.html | -| Metadata DB vignette | https://WangLabCSU.github.io/geokit/articles/geometadb.html | -| Chat vignette | https://WangLabCSU.github.io/geokit/articles/geo-chat.html | -| Case study: diabetic nephropathy | https://WangLabCSU.github.io/geokit/articles/case-diabetic-nephropathy.html | -| Case study: urothelial cancer | https://WangLabCSU.github.io/geokit/articles/case-urothelial-cancer.html | -| SOFT vignette | https://WangLabCSU.github.io/geokit/articles/geo-soft.html | -| Matrix vignette | https://WangLabCSU.github.io/geokit/articles/geo-matrix.html | -| Suppl vignette | https://WangLabCSU.github.io/geokit/articles/geo-suppl.html | +| Home | https://wanglabcsu.github.io/geokit/ | +| This skill | https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md | +| Reference | https://wanglabcsu.github.io/geokit/reference/ | +| Search vignette | https://wanglabcsu.github.io/geokit/articles/geo-search.html | +| Metadata DB vignette | https://wanglabcsu.github.io/geokit/articles/geometadb.html | +| Chat vignette | https://wanglabcsu.github.io/geokit/articles/geo-chat.html | +| Case study: diabetic nephropathy | https://wanglabcsu.github.io/geokit/articles/case-diabetic-nephropathy.html | +| Case study: urothelial cancer | https://wanglabcsu.github.io/geokit/articles/case-urothelial-cancer.html | +| SOFT vignette | https://wanglabcsu.github.io/geokit/articles/geo-soft.html | +| Matrix vignette | https://wanglabcsu.github.io/geokit/articles/geo-matrix.html | +| Suppl vignette | https://wanglabcsu.github.io/geokit/articles/geo-suppl.html | | Source | https://github.com/WangLabCSU/geokit | | Issues | https://github.com/WangLabCSU/geokit/issues | | GEO query tutorial | https://www.ncbi.nlm.nih.gov/geo/info/qqtutorial.html |