Docs

Install

CLI & AI-agent skill

The package carries its own tooling — nothing to install, nothing phones home.

Not published yet. @jalon/dock isn't on the public npm registry yet, so the npx @jalon/dock commands below will 404 until it is. They are documented here for what they do once the package ships.

Audit your integration

npx @jalon/dock audit

Checks the repo for the mistakes that are easy to ship without noticing — most of them look installed and do nothing:

  • a script tag without defer (holds up the page while the loader downloads)
  • a placeholder app id the scaffolder wrote and nobody swapped
  • a committed localhost endpoint (answers on exactly one machine)
  • something that looks like a secret key beside the public pk_…
  • both install paths in one repo (the setup that stacks two docks)

Errors exit 1; warnings don't, unless you pass --strict.

Run it on every pull request

npx @jalon/dock audit --init-workflow

Writes .github/workflows/jalon-audit.yml — the same audit as a GitHub check on every pull request and every push to main.

Teach your AI coding agent

npx @jalon/dock skill

Installs a skill at .claude/skills/install-jalon-dock/ that AI coding agents discover automatically. After that, "add the Jalon dock to this app" gets the install right — including the rule agents otherwise get wrong: behaviour is configured in the console, and with the script tag the code never changes for it.

Scaffold a new app

Not published yet — create-jalon isn't on the public npm registry, so the command below will 404 until it is. Documented here for what it will do once it ships; for a working install today, use the script tag.

npm create jalon my-app                      # React + Vite
npm create jalon my-site -- --template html  # one HTML file

Both take --console https://console.jalon.dev and --app-id pk_….