
review-image-batch
by chufucious
AI-assisted photo gallery creation with Smith/Colberg/Szarkowski-informed layout curation
SKILL.md
name: review-image-batch description: Review a batch of images and output layout suggestions to an isolated batch file. Designed for parallel execution - each batch writes to its own file.
Review Image Batch
Sub-agent skill for reviewing images and outputting layout blocks to an isolated file.
Philosophy
Apply Szarkowski's Five Characteristics when assessing each image:
| Characteristic | Question to Ask |
|---|---|
| The Thing Itself | What is the essential subject? What reality is captured? |
| The Detail | What fragments carry symbolic weight? |
| The Frame | What's included/excluded? How does framing create meaning? |
| Time | What moment is captured? Decisive or contemplative? |
| Vantage Point | How does position redistribute power/relationships? |
This vocabulary helps explain why an image deserves a particular layout.
Key Design: Isolated Output
Each batch writes to its own file - no shared state, safe for parallel execution.
/tmp/gallery-batches/{folder}/
├── batch-00.json ← from batch 0
├── batch-01.json ← from batch 1
├── batch-02.json ← from batch 2
└── ...
Usage
Invoked via Task tool from /gallery workflow:
Task(
subagent_type: "general-purpose",
prompt: "Review batch {N} for {folder} gallery..."
)
Inputs
The sub-agent receives:
folder: Gallery folder namebatchIndex: Which batch (0, 1, 2, ...)batchSize: Images per batch (default 8)
Workflow
- Read manifest at
src/data/gallery-manifests/{folder}.json - Read layout guide at
~/.claude/skills/review-image-batch/references/layout-guide.md - Calculate image range:
startImage = batchIndex * batchSize - View images using Read tool on each image file
- Create layout blocks following the guide (80%+ single-image!)
- Write batch file to
/tmp/gallery-batches/{folder}/batch-{NN}.json - Return text summary only (no image data in response)
Output File Format
{
"batchIndex": 0,
"startImage": 0,
"endImage": 7,
"blocks": [
{
"layout": "FullBleed",
"images": ["DSCF9023.jpeg"],
"props": { "priority": true },
"notes": "Hero opener - kid with binoculars",
"visualWeight": "high"
},
{
"layout": "Spacer",
"images": [],
"props": { "size": "small" },
"notes": "Breathing room after hero",
"visualWeight": "rest"
},
{
"layout": "WideImage",
"images": ["DSCF9029.jpeg"],
"props": {},
"notes": "Joyful portrait - strong frame, decisive moment",
"visualWeight": "medium"
}
]
}
Layout Types
| Layout | Images | When to Use |
|---|---|---|
| FullBleed | 1 | Hero shots, openers (max 2-4 per gallery) |
| WideImage | 1 | Strong standalone ← DEFAULT CHOICE |
| OffsetImage | 1 | Verticals, quiet moments |
| InsetImage | 1 | Maximum restraint, intimate |
| Spacer | 0 | Visual pause, breathing room |
| Chapter | 0 | Start new page section |
RARE (use sparingly across entire gallery):
| Layout | Images | Limit |
|---|---|---|
| TwoUp | 2 | MAX 2-3 per gallery |
| ThreeUp | 3 | MAX 1-2 per gallery |
| SplitLayout | 2 | MAX 1-2 per gallery |
| FourUp | 4 | MAX 0-1 per gallery |
Visual Weight Tracking
Track the weight of each block to ensure rhythm:
| Weight | Layouts |
|---|---|
high | FullBleed |
medium | WideImage, TwoUp, ThreeUp, SplitLayout |
low | OffsetImage, InsetImage |
rest | Spacer |
Rule: Never place consecutive high or medium blocks without a low or rest between.
Critical Rules
- Default to single-image layouts - 80%+ should be WideImage/OffsetImage/FullBleed
- Multi-image layouts are RARE - only with EXTRAORDINARY reason
- "Related" is NOT enough - images must lose meaning if separated
- Vertical images → OffsetImage, not forced into pairs
- After FullBleed, add Spacer for breathing room
- Look for Chapter breaks - location/time/theme changes
Lyons's Juxtaposition Test for TwoUp
Only pair when juxtaposition transforms meaning:
- Truly simultaneous moment?
- One frames the other?
- Formal echo (lines, shapes, colors)?
- Emotional contrast/reinforcement?
If unsure, don't pair.
Block Schema
Required fields:
| Field | Type | Description |
|---|---|---|
layout | string | Component name (FullBleed, WideImage, etc.) |
images | string[] | Filenames (not indices!) |
props | object | Component props (can be {}) |
notes | string | Brief description using Szarkowski vocabulary |
Optional fields:
| Field | Type | Description |
|---|---|---|
visualWeight | string | high, medium, low, rest |
Example Response
Batch 2 complete. Reviewed images 16-23.
Created 7 blocks:
- WideImage: Street scene with pink building (strong frame, environmental)
- OffsetImage(left): Vertical portrait of vendor (intimate vantage)
- WideImage: Market stall with fruit (rich detail)
- Spacer(medium): Transition pause
- Chapter: "Uxmal" - location change detected (timestamp gap: 3 hours)
- FullBleed: Pyramid establishing shot (decisive moment, low vantage)
- WideImage: Carved stone detail (the detail characteristic)
Visual rhythm: medium → low → medium → rest → (break) → high → medium
Wrote to /tmp/gallery-batches/merida-2026/batch-02.json
Composability
This skill is atomic and reusable:
- Used by
/galleryfor batch review phase - Can review any set of images independently
- Output format works with
merge-gallery-batches.tsscript
Reference
For detailed layout guidance, pairing rules, and rhythm patterns:
→ Read references/layout-guide.md
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon