agentleFS
ai-workspace-labai-workspace-lab/xworkspace-core-skills/skills/workflows/article-to-image-series/SKILL.md

article-to-image-series

Skill8 starsChanged 5 months agoMITView on GitHub

文章转图片系列工作流:将文章、提纲或主题序列转成风格一致的多图系列。Workflow skill for converting an article, outline, or topic sequence into a coherent multi-image series; use for one image per chapter, article illustrations, infographic series, Xiaohongshu-style cards, or manifest-backed image sets.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the user input and identify:

    line 25
  2. Distinctive:

    If no count is given, choose a compact 3-7 image series based on the narrative.

    line 34
  3. Very specific:

    Write workflow.plan.md and series.config.json.

    line 38
  4. Distinctive:

    Do not ask an image model for a batch collage.

    line 50
  5. Very specific:

    Write prompts/image-prompts.md with one prompt per image.

    line 54
  6. Very specific:

    If an image tool writes to a cache directory, copy the final image into the artifact scope.

    line 64
  7. Very specific:

    Write assets/images/manifest.md with one row per image.

    line 68
  8. Very specific:

    Every manifest file exists and is a real PNG.

    line 73
  9. Distinctive:

    No manifest file path points outside the artifact scope.

    line 74
  10. Distinctive:

    No generated image is a combined grid, contact sheet, or storyboard unless explicitly requested.

    line 75
  11. Distinctive:

    Stop on validation failure and report the missing or invalid image file.

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Article To Image Series Workflow

This workflow turns text structure into a validated image series. It is intentionally staged so the agent plans image count and prompts before generating assets.

Before generating, extending, repairing, or repainting any image, read ../../marketplace/pptx/editable-reconstruction.md and apply its provider order, text-free generation, and residue QA rules. Image models must not render titles, labels, numbers, signatures, watermarks, or pseudo-text. Keep chapter titles and captions outside the generated bitmap; if final cards require embedded typography, typeset it in an editable HTML/SVG source and render the composed PNG deterministically.

Output Contract

Final deliverables must stay inside the current task artifact scope:

  • workflow.plan.md
  • series.config.json
  • prompts/image-prompts.md
  • assets/images/*.png
  • assets/images/manifest.md
  • DELIVERY.md

Phase 1: Parse Source

Read the user input and identify:

  • topic or article title
  • narrative line
  • target audience
  • chapter or card count
  • style requirements
  • any required reference images or source URLs

If no count is given, choose a compact 3-7 image series based on the narrative.

Phase 2: Series Plan

Write workflow.plan.md and series.config.json.

Each image entry must define:

  • chapter_id
  • title
  • subtitle
  • core message
  • visual metaphor
  • key labels
  • output path under assets/images/

Do not ask an image model for a batch collage. One entry means one standalone output file.

Phase 3: Prompt Pack

Write prompts/image-prompts.md with one prompt per image.

Prompts must keep a consistent family style while preserving per-chapter meaning. Avoid generic cyberpunk, stock-style, and unreadable text-heavy visuals.

Phase 4: Generate Images

Generate or edit images one by one. Save each final PNG under assets/images/.

Generate the visual plate without text. If the output format requires text inside the final card, add it only through the deterministic editable layout source after the text-free plate passes inspection.

If an image tool writes to a cache directory, copy the final image into the artifact scope. Do not leave final outputs in Downloads, model cache, /tmp, or global media folders.

Phase 5: Manifest And Validation

Write assets/images/manifest.md with one row per image.

Required checks:

  • PNG count equals manifest row count.
  • Every manifest file exists and is a real PNG.
  • No manifest file path points outside the artifact scope.
  • No generated image is a combined grid, contact sheet, or storyboard unless explicitly requested.

Stop on validation failure and report the missing or invalid image file.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.