Skills for Real Engineers. Straight from my .agents directory.
portaljs-add-dataset
Agent skill fromdatopian/portaljs
Add a dataset (CSV, TSV, JSON, or GeoJSON) to an existing PortalJS portal. Appends an entry to datasets.json so the catalog and showcase render it automatically; routes the data by source (local file vs remote URL) — R2 via Git LFS by default, remote URLs by passthrough. Use when registering a new dataset in a scaffolded portal.
How to install portaljs-add-dataset
npx skills add datopian/portaljs# or add only this skill to Claude Code: copy the folder
skills/portaljs-add-dataset/
# into
~/.claude/skills/portaljs-add-dataset/ (all projects)
.claude/skills/portaljs-add-dataset/ (one project)
1# PortalJS — Add Dataset23## Overview45Register a dataset in a PortalJS (`portaljs-catalog`) portal. The skill appends one entry to6`datasets.json` — the single source of truth for the catalog — and routes the underlying7bytes by **source first, then size**: a local file defaults to R2 via Git LFS, a remote URL8defaults to passthrough (no copy). No per-dataset page is created; the catalog at `/search`9lists the new entry and the dynamic showcase route `pages/[owner]/[slug].tsx` renders it10automatically at `/@<namespace>/<slug>`. Supported formats for the showcase preview: CSV,11TSV, JSON (array), and GeoJSON.1213## Prerequisites1415- A scaffolded PortalJS portal (see `portaljs-new-portal`) with `datasets.json`,16 `package.json`, and `pages/[owner]/[slug].tsx` present.17- The source data: a local file path or a publicly reachable URL.18- For the R2/Git LFS default route: `git` and `git-lfs` installed, and an Arc account token19 (or an OSS Giftless key) to mint a push-scoped LFS credential.20- Node 18+ and npm available in the portal directory.2122## Instructions2324The canonical, full step-by-step workflow is25[`.claude/commands/portaljs-add-dataset.md`](https://github.com/datopian/portaljs/blob/main/.claude/commands/portaljs-add-dataset.md) —26the single source of truth. Read and follow it when executing. Summary:27281. Gather input from `$ARGUMENTS` — source (file path or URL), portal directory (default29…
Excerpt shown under the repository's MIT license.
More skills in portaljs
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
