/skills-library:photo-series-layoutfrom skills-library
Arranges 3-9 finished photographs into a one-page series, contact sheet, long image, or PDF with consistent frames, gutters, and canvas treatment. Maintains the photographer's chosen order unless reordering is requested.
Ships in skills-library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn a small set of finished photographs into one coherent page without silently changing their meaning, order, or content.
Use this skill when the user has 3–9 photographs and wants one of these outputs:
Do not use it to select the best photographs, retouch images, invent captions, or infer a photographer's intent. If the user needs EXIF framing first, treat each framed image as an input asset and do not add a second frame here.
Routing:
photo-spread-composer.photo-caption-writer, a shooting-data frame to photo-exif-frame, a minimal geometric poster to photo-poster-stylist.Collect or derive only what is needed:
PNG, JPEG, or one-page PDF);auto, grid, horizontal, or vertical;contain or cover);If paths or output format are missing, ask. For unspecified visual settings, state the defaults before rendering. Never invent image order.
HEIC files (the iPhone default) need the pillow-heif package. Without it, convert a copy first; on macOS sips -s format jpeg IMG_0001.HEIC --out IMG_0001.jpg keeps the EXIF. The renderer stops on a HEIC input and prints this command; it never skips the file.
Treat the supplied order as authoritative.
If the user explicitly requests help sequencing, offer at most three candidate orders based only on observable or supplied attributes:
Label the basis of each candidate and ask the user to choose. Do not claim a narrative or emotional arc the photographer did not provide.
Read references/layout-rules.md, then choose:
horizontal: a left-to-right sequence, usually 3–5 images;vertical: a top-to-bottom sequence or long image;grid: equal cells for comparison or contact-sheet presentation;auto: the renderer picks the grid with no empty cell whose page shape is closest to the canvas, or to one cell's shape (4:3 by default) when no canvas is given. For 5 or 7 photos the only such grid is a single strip; the renderer then prints the --columns value for a compact grid with one empty cell at the end, which needs the user's approval.The renderer reports grids as "C columns x R rows"; report them to the user in the same order. references/layout-rules.md lists what auto picks for 3–9 photos.
Prefer one consistent cell shape. Use an asymmetric layout only when the user identifies a lead image and approves the hierarchy; the bundled renderer intentionally does not invent asymmetric prominence.
Use contain by default: preserve every photograph and allow background bars within cells.
Use cover only with explicit permission because it crops. Before rendering, say that edge content may be removed. Never stretch an image.
The renderer applies EXIF orientation and writes the page in one colour space. When every photo has the same RGB profile (for example all Display P3 from one iPhone), the page keeps that profile and embeds it. When profiles differ, or one is CMYK or grey, every photo is converted to sRGB and sRGB is embedded; untagged photos count as sRGB. PDF output is always converted to sRGB, because the PDF writer cannot embed a profile. Transparent areas take the background colour. Source files are never modified, and the output path may not be one of the inputs.
The bundled renderer requires Python 3 and Pillow (python3 -m pip install Pillow); scripts/image_io.py, the image module shared with the other photo skills, must stay next to it. Run the commands from this skill's directory:
python3 scripts/layout_photos.py \
--output series.png \
--layout auto \
--fit contain \
image-01.jpg image-02.jpg image-03.jpg
For a vertical long image:
python3 scripts/layout_photos.py \
--output series.pdf \
--layout vertical \
--cell-width 1800 \
--cell-height 1200 \
--margin 120 \
--gutter 48 \
image-01.jpg image-02.jpg image-03.jpg
Run python3 scripts/layout_photos.py --help for all options and python3 scripts/layout_photos.py --selftest to check the renderer. Pass input paths as separate arguments; do not build an unquoted shell string from user-supplied paths.
If Pillow is unavailable, provide the exact command and dependency requirement rather than pretending the file was rendered.
Check all of the following:
contain loses no image area;cover cropping is acceptable to the user;For print, additionally confirm physical size at the requested DPI and recommend a print-preview check. Do not claim color accuracy without a color-managed proofing workflow.
Return:
colour: field (profile kept, or converted to sRGB);sips command the renderer prints.--allow-duplicates.--overwrite; never replace it silently. The renderer refuses an output path that is one of the inputs, even with --overwrite.--columns, or --layout grid with 3, 5, 7, or 8 photos): only with the user's approval; the renderer prints a note when a grid has them.contain, not aggressive cropping.| 版本 | 日期 | 变更 | 类型 |
|---|---|---|---|
| 0.2.0 | 2026-09-26 | 实现 references 写的 auto 排布(先求无空格、再选最接近画布比例,8 张不再 3×3 空一格);加 --allow-duplicates 放行已确认的重复照片,输出不得是输入照片;按共同 ICC 输出(同一 RGB 配置文件保留嵌入,混合时转 sRGB,PDF 一律 sRGB),透明区铺背景色;网格统一写"列×行";HEIC 给 sips 提示;补 --selftest、Pillow 依赖与 python3 命令、与 photo-spread-composer 的判别句和中文触发语;目录内测试副本并入 tests/cases 后删除 | minor |
| 0.1.0 | 2026-09-09 | 初始版本 | minor |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chromitecr/skills --plugin skills-library64 skills in this plugin
/activity-list-optimizer当学生说"Common App 活动栏写不下"、"这段活动描述超字数了"、"帮我把这几条压到限制内"时使用。先按官方申请表核对当季字符限额,再逐条检查;一次把所有条目量完并直接给出压缩版,只在需要砍掉实质内容时才用选择题问该保哪部分。每改一版都用工具重新数一遍字符,绝不凭感觉说"这样应该够了"。只压缩,不代写空白。/activity-profile-builder当学生说"我参加过一些活动但没整理过"、"帮我把经历录进去"、"我的活动档案是空的"时使用。让学生一口气把记得的活动说出来,直接把这段话拆成结构化的长期事项(角色、组织、起止时间、做了什么、结果、级别),说不清的字段留空标"待补"而不是编,再用一张选择题卡把级别判定与是否重复这类关键项一次问完,然后提案入库。只记录学生真正说出口的内容,级别按事实判定,绝不往高了写。/admissions-reader当学生问"招生官会怎么看我的档案"、"我的背景还差什么"、"帮我评估一下现在的申请竞争力"时使用。以顶尖大学招生官的视角通读学生的档案、长期活动与已写下的反思,不问任何前置问题直接产出一份指名道姓的坦诚点评:这份材料的亮点、招生官真实的解读方式、明显的短板与空白、以及接下来最值得做的一到两件事。只读不写,不修改学生的任何数据,也不代写任何申请材料。