image-slot-allocator

Solid

Decide 4 image slots per article (1 cover + 3 section images). Reads outline.json + format_id. Picks H2s to image based on per-format mapping in references/image/format-style-mapping.md. Triggered as Stage 27a of phase-publish image sub-pipeline.

AI & Automation 43 stars 13 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
55
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Image Slot Allocator > ⚠️ **NOT WIRED into the deterministic pipeline (2026-07-17 audit).** There is no > `image-slot-allocator` stage in `scripts/pipeline/orchestrator.py`'s Stage table, > nothing produces its declared `image_slots.json`, and `_match_image_slot_to_section` > exists only as pseudo-code in `section-drafter/SKILL.md`. In the live pipeline the > **image contract is: the per-section `image_slot: true` booleans in `outline.json` > sections[], and `image-prompts.json` (slot_id source of truth).** The designer names > slots `cover` + sequential `section_1|section_2|section_3` (see `agents/image-prompt-designer.md`), > and `scripts/build/assemble.py` auto-injects `[IMAGE-SLOT-cover]` after the Abstract > for `no_inline` projects. Do NOT rely on this file describing a running stage; it is > a design doc for a stage that was never enabled (Rule 6). Wire it before referencing > it as live, and if you do, note that its own spec uses sequential `section_{i+1}` ids. Decides WHERE images go. Doesn't generate them (that's image-prompt-designer + openai-image-generator). ## Inputs - `workspace/{task_id}/outline.json` — section structure - `workspace/{task_id}/angle.json` — format_id - `state.brief.image_count` — default 4 (1 cover + 3 inline) ## Output `workspace/{task_id}/image_slots.json`: ```json { "slots": [ { "slot_id": "cover", "purpose": "hero / featured image / OG card", "aspect_ratio": "16:9", "size": "3840x2160", "is_featured_image": true,...

Details

Author
XuanRanL
Repository
XuanRanL/loamwright-SEO-Skill
Created
2 weeks ago
Last Updated
3 days ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category