Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

validating-and-publishing-canvases

Skill by PostHog

Validates and publishes PostHog canvas source projects safely. It is for developers and agents who edit canvases and need guarded publishes, draft builds, and conflict recovery.

  • Score 84
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install validating-and-publishing-canvases

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/canvas/skills/validating-and-publishing-canvases ~/.claude/skills/validating-and-publishing-canvases

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install validating-and-publishing-canvases in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill explains how to validate and publish a PostHog canvas source project without overwriting concurrent work. It covers the source project shape, declaring capabilities for insights, events, queries, connectors and network origins, and iterating on validation diagnostics until they are clean. Publishes are guarded with expected_current_version_id, and every publish queues a server-side build that the agent must watch until it is ready or failed.

The skill also covers staging a draft build, previewing it, and promoting it to live. It describes how to handle a 409 version_conflict and a 429 capacity limit. It is written for agents and developers working on canvas edits that need to be saved, built, or reviewed.

Written from the project's SKILL.md and checked against it.

What it can do

  • canvas-source-retrieveReturns the canvas source project and the current version pointer that edits are based on.
  • canvas-validate-createChecks a source project for diagnostics without publishing or creating a build.
  • canvas-edit-createApplies guarded str_replace, write, delete and rename operations to an existing canvas.
  • canvas-publish-createPublishes a complete project guarded by expected_current_version_id.
  • canvas-builds-retrieveChecks build status so the agent can wait until a queued build is ready or failed.
  • canvas-draft-createStages a draft build that is never the live head until it is promoted.
  • canvas-promote-createMakes a staged draft the live canvas head, guarded by the current version id.
  • canvas-drafts-retrieveLists pending drafts for a canvas.
  • canvas-versions-retrieveLists published version history for a canvas.

Try asking

  • Validate my canvas source and fix any diagnostics before publishing
  • Stage a draft build of this canvas so I can preview it first
  • Publish this canvas edit and wait until the build is ready

Good to know

  • Publishing goes live immediately by default unless a draft is requested.
  • Localhost and private network origins are rejected by validation.
  • A canvas with connectors cannot declare shared state.
  • A 429 response means build capacity is exhausted, so the publish should be retried after about 30 seconds.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: products/canvas/skills/validating-and-publishing-canvases/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB

Alternatives to validating-and-publishing-canvases

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

validating-and-publishing-canvases: common questions

What does expected_current_version_id do?

It guards a publish so the server refuses to overwrite newer work. The value is the current_version_id the edit is based on, or null on a first publish.

Why does a canvas not update after publishing?

A publish queues a server-side build, and the canvas renders the last successful build. The canvas updates only when the new build is ready.

What happens if a build fails?

A failed build never replaces the last good one, so the canvas keeps rendering the previous version. The source must be fixed and published again.

How do I install validating-and-publishing-canvases?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is validating-and-publishing-canvases free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is validating-and-publishing-canvases safe to use?

It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to validating-and-publishing-canvases?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

validating-and-publishing-canvases Install

Add to stack

Loading.