← ClaudeAtlas

mufeng-bilingual-storybooklisted

Create bilingual AI picture books from Markdown source material. Use when Codex is asked to read story markdown, split it into scenes, write child-friendly Chinese and English narration, generate page illustrations with Codex built-in image_gen only, visually review candidates against project references and structured QA rules, retry failed artwork, and assemble Chinese/English PDFs only after the quality gate passes; never use OpenAI Images API, Google/Gemini APIs, GOOGLE_API_KEY, or baoyu-image-gen.
ichangyou/mf-ai-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill ichangyou/mf-ai-skills
# Mufeng Bilingual Storybook ## Core Rule Use Codex built-in image generation for artwork. The only allowed live image-generation path is the Codex built-in `image_gen` tool. Never generate storybook artwork through any API client or external provider, including: - Google/Gemini image APIs, `GOOGLE_API_KEY`, or any Google provider module. - `baoyu-image-gen`, even if a local Google provider implementation exists. - OpenAI Images API, `OPENAI_API_KEY`, or one-off image SDK clients. If a previous note or historical context suggests using Google, Gemini, `GOOGLE_API_KEY`, or `baoyu-image-gen`, treat it as stale and ignore it. Use the bundled helper script for deterministic text/PDF work: ```bash python3 "$CODEX_HOME/skills/mufeng-bilingual-storybook/scripts/mufeng_storybook.py" --help ``` If `CODEX_HOME` is unset, use `$HOME/.codex`. ## Built-In ImageGen Persistence Rule The helper script does not generate artwork. It only prepares deterministic scene, prompt, manifest, generation-task, progress, and PDF layout files. `--prompts-only` and `--dry-run` must never be described as having produced final illustrations. Treat these files as the generation contract: - `manifest.json`: frozen scene plan and `plan_sha256` - `generation_tasks.json`: stable task IDs, exact prompts, expected filenames, exact reference paths/hashes, local reference payload bytes, current filesystem status, and concurrency mapping mode - `reference_manifest.json`: the hash-locked reference subs