Skip to main content
skill CX Codex

validating-and-publishing-canvases — Claude Code skill

The validating-and-publishing-canvases skill for Claude Code checks PostHog Canvas source projects and publishes them with version guards. It verifies declared capabilities and handles merge conflicts without data loss.

no license 148 installs ★ 101 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add PostHog/ai-plugin --skill validating-and-publishing-canvases -a claude-code
Open on GitHub

What validating-and-publishing-canvases does

The skill inspects PostHog Canvas source trees before deployment to ensure clean builds. It tracks the current_version_id baseline and checks that platform dependencies remain untouched. Adding unauthorized npm packages immediately fails validation.

Runtime permissions require explicit registration under capabilities. The host enforces exact HTTPS origins, PostHog insight identifiers, capture events, and read-only connector tools. Any private hostnames or loopback targets like localhost trigger validation failures.

Publishing applies via ordered string replacements through canvas-edit-create or full project uploads. Server-side checks guard against race conditions, rejecting concurrent overwrites with a 409 conflict.

What it helps with

  • validate PostHog Canvas source files against platform requirements
  • declare external HTTPS origins and PostHog API capabilities
  • publish canvas updates via structured text operations
  • resolve version conflict errors without overwriting changes

Example prompts for the agent

  • Validate the PostHog canvas project and inspect reported diagnostics
  • Add external HTTPS origin to canvas capabilities and push the edit
  • Resolve version conflict 409 for the current canvas publish

How to install validating-and-publishing-canvases

1Skills CLI (Vercel)

npx skills add PostHog/ai-plugin --skill validating-and-publishing-canvases -a claude-code

2Manually: put the files in place

~/.claude/skills/validating-and-publishing-canvases/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/validating-and-publishing-canvases/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about validating-and-publishing-canvases

How to install validating-and-publishing-canvases in Claude Code?

Run npx skills add PostHog/ai-plugin --skill validating-and-publishing-canvases -a claude-code. The definition lands in ~/.claude/skills/validating-and-publishing-canvases/SKILL.md.

What does validating-and-publishing-canvases do?

It guides safe authoring and deployment of PostHog Canvases, running pre-publish checks on capabilities, file structures, and version state.

Which network hosts pass validation in capabilities?

Only public HTTPS endpoints specifying scheme, host, and optional port are accepted. Internal domains, wildcards, and localhost entries cause immediate validation errors.

Similar skills

All skills for Frontend and UI →

From the same set82

The whole set →
exploring-mcp-tool-original-user-motive The exploring-mcp-tool-original-user-motive Claude Code skill builds a taxonomy of the goals users had before reaching an MCP tool. It groups session openings and publishes the categories in a PostHog notebook. CX Codex +1 148installs context-layer-consolidation The context-layer-consolidation Claude Code skill keeps a context wiki coherent by working through a deterministic lint report queue. It handles the queue before dream publisher creates its branch and commit. CX Codex +1 148installs building-react-quill-canvases building-react-quill-canvases — a Claude Code skill for building PostHog canvases with React and Quill. It activates when building-canvases routes a dashboard, form, or tool request to a React implementation. CX Codex +1 148installs context-layer-dreaming The context-layer-dreaming Claude Code skill turns recent organizational activity into lasting context wiki updates. It runs for nightly or incremental refreshes based on completed work and other activity. CX Codex +1 148installs analyzing-task-runs analyzing-task-runs — a Claude Code skill that breaks down a completed task run from its log and records the activities. It starts when asked to analyze a run or review an attached log. CX Codex +1 148installs review-hog-resolution-criteria The review-hog-resolution-criteria Claude Code skill resolves open pull request review comments. It makes verifiable changes, explains declines, and hands risky decisions to a person. CX Codex +1 148installs working-with-scouts The working-with-scouts Claude Code skill helps manage PostHog Signals scouts that watch a project and send reports to the Signals inbox. Assign monitoring tasks, review findings, and steer the scouts with feedback. CX Codex +1 148installs setting-up-warehouse-properties The setting-up-warehouse-properties Claude Code skill maps warehouse columns to person or group properties in PostHog. It runs for reverse ETL setup or when replacing a recurring identify job. CX Codex +1 148installs

Project sponsors

Companies that keep this analytics open