QORMQORM v0.8.4 docs Get started

QORM Claude Pack

The Claude Pack provides a QORM workflow for Claude-style agents — oriented around understanding, designing, and verifying QORM apps safely.

Applicable Tasks

qorm_inspect          — understand the app
qorm_measure          — see rendered layout
qorm_query            — find target nodes
qorm_get_node         — read node details
qorm_source_location  — find node in source
qorm_preview_patch    — preview changes safely
qorm_diff             — review structural impact
qorm_check_layout     — verify rendered result
qorm_validate         — validate against schemas
qorm_capabilities     — audit host capabilities

Security Requirements

By default, the Claude Pack should not permit:

qorm_apply_patch      — requires user confirmation (preview token binding)
qorm_dispatch         — requires user confirmation (mutates state)
qorm_set_state        — requires user confirmation (mutates state)
host.call             — blocked
filesystem.write      — blocked (read-only mode)
shell                 — blocked
deploy                — blocked

Operations with side effects require user confirmation before they can run. qorm_apply_patch must carry the previewToken from a matching qorm_preview_patch — every commit is bound to a prior review.

Canvas Engine Awareness

When the app runs on -tags desktop, the agent should know:

(selection/clipboard/undo), animated transitions, disabled dimming.

the OverlayWidget seam.

smoothly; disabled dims non-widget nodes to 50% opacity.

Permission Boundaries

app / host policy.

governed by the Agent Protocol and Permission Model.

Prompt Rules

Claude should follow these rules:

  1. Read first. Run qorm_inspect and qorm_measure before any edits.
  2. Preview before apply. Never call qorm_apply_patch without a matching

qorm_preview_patch token.

  1. Verify after edit. Run qorm_check_layout with assertions matching the

human's request. A passing check is proof.

  1. Use the widget catalog. The auto-generated widget catalog

is canonical — prefer it over memory.

  1. Respect the canvas engine. Features work on both HTML and native paths.

Test with go test ./internal/render/canvas/... ./internal/widgets/....

  1. Don't guess. If unsure about a widget's props, check the catalog. If

unsure about a platform's capabilities, run qorm_capabilities.

  1. Keep the DevTool open. The human observation window shows real-time

activity.