Skip to content

lanseqingling/lantern / skills/create-with-lantern

create-with-lantern

Verified

Use Lantern's application MCP to create, draw, compose, revise, organize, inspect, or review a creator's comics through the domain capabilities Lantern currently exposes. Use for comic work in Lantern; do not use for developing the Lantern source repository.

references/dialogue-and-text.md

View on GitHub
# Dialogue, balloons, and paper narration

Load this reference for the currently exposed deterministic text-composition capabilities. These operations modify one explicit object at a time and produce revision-bound AgentDraft changes that are reviewed together at task completion.

## Keep meaning separate from appearance

A `Dialogue` stores the spoken content and optional story references. A `BalloonElement` is a visual carrier that points to a Dialogue. A paper `TextElement` with role `narration` stores its own non-dialogue content.

- Creating a balloon creates both one Dialogue and one BalloonElement.
- Updating `content` changes the Dialogue, while transform, tail, shape, and style change the BalloonElement.
- Duplicating a balloon duplicates its Dialogue so later edits remain independent.
- Deleting the last carrier of a Dialogue removes that unreferenced semantic object.
- Do not represent narration as a fake speaker or Dialogue.

## Target and edit in the declared coordinate space

Use current context and composition handles, then refresh them after every successful mutation.

- A balloon created in a Frame uses normalized `frame_local` position and transform.
- A paper balloon and narration use absolute `unit` coordinates.
- In a true spread, target a specific `PageSurface` for ordinary paper content. It must remain on that physical page.
- A frame-anchored breakout keeps `frame_local` coordinates and follows its Frame while drawing beyond the Frame border.
- A cross-page balloon is unit-owned and uses absolute `unit` geometry.

The inspection result's resolved `geometry` is evidence. Write the stored `transform` in its declared `coordinateSpace`.

## Use the limited visual vocabulary

The exposed balloon shapes are `normal`, `thought`, `caption_box`, and `cut_corner`. Balloon style can set font family and size, text/fill/stroke colors, stroke width, and horizontal or vertical writing. Tail targets use the same coordinate space as their balloon.

Paper narration supports content, transform, font family, size, weight, color, stroke, alignment, horizontal or vertical writing, and overlay front/back order. It is not a general nested text-layer system or an SFX editor.

## Change ownership deliberately

- `placement: breakout` converts one frame-layer balloon into a frame-anchored controlled breakout.
- `placement: page` converts a frame-layer, breakout, or cross-page balloon into ordinary paper content.
- `placement: cross_page` is valid only in a true spread. Provide a unit-space transform that visibly crosses both physical pages.

Changing ownership invalidates the old handle. Perform it as a separate operation and refresh context and composition before any later edit. Cross-page conversion is the one exception that accepts the destination transform and tail in the conversion call.

## Distinguish clipped overflow from ownership

A frame-layer balloon may cross a Frame edge while remaining frame-owned. The Frame clips the outside portion and Lantern retains a selectable safe portion inside; do not convert it to breakout merely because its resolved geometry crosses the border. Ownership changes only through the explicit placement capability.

Compatible unrotated native balloons in the same composition layer may visually join by suppressing their internal outlines. This is derived rendering only: keep every Dialogue, BalloonElement, transform, tail, handle, and edit independent. Do not merge their text or replace them with one shape.

## Protect the true-spread gutter

A cross-page balloon may cross the binding, but its writing center and tail endpoint must not sit in the gutter safety band. Bias the balloon's center toward the intended reading-side page, keep the tail clearly on one side, and inspect the rendered spread after conversion. Lantern rejects geometry that does not cross both pages, leaves the spread canvas, or places the center or tail in the protected band.

This support is intentionally limited to one explicit balloon in an existing true spread. Do not infer arbitrary cross-unit text, multi-balloon restructuring, automatic avoidance, nested groups, or professional freeform typography. A true-spread restructuring or multi-object creative arrangement remains a Candidate when such a capability is available.

## Review balloons as part of the page

For a read-only review, judge balloons from the final composition together with Dialogue order and object geometry. Check that tails identify the intended speaker, balloons do not hide faces or essential action, adjacent balloons retain a clear reading path, and text remains comfortably legible. Treat dialogue density as a relationship among text amount, balloon area, panel area, and dramatic intent—not as a universal character-count threshold.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall