Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Wires a scaffolded PortalJS portal to a live CKAN backend, replacing datasets.json with CKAN API data for catalog and showcase pages.
41% 68%+27 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 9 of 22 without it.
When checking the organization filter 'finance-dept', the CKAN server returns success: false. What should happen next?
Fetches valid organization names using the organization_list API action
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Connect an existing portaljs-catalog portal to a live CKAN backend for the "decoupled /
any backend" path. The portal stops reading the static datasets.json manifest (and files
in /public/data/) and instead feeds its two data surfaces — the /search catalog and
the /@namespace/slug showcases — straight from a CKAN instance's REST API
(package_search / package_show) through a generated fetch client. Output is plain,
editable Next.js code with no runtime dependency — never @portaljs/ckan, whose bundle
wires React UI components to React 18 internals and crashes at import under the template's
React 19. Pages fetch CKAN server-side in getStaticProps/getStaticPaths, so the catalog
is pre-rendered at build time and the site can still be statically deployed. Run this right
after portaljs-new-portal to swap a freshly scaffolded portal's sample data over to CKAN.
portaljs-new-portal) with package.json, pages/,
datasets.json, pages/search.tsx, and pages/[owner]/[slug].tsx present.https://demo.dev.datopian.com.The canonical, full step-by-step workflow is
.claude/commands/portaljs-connect-ckan.md —
the single source of truth. Read and follow it when executing. Summary:
$ARGUMENTS — CKAN base URL (required), org filter (optional), group
filter (optional), portal directory (default .). If the URL is missing, interview the
user; never dead-end with a missing-input error.portaljs-catalog portal; if not, suggest
portaljs-new-portal instead of failing silently.package_search?rows=1, and validate each org
filter via organization_show; on failure, explain and re-prompt rather than dead-ending.lib/ckan.ts — a self-contained server-side fetch client wrapping
package_search and package_show, with DMS, ORG_FILTER, GROUP_FILTER, and
MAX_DATASETS as editable constants.pages/search.tsx to list datasets from package_search, linking each to
/@namespace/slug via datasetHref; leave pages/index.tsx untouched.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.