portaljs-architect
Recommend a data-portal architecture (storage, compute, catalog, access, hosting, metadata) from stated needs, then hand off to the build skills. The advisory entry point
Install / Use
npx skills add datopian/portaljs --skill portaljs-architectInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of portaljs-architect
portaljs-architect scores 91/100 on our quality scale, 1066th of 4,700 Development & Engineering skills we index (top 23%).
Its SKILL.md is 6.2 KB long, well organised into 11 sections with 3 code examples: a thorough specification that gives an agent plenty to work with.
With 2,356 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so portaljs-architect is actively maintained.
- Our last check on 2026-10-29 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-30. Automated pattern scan on 2026-09-29. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
portaljs-architect compared with similar skills
All 4 of these similar skills score higher than portaljs-architect; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| portaljs-architect (this skill)by datopian | 91 | 2.4k | 2mo ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 116.8k | 8d ago | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 72.1k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 47.3k | 2d ago | CLAUDE.md |
| lobehubby lobehub | 100 | 85.6k | today | MCP Server |
Frequently asked questions
- How do I install portaljs-architect?
- Run
npx skills add datopian/portaljs --skill portaljs-architect. The install tabs above show the steps for each supported agent. - Which AI agents does portaljs-architect work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is portaljs-architect safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is portaljs-architect still maintained?
- The repository was last updated about 2 months ago, so portaljs-architect is actively maintained.
Skill content
View source on GitHubname: portaljs-architect description: Recommend a data-portal architecture (storage, compute, catalog, access, hosting, metadata) from stated needs, then hand off to the build skills. The advisory entry point. Use when starting a new data-portal project and the underlying architecture has not yet been decided. allowed-tools: Read, Write, Bash(du:), Bash(wc:), Bash(ls:), Bash(head:) version: 1.0.0 author: Datopian hello@datopian.com license: MIT compatibility: Claude Code with PortalJS portals (Next.js 14, React 18, Node 18+). Runs from any project via the plugin, a personal ~/.claude/commands install, or a portaljs clone. tags:
- portaljs
- data-portal
- architecture
- advisory
- ckan
- nextjs
PortalJS — Architect
Overview
The advisory entry point for a PortalJS project. Before anything gets scaffolded, this
skill works out what to build: given the kind of portal, the shape of the data, and its
purpose, it fills six architecture slots (storage, catalog, compute, access, hosting,
metadata), resolves two build-time knobs (per-dataset data tier and the portal-wide
DATA_QUERY mode), and hands off to the concrete build skills. It decides; it does not
build. When the brief is thin it interviews in short rounds and never dead-ends — every
question has a sensible default, reachable by replying "use defaults."
Prerequisites
- A rough idea of the portal's purpose and data (exact numbers are not required — the interview supplies defaults for anything missing).
- Optional: local files or a directory of sample data to inspect for size and shape.
- No PortalJS project needs to exist yet; this skill runs before scaffolding.
Instructions
The canonical, full step-by-step workflow lives in
.claude/commands/portaljs-architect.md —
that file is the single source of truth. Follow it when executing this skill:
- Parse
$ARGUMENTSfor anything already specified, then interview for what's missing, one round at a time: (1) what's being built, (2) what the data is, (3) what it's for, (4) constraints. Accept "use defaults" at any point. Inspect named files/directories withdu -shand line counts to ground size guesses. - Derive the recommendation by matching the answers against the decision tables —
Storage/Catalog/Compute by data volume and query needs, Access/Hosting by public
vs. private, Metadata by standards-compliance needs — then resolve the two
build-time knobs: per-dataset data tier (
inline | LFS | external) and the portal-wideDATA_QUERYmode (flat | duckdb). - Echo the architecture brief (stack, reasoning per slot, deviations from default, deferred items) and wait for confirmation ("go") or corrections.
- On confirmation, persist the brief to
./ARCHITECTURE.mdin the working directory. - Hand off to the build skills —
/portaljs-new-portal,/portaljs-add-dataset,/portaljs-connect-ckan,/portaljs-define-schema,/portaljs-deploy— mapped from the brief, and offer to run the first one.
Output
- Created:
./ARCHITECTURE.mddocumenting the six slots, the two build-time knobs, the reasoning, and anything deferred to a later build step. - Modified: nothing else — this skill is advisory only.
- Verified: the brief was echoed back and confirmed before being persisted.
- Result: a concrete, named sequence of follow-up skill invocations
(e.g.
/portaljs-new-portal→/portaljs-add-dataset→/portaljs-deploy).
Error Handling
| Symptom | Cause | Fix |
| --- | --- | --- |
| Skill keeps asking rounds of questions | Brief was thin or $ARGUMENTS omitted | Answer inline, or reply "use defaults" to accept the opinionated default stack |
| Recommendation looks generic | Rounds were skipped without real data details | Give actual size/shape/cadence, or point at files for du -sh inspection |
| ARCHITECTURE.md never appears | Confirmation step was skipped | Reply "go" once the echoed brief looks right |
| Scaffolded portal has the wrong DATA_QUERY | Flat downgrade wasn't applied | Run the perl -pi -e one-liner from the command file against lib/datasets.ts |
| Hand-off names a skill that doesn't exist | Decision maps to a (planned) skill (e.g. /connect-openmetadata) | Treat it as designed-in/built-later; proceed with the closest available skill |
Examples
Example 1 — National statistics office, DCAT-AP harvesting
/portaljs-architect We're a national statistics office. ~200 datasets, mostly large
CSVs (some GBs), updated quarterly, all public, and we must publish DCAT-AP for the
EU data portal.
Infers a multi-publisher, analytics-grade portal. Recommends Parquet on R2 + DuckLake +
DuckDB, static Cloudflare Pages, Frictionless + DCAT-AP metadata, owner namespace,
data tier external for the Parquet, DATA_QUERY=duckdb. Writes ARCHITECTURE.md and
hands off to /portaljs-new-portal then /portaljs-add-dataset.
Example 2 — Small nonprofit, no arguments given
/portaljs-architect
Runs the full four-round interview since nothing was pre-filled. Accepting defaults at
each round lands on the opinionated default stack: repo files or Git-LFS + R2 storage,
datasets.json catalog, DuckDB compute, static access on Cloudflare Pages, Frictionless
metadata, theme namespace, data tier LFS, DATA_QUERY=duckdb.
Example 3 — Internal catalog with restricted datasets
/portaljs-architect Internal engineering data catalog, single team, dozens of CSVs,
some of it access-controlled to specific roles.
The private-data answer in Round 2 flips Access/Hosting to runtime + backend RBAC on Cloudflare Workers — flagged as the larger, opt-in build — while Storage/Catalog/Compute still follow the volume-based defaults.
Resources
- Full workflow:
.claude/commands/portaljs-architect.md - Reference:
references/reference.md - Decision framework:
site/content/docs/architecture/decision-framework.md - Related skills:
/portaljs-new-portal,/portaljs-add-dataset,/portaljs-connect-ckan,/portaljs-define-schema,/portaljs-deploy
Related Skills
taste-skill
116.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
72.1kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
47.3kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
lobehub
85.6k🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
