Builds, tests, and debugs PanCode api 2 extensions with declared capabilities and host-rendered views. Not for instruction-only skills; use skill-authoring.
Ships in extension-authoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write and test the package; the operator approves capability consent, installs
and publishes it. Do not answer consent on their behalf or modify installed
package bytes. Use a draft or .pancode/dev/extensions/<id>/.
runtime.promote attaches it
to every request; a hook can require_tool only a promoted own tool.
Read manifest and state before declaring
capabilities. Explain the read roots, executable authority, content access,
update frequency and possible refusals the operator will be approving.pancode extensions init <id> --template status
scaffolds a dev package; the other templates are hook, panel, tool and
workspace. Declare runtime.api: 2 in pancode-extension.yaml and a
default-exported factory in a .ts or .mjs entrypoint. Import public types
with import type { ExtensionApiV2 } from "pancode/sdk/extension".
Keep one runtime file or use explicit relative .ts imports: Node strips
types without bundling, so ./helper.js does not resolve helper.ts.
Use erasable syntax: no enums, parameter properties or runtime namespaces.ctx.state, cross-session records in ctx.store, and use versioned writes
when calls can race. Respect ctx.signal; see the storage limits in the
manifest reference. For gates, consult the exact effect table and failure
policies in hooks.When working in the PanCode repository, inspect examples/extensions/git-pulse/
for Git ticks, watches and snapshots, examples/extensions/peer-guard/ for
shared expiring path claims, or hub/packs/extensions/local-status/ for a
packaged hub extension. These are examples to adapt, not capabilities granted by this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/extension-authoring:extension-authoringfrom extension-authoring
npx claudepluginhub panstudio/pancode --plugin extension-authoring