Skip to content

Commit 6c99656

Browse files
committed
release: merge develop into main for v0.18.0
2 parents e8deed3 + d1be795 commit 6c99656

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+5695
-26
lines changed

.claude/agents/canvas-designer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ memory: project
77
skills:
88
- dev-verify
99
- dev-visual-verdict
10+
- ai-image-creator
1011
---
1112

1213
You are **Canvas** — the designer-developer. You build production-grade UIs with intentional aesthetic. You commit to a direction BEFORE coding, you pick distinctive typography, you avoid AI-slop generic patterns. The output must look like it was designed, not generated. Derived from oh-my-claudecode (MIT, Yeachan Heo).
@@ -104,6 +105,10 @@ Your **artifact folder** for design specs and decisions: `workspace/development/
104105
- `dev-verify` — confirm the UI renders without errors
105106
- `dev-visual-verdict` — visual regression testing (capture before/after screenshots and compare)
106107

108+
## Image Generation
109+
110+
Canvas can use `/ai-image-creator` to generate images when implementing UI — icons, hero images, product shots, app mockup assets, and background textures. Use it when the design requires visual assets that do not already exist in the project.
111+
107112
## Handoffs
108113

109114
-`@bolt-executor` — when wiring up logic the design needs (forms, API calls)

.claude/agents/clawdia-assistant.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ skills:
1818
- gog-followups
1919
- gog-tasks
2020
- int-fathom
21+
- workspace-share
2122
- int-sync-meetings
2223
- int-todoist
2324
- schedule-task

.claude/agents/oracle.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ skills:
2020
- create-agent
2121
- create-command
2222
- create-routine
23+
- workspace-share
2324
---
2425

2526
You are **Oracle** — the single entry point to EvoNexus and a business consultant. Your job is to make sure a user never gets lost: you run the initial setup, understand their business, show them what the workspace can do for them, and hand them a concrete implementation plan. You orchestrate other agents to do the heavy lifting but you keep the conversation with the human in a single, consistent voice.

.claude/agents/pixel-social-media.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ skills:
2727
- int-youtube
2828
- social-x-longform
2929
- social-yt-competitive
30+
- ai-image-creator
3031
---
3132

3233
You are **Pixel**, a specialist in social media and digital marketing with deep knowledge in content creation, social media strategy, and community engagement.
@@ -115,6 +116,10 @@ When creating posts, always include:
115116
- Verify the content is relevant to the target audience.
116117
- Suggest A/B variations when it makes sense.
117118

119+
## Image Generation
120+
121+
Pixel can use `/ai-image-creator` to generate images for social media content — thumbnails, banners, carousel visuals, story backgrounds, and post artwork. Use it when the content plan requires original imagery not available from existing assets.
122+
118123
## Reference
119124

120125
Check the social media working folder and daily logs for additional context and content history (see CLAUDE.md for paths).

.claude/skills/ai-image-creator/SKILL.md

Lines changed: 405 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Image Analysis Reference
2+
3+
Advanced prompt patterns for `--analyze` mode. Only read this file when the user needs structured, comparative, or targeted image analysis beyond a simple description.
4+
5+
## Analysis Prompt Patterns
6+
7+
### Plain Text Description
8+
9+
Default behavior — no custom prompt needed. The built-in default covers subject, style, colors, composition, mood, and visible text.
10+
11+
```bash
12+
uv run python ${CLAUDE_SKILL_DIR}/scripts/generate-image.py --analyze -r "image.png"
13+
```
14+
15+
### JSON Structured Output
16+
17+
Ask the model to return structured data:
18+
19+
```
20+
Analyze this image and return a JSON object with these fields:
21+
- image_type: the type/medium of the image (photo, illustration, screenshot, etc.)
22+
- subjects: array of objects with {name, position, description}
23+
- colors: dominant color palette as hex codes
24+
- text_content: any visible text in the image
25+
- style: artistic style or visual treatment
26+
- mood: emotional tone
27+
- composition: layout and framing description
28+
```
29+
30+
### Plain Text + JSON Combined
31+
32+
```
33+
Describe this image in two sections:
34+
1. PLAIN TEXT: A natural-language paragraph describing what the image shows
35+
2. JSON: A structured JSON object with fields: image_type, subjects, colors, style, mood, composition, text_content
36+
```
37+
38+
### Comparison (Multiple Images)
39+
40+
Use multiple `-r` flags to compare images:
41+
42+
```bash
43+
uv run python ${CLAUDE_SKILL_DIR}/scripts/generate-image.py \
44+
--analyze -r "v1.png" -r "v2.png" \
45+
-p "Compare these two images. Describe the differences in composition, color, and style. Which is more suitable for a professional website hero banner?"
46+
```
47+
48+
### Targeted Analysis
49+
50+
Focus the model on specific aspects:
51+
52+
| Focus | Prompt Pattern |
53+
|-------|---------------|
54+
| Accessibility | "Evaluate this UI screenshot for accessibility: contrast ratios, text readability, color-blind friendliness" |
55+
| Brand consistency | "Does this image match a modern tech brand aesthetic? Evaluate color palette, typography, and visual style" |
56+
| Text extraction | "Extract all visible text from this image, preserving layout and hierarchy" |
57+
| Technical specs | "Describe the technical properties: estimated resolution, aspect ratio, color space, compression artifacts" |
58+
| Content moderation | "Describe the content of this image objectively. Flag any potentially sensitive content" |
59+
| UI/UX review | "Analyze this UI screenshot: layout, visual hierarchy, spacing, typography, and potential usability issues" |
60+
61+
### Batch Analysis Workflow
62+
63+
To analyze multiple images individually (not comparing), loop in the skill:
64+
65+
```bash
66+
for img in screenshots/*.png; do
67+
echo "=== $img ===" >&2
68+
uv run python ${CLAUDE_SKILL_DIR}/scripts/generate-image.py \
69+
--analyze -r "$img" -p "Describe this screenshot in one paragraph"
70+
done
71+
```
72+
73+
## Model Recommendations
74+
75+
| Model | Best For |
76+
|-------|----------|
77+
| `gemini` (default) | General analysis, fast and cost-effective. Good at text extraction and structured output |
78+
| `gpt5` | Nuanced descriptions, creative interpretation, detailed comparisons |
79+
80+
## Output Handling
81+
82+
The `--analyze` flag outputs JSON to stdout. The `analysis` field contains the model's text response. To extract just the analysis text in a script:
83+
84+
```bash
85+
uv run python ${CLAUDE_SKILL_DIR}/scripts/generate-image.py \
86+
--analyze -r "image.png" | python -c "import sys,json; print(json.load(sys.stdin)['analysis'])"
87+
```
88+
89+
Status messages go to stderr, so piping stdout gives clean JSON.

0 commit comments

Comments
 (0)