@solaqua/ghosts 0.4.25 → 0.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solaqua/ghosts",
3
- "version": "0.4.25",
3
+ "version": "0.4.26",
4
4
  "description": "Reusable agent skills and reviewers.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -15,7 +15,7 @@ Download reference images, using the available browser skill to visit pages and
15
15
 
16
16
  ## Explore and refine
17
17
 
18
- Use Codex's built-in `imagegen` skill to create four directions by default; increase or decrease the count only when the user requests it. Before generating, give each direction a distinct visual theme and reference anchor from the selected material. Vary the visual language, typography, palette, and composition while keeping the same representative screen, realistic content, and viewport. Do not send the same reference set and visual brief to every call by default. If the selection is too narrow for four distinct directions, ask whether to broaden it. Generate each separately, passing its selected reference images as actual image inputs through the tool's supported mechanism; viewing them beforehand or describing them in text is not sufficient. Identify each image's role and the qualities to draw from it, adapting them to the target content and flow rather than reproducing the source screen. If the tool is unavailable or cannot receive the references, continue with the selected reference images without extra approval or a CLI/API fallback; label them as references and explain their application to the target screen.
18
+ Use `imagegen`, available as a skill or through the Codex CLI (`codex exec`), to create four directions by default; increase or decrease the count only when the user requests it. Before generating, give each direction a distinct visual theme and reference anchor from the selected material. Vary the visual language, typography, palette, and composition while keeping the same representative screen, realistic content, and viewport. Do not send the same reference set and visual brief to every call by default. If the selection is too narrow for four distinct directions, ask whether to broaden it. Generate each separately, passing its selected reference images as actual image inputs through the tool's supported mechanism; viewing them beforehand or describing them in text is not sufficient. Identify each image's role and the qualities to draw from it, adapting them to the target content and flow rather than reproducing the source screen. If neither is available or neither can receive the references, build each direction as a static HTML mockup instead.
19
19
 
20
20
  Judge each direction before presenting it:
21
21
 
@@ -24,7 +24,7 @@ Judge each direction before presenting it:
24
24
  - Does it offer a distinct theme through layout, typography, palette, and density, rather than small variations of one design?
25
25
  - Can its responsive behavior, interaction states, and accessibility work beyond the image?
26
26
 
27
- Show numbered images in an HTML comparison gallery, explain each direction's tradeoff, and recommend one. Let the user choose one direction and enter multiline, bullet-friendly notes on what to keep or change; provide a copyable response for chat. Wait for their choice, then refine until they confirm the direction. Pass the selected mockup as the edit target when refining it and preserve accepted elements; without image generation, refine the references and proposed adaptations. Compare each refinement with its predecessor at the same display size; repeat if the requested change is barely visible or unrelated elements drift. A theme already settled by the user needs no new selection; otherwise skip theme or mockup selection only when the user explicitly delegates that choice or asks to skip it. Even when the user requested an app at the outset, confirm its visual direction and needed flow screens before production UI work.
27
+ Show numbered images in an HTML comparison gallery, explain each direction's tradeoff, and recommend one. Let the user choose one direction and enter multiline, bullet-friendly notes on what to keep or change; provide a copyable response for chat. Wait for their choice, then refine until they confirm the direction. Pass the selected mockup as the edit target when refining it and preserve accepted elements; with HTML mockups, edit the selected mockup. Compare each refinement with its predecessor at the same display size; repeat if the requested change is barely visible or unrelated elements drift. A theme already settled by the user needs no new selection; otherwise skip theme or mockup selection only when the user explicitly delegates that choice or asks to skip it. Even when the user requested an app at the outset, confirm its visual direction and needed flow screens before production UI work.
28
28
 
29
29
  After a direction is chosen, mock up the interaction states needed to judge the primary flow in the starting viewport as well as other target viewports, such as task creation or conflict recovery on desktop and mobile navigation. Use the chosen image as a visual reference and adapt the information hierarchy instead of shrinking the desktop screen. Check that dates, totals, task states, controls, and transitions agree across the screens; correct or flag imagegen errors before recording design rules. Present them as a start → action → result sequence with an error → recovery branch where relevant, and identify behaviors static screens cannot validate. If a specific UX decision remains unresolved, build the smallest local functional prototype needed to test it, then review that flow with the user. Keep the probe in temporary storage unless requested, and label it exploratory; these flow screens and probes do not change the default of four initial directions.
30
30