Skip to content

posture

A skill that turns on the live emit chain authoring runs against: saving a spec re-emits it to every platform target and refreshes Storybook. It is idempotent, so it is safe to run whenever the posture might be down.

Installed by specs skills install as .claude/skills/specs-cli.posture/, then invoked in Claude Code.

Prerequisites

specs-cli.primer. A workspace with a storybook/ directory, which specs build creates.

Outline

  • Reads the Storybook port from storybook/package.json — the script pins it with -p <port>, and it is never guessed.
  • Curls that port. If it answers, the posture is up and the skill stops there.
  • Starts specs run detached if it is not, logging to .posture/specs-run.log.
  • Polls the port until it answers, and on timeout reports the log tail rather than retrying blind.
  • Stops the posture only when asked — it stays up between authoring sessions by design.

The canvas is not part of it

A render watch re-rendered on every save, and a many-variant component cannot finish rendering before the next save triggers the next render. The loop breaks Figma.

Rendering is an explicit once-per-component step that component.author runs after api, variants and examples all validate — never a background process.