@solaqua/ghosts 0.4.25 → 0.4.27
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.
|
@@ -7,7 +7,7 @@ Default to Orca for new delegations unless the user specifies another tool. When
|
|
|
7
7
|
|
|
8
8
|
For Orca, follow the applicable `orca-cli` or `orchestration` skill. For Paseo, Claude Code, Codex, or another tool, use the session controls available in the current environment. Read the applicable skill or tool instructions; consult official documentation or CLI help when needed to determine how to launch an agent, inspect its result, and send follow-up instructions.
|
|
9
9
|
|
|
10
|
-
Keep the recipient's agent or session identifier and reuse it
|
|
10
|
+
Keep the recipient's agent or session identifier and reuse it for follow-ups.
|
|
11
11
|
|
|
12
12
|
Before continuing an existing thread, read the user's added instructions.
|
|
13
13
|
|
|
@@ -15,16 +15,20 @@ Prefer Markdown with bullets for the brief. Follow ISO 24495-1:2023 Plain Langua
|
|
|
15
15
|
|
|
16
16
|
- References to issues, PRs, or existing threads.
|
|
17
17
|
- Goals, completion criteria, confirmed decisions, constraints, and excluded scope missing from those references.
|
|
18
|
-
- Skills the user requested
|
|
18
|
+
- Skills the user requested and when to apply them.
|
|
19
19
|
|
|
20
20
|
Do not restate referenced content, reminders to read root instructions, general development or testing guidance, or skill-internal procedures and report formats. Do not omit important decisions or constraints for brevity.
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
For delegated implementation, send the task and the complete workflow in one prompt. Unless the user excludes a stage, include these instructions for the recipient:
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
```text
|
|
25
|
+
1. Implement the task.
|
|
26
|
+
2. After implementation, invoke ghosts:code-review. When the read-only review is complete, fix applicable findings. Skip fixes if there are none.
|
|
27
|
+
3. After review and any fixes, invoke ghosts:slop-shaking and apply useful cleanups.
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
Apply each skill at its stage. Complete the workflow and report results, or explain what blocks completion.
|
|
30
|
+
```
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
Supervise through completion by default: wait for and inspect the recipient's final result, then follow up on incomplete work or blockers. The recipient owns transitions between stages; do not send separate stage-triggering messages unless the user requests stage-by-stage supervision.
|
|
33
|
+
|
|
34
|
+
For a full handoff without supervision, send the complete requested workflow and leave execution with the recipient.
|
package/package.json
CHANGED
|
@@ -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
|
|
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;
|
|
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
|
|