Skills for Real Engineers. Straight from my .agents directory.
portaljs-deploy
Agent skill fromdatopian/portaljs
Deploy a PortalJS portal to PortalJS Arc — Datopian-managed static hosting on Cloudflare. Builds a static export, uploads it, and returns a live SLUG.arc.portaljs.com URL. One command, one target. Use when a portal is ready to publish or redeploy to a live URL.
How to install portaljs-deploy
npx skills add datopian/portaljs# or add only this skill to Claude Code: copy the folder
skills/portaljs-deploy/
# into
~/.claude/skills/portaljs-deploy/ (all projects)
.claude/skills/portaljs-deploy/ (one project)
1# PortalJS — Deploy23## Overview45Publish an existing PortalJS portal to **PortalJS Arc** — Datopian's managed static6hosting on Cloudflare. Build a static export, upload it to the Arc API, and print a live7`https://SLUG.arc.portaljs.com` URL. Re-running redeploys the same portal (idempotent on8the slug). This is a single-target skill — it deploys to Arc only. For self-hosting, run9`npm run build` and upload `out/` to any static host; no skill required for that path.10Arc serves static exports only — SSR is not hosted on Arc yet.1112## Prerequisites1314- A PortalJS portal directory with a `package.json` that lists `next` as a dependency.15- Node 18+ and npm on PATH (the Arc device-login flow uses Node's global `fetch`).16- `curl` and `tar` available for packaging and upload.17- A PortalJS Arc token — read from `PORTALJS_TOKEN`, or `~/.portaljs/credentials`18 (`{"token":"…"}`). If neither exists, the skill signs in on demand via a device-code19 flow; no manual token copying required.20- If the portal stores large data in Git LFS/R2, do not run `git lfs pull` before21 deploying — large datasets are served from Cloudflare R2 via absolute URLs in22 `datasets.json`, not copied into the export.2324## Instructions2526The canonical, full step-by-step workflow is27[`.claude/commands/portaljs-deploy.md`](https://github.com/datopian/portaljs/blob/main/.claude/commands/portaljs-deploy.md) — the28single source of truth. Read and follow it when executing. Summary:29…
Excerpt shown under the repository's MIT license.
More skills in portaljs
Similar skill repositories
An agentic skills framework & software development methodology that works.
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
Production-grade engineering skills for AI coding agents.
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
2,955+ reusable AI agent skills for Claude Code, Codex, Cursor and Gemini CLI. AAS Core adds local catalog discovery, agent-owned selection and plan preview. CLI, MCP and plugins.
