Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds an extra file, such as a data dictionary or methodology doc, to an existing PortalJS dataset's resources.
Use this skill ↓50% 77%+27 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 11 of 22 without it.
3 of 3 safety checks passed
Not used yet
Add a resource — an additional file — to a dataset that already exists in a
portaljs-catalog portal. Where /portaljs-add-dataset creates a new dataset
(one file), this skill adds a file to an existing one: a data dictionary, a
methodology document, or another data file (e.g. a second year's figures).
Mirrors the Frictionless Data Package model: a dataset holds a resources[] array,
and the showcase at /@<namespace>/<slug> renders one section per resource (preview,
schema, download). A single-file dataset migrates to resources[] automatically the
first time a second file is added — no data is lost.
portaljs-catalog template) with datasets.json,
package.json, and pages/[owner]/[slug].tsx present.datasets.json.npx next build for verification.The canonical, full step-by-step workflow lives in
.claude/commands/portaljs-add-resource.md
in this repository — that file is the single source of truth. Read and follow it. Summary:
DATASET (slug or namespace/slug), SOURCE
(path or URL), PORTAL_DIR (default .), RESOURCE_NAME, RESOURCE_TITLE,
DESCRIPTION. If DATASET or SOURCE is missing, list datasets from
datasets.json and ask./portaljs-add-dataset instead.PORTAL_DIR/public/data/ under a
non-colliding filename.datasets.json: if the dataset has no resources yet, migrate its
top-level file/format/schema into the first resource (lossless), thenSkills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.