Skip to main content
prompt GP ChatGPT

selected-avatar-aligned — Claude Code prompt

selected-avatar-aligned is a Claude Code prompt that fixes avatar and author alignment on a LeiBox cover. Other cover elements stay unchanged.

MIT ★ 289 updated 2026-11-08

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/selected-avatar-aligned.md
Open on GitHub

What selected-avatar-aligned does

This prompt corrects the small author group in the upper-left area of a selected LeiBox cover. It takes the cover from Image1 and uses Image2 only for the original creator photo. The avatar is a 64px circle with the source appearance preserved, no redraw, border, or shadow.

The avatar starts at x=64px and y=54, while “LSF 设计日常” begins at x=144px with the existing 24px black sans-serif styling. The key check is a shared vertical edge for the avatar, the first character of the headline, and the footer signature. Image1 is a 1922×818 canvas; the headline, blue highlight, right-side artwork, logo sticker, gradient, footer, line, and 2026 remain unchanged.

What it helps with

  • align the avatar with the headline edge
  • move the author name 16px to the avatar’s right
  • retain the original creator photo in a circular crop
  • edit only the small upper-left author group
  • preserve the selected LeiBox cover composition

Example prompts for the agent

  • Run /selected-avatar-aligned to correct the avatar and author alignment on the selected cover.
  • Use Image1 as the cover and Image2 as the exact creator photo, then apply the requested left-edge alignment.
  • Verify that a vertical line from the avatar’s left edge also reaches the headline and footer signature.

How to install selected-avatar-aligned

Manually: put the files in place

.claude/commands/selected-avatar-aligned.md

Questions about selected-avatar-aligned

How do I install selected-avatar-aligned in Claude Code?

Add the command file .claude/commands/selected-avatar-aligned.md to Claude Code.

What does selected-avatar-aligned do?

It makes a local correction to the avatar and author name on a LeiBox cover. The headline, logo, artwork, gradient, footer, and colors remain unchanged.

Which images does selected-avatar-aligned require?

Image1 is the selected cover without the avatar, and Image2 is the original creator photo. Image2 supplies the exact photo used in the circular avatar crop.

Source text

selected-avatar-aligned.prompt.md · MIT
LOCAL HEADER ALIGNMENT CORRECTION ONLY. Edit the selected LeiBox cover from Image1. Use Image2 only as the exact photographic creator avatar.

The previous avatar placement was NOT left-aligned. Correct it: the LEFTMOST EDGE of the circular avatar must align with the LEFTMOST INK EDGE of the first headline character “给” and the footer author signature, at approximately x=64px on this1922×818 canvas (about3.3% of the canvas width). This shared vertical alignment is the main requirement. Do NOT place the avatar at x108 or x116. Do NOT center the avatar on the old author label position.

Recompose only the small top-left author group: circular avatar diameter64px, its left edge at x64, top at y54, centerline y86. Move the existing “LSF 设计日常” name LEFT so it begins at x144px, exactly16px to the right of the avatar. Keep the existing name's same black sans-serif lettering, same24px size and vertical centerline. Whole group aligned on one horizontal centerline. Use the exact original photo appearance, circular crop, no redraw of the person, no border or shadow.

Image1 is the ORIGINAL SELECTED COVER without the avatar. Keep every other part visually unchanged: complete exact headline “给 AI 做的网页,减点 AI 味,加点设计感”, its three lines and original positions/font shapes, blue highlight, right-side glass-folder artwork, real logo sticker, blue-to-white gradient, footer signature, line and2026. Only move the tiny top author name and add the correctly aligned original-photo avatar. No new text, no recropping, no changes to body typography, components, branding or colors.

Return one complete corrected cover with the same1922×818 ultra-wide composition. Verify before output: a vertical line through the avatar's left edge also touches the main title's left edge. Avatar and author name must form a single left-aligned header group.

© leishifu666 · MIT · leishifu666/LeiBox

Similar prompts

Prompts catalog →

From the same set5

Project sponsors

Companies that keep this analytics open