superhuman-docs-pack
Installation
SKILL.md
Building + publishing a Superhuman Docs pack
Superhuman Docs is the 2026-07-08 rebrand of Coda. A pack is a @codahq/packs-sdk TypeScript module (pack.ts) whose formulas / actions / sync tables call your own REST API. It runs inside Superhuman Docs docs. Source in integrations/<name>/. Command playbook: itsryanarmani/scripts scripts/superhuman-docs-pack/README.md.
When to use
- Triggers: 'build a Coda pack', 'Superhuman Docs pack', 'packs CLI', 'coda release /dev/tty error', 'coda build segfault', 'publish a pack', 'packs register token'.
- Coda became Superhuman Docs (2026-07-08); the SDK package is unchanged and the CLI is now
packs(codastill aliases). Build and upload segfault on Node 22+; use Node 20. - Publishing is register, create, upload, release with a Pack-scoped token (an MCP or doc-data token cannot publish);
releaseneeds a real TTY and warns off main; the public gallery listing is a review-gated web action.
The rename: almost nothing in the code changes
- SDK package is UNCHANGED — keep
@codahq/packs-sdk. There is no@superhuman/*package.import * as coda from "@codahq/packs-sdk"andcoda.newPack()stay exactly as they were. - The CLI binary is now
packs(npx packs …); the oldcodacommand still works as an alias. REST/token endpoints are still onhttps://coda.io(not migrated). - Only cosmetics are yours to change: the display name, description, docs URLs, and the logo (official assets at
superhuman.com/media-assets).
The trap that segfaults the build: Node version
packs build / packs upload segfault (exit 139) on Node 22 and Node 25 — the CLI's bundler crashes on new Node. Use Node 20 LTS (/opt/homebrew/opt/node@20/bin on the PATH, or nvm use 20). With Node 20 the build/upload run clean. If a build dies with no error and exit 139, it's the Node version, not your code.