art-slot
Fill one art slot for an imprint with generated artwork. Spec and brief the slot against one of the illustration system's composition types, write candidate prompts for the owner's ChatGPT project, review the candidates after treatment, then install the selected one as a source in the imprint's brand assets with its treatment, build outputs, and provenance. Marks, small cuts, and lockups go through the same flow and end as SVG on the kit's grid. Also swaps a slot to the owner's hand-made replacement. Trigger on "/art-slot", "we need a hero for System 9", "prompts for the valesordev OG image", "here are the hero candidates", "generate a mark for solo7productions", "I drew the hero, swap it in". Requires the visual-designer role. Not for an imprint's overall style (art-direction), reading a target image (brand-audit), tokens or type (visual-designer, directly), a game's concept art (that game's concept-art role), or building pages (implementation).
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-28
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- art-slot
- description
- Fill one art slot for an imprint with generated artwork. Spec and brief the slot against one of the illustration system's composition types, write candidate prompts for the owner's ChatGPT project, review the candidates after treatment, then install the selected one as a source in the imprint's brand assets with its treatment, build outputs, and provenance. Marks, small cuts, and lockups go through the same flow and end as SVG on the kit's grid. Also swaps a slot to the owner's hand-made replacement. Trigger on "/art-slot", "we need a hero for System 9", "prompts for the valesordev OG image", "here are the hero candidates", "generate a mark for solo7productions", "I drew the hero, swap it in". Requires the visual-designer role. Not for an imprint's overall style (art-direction), reading a target image (brand-audit), tokens or type (visual-designer, directly), a game's concept art (that game's concept-art role), or building pages (implementation).
- allowed-tools
- Bash(.claude/bin/role:*) Bash(make:*) Bash(python3 brands/_tools/treat/*) Bash(inkscape:*) Bash(potrace:*) Bash(git log:*)
- argument-hint
- <slug> <slot> [candidates | select <letter> | hand <file>]
02 资源文件 6
- 参考文档references/build.md1.6 KB
- 参考文档references/examples.md3.1 KB
- 参考文档references/marks.md2.5 KB
- 参考文档references/prompt-rules.md1.8 KB
- 参考文档references/review.md1.7 KB
- 参考文档references/slot-template.md2.3 KB
03 SKILL.md 正文
Art slot
Request: $ARGUMENTS
Paths below are relative to brands/<slug>/ unless they start with brands/.
Preflight
- Run
.claude/bin/role require visual-designer ${CLAUDE_SESSION_ID}. If it fails, stop and tell the owner to run/role visual-designer. - Read
assets/slots.mdand the slot fileassets/slots/<slot>.mdif it exists. The request and the slot'sStatussay which stage you're in. - Read
brand/foundation.mdandtokens/tokens.json. For an illustration slot, readart-direction/illustration-system.md. If it isn't approved, stop and recommend/art-direction <slug>. A mark slot needs only a direction statement in an approvedbrand/foundation.md. Its provenance basis is then that file's commit, not an AD version. - Check that
.gitignorecoversbrands/*/assets/candidates/. If it doesn't, ask the owner before adding it (unowned path). Candidates are never committed.
1. Open the slot (Status: brief)
- Add a row to
assets/slots.md(references/slot-template.md). Slot ids are kebab-case and stable, because components and sites reference their outputs by them. - Spec in the slot file: the composition type from the illustration system (its aspect and empty zone), canvas, crops per breakpoint, theme behaviour, and output files.
- Brief: what it shows, the must-keeps, what's free to vary, and its done-when list. When the frozen target has this image, the audit's hero-specific items for it are the brief's starting point.
- Vary. Pick one axis and define 3–4 candidates (A–D), each a one-line thesis.
- Prompts. One copy-ready block per candidate, per
references/prompt-rules.mdand the imprint'sart-direction/prompt-template.md.
Output: the theses, the prompt blocks, and the run instructions: "In ChatGPT
project <Imprint> — Art, paste each block into a new message, attach the
listed files, and save each result to brands/<slug>/assets/candidates/<slot>-<letter>.png."
Set Status prompted.
2. Review candidates (Status: review)
- Match files to candidates by name. Ask about any that don't match.
- Treat before judging. Run the illustration system's treatment on each
candidate into
assets/candidates/treated/. Composite each result over the background token for every theme the imprint has, and view it at the sizes the spec names. For a mark, view it at 16, 32, and 64 px. - Review with
references/review.md. Add the table to the slot file, and recommend one candidate, an iteration (revised prompts for the closest one), or rejecting all of them. - The owner selects. Record their pick and reason in their words. The others become
Rejectedlines with the reason. Their files stay uncommitted.
3. Install (Status: installed)
- Illustration: copy the selected raw image to
assets/illustration/<composition>/<slot>.png. Write the treatment command into the slot file, and add the slot's rule to the brand's make include,brands/<slug>/brand.mk, somake <slug>buildsbrands/<slug>/dist/art/<slot>.*from the source, with the source file as the rule's prerequisite (references/build.md). Never writedist/by hand. The root Makefile (sre's) includes everybrand.mk. If it doesn't yet, ask withstory comment <ID> --to sre; don't edit it. - Mark, small cut, wordmark, lockup: follow
references/marks.md. The deliverable is SVG inassets/marks/, and the raster candidate goes toassets/marks/source/as its provenance. - Fill the slot's Provenance block, and set the
slots.mdrow togenerated · installed. - Run
make <slug>. View the outputs, check them against the spec's done-when list, and list any that fail. - If a built page uses the slot, name the site in the PR body.
- Remind the owner to upload the source to the ChatGPT project's files, so later slots can stay consistent with it.
4. Swap to hand-made (hand <file>)
The owner's replacement goes next to the generated source as
<slot>.<kra|svg|png>. Rename the generated source to <slot>.generated.png,
which no rule reads, and keep it until they say to delete it. In the same
change, point the slot's Makefile rule at
the new source. A .kra or .svg gets an export step into
brands/<slug>/dist/art/src/<slot>.png ahead of the treatment
(references/build.md), so make <slug> rebuilds from the editable file and
never from an exported copy someone has to remember to refresh. Run the same
treatment, dropping any flag that only patched the generated image (such as
ink.py --moon). Keep the output names, and set Provenance to hand with the
date. Run make <slug> from clean (rm -rf brands/<slug>/dist/art) to prove
the rule. Sites don't change.
Close
One next action: run the prompts, select from A–D, check the installed slot
on the site, or the next slot in slots.md. If you changed files, they go on
a design/ branch with a PR labeled role:visual-designer after /pre-pr.
04 同仓库更多 Skills
up-skill
Upstream skill, for when the dependency's job is asked for. Not for local work.
do-thing
Do the thing when asked to do the thing. Not for other things.
sre-start-sprint
Work the active sprint as SRE, with stories as GitHub issues. Observability review of the sprint's drafts first (architecture's contract review waits on it), then instrumentation verification for stories at review, then SRE's own backlog. Run once PM has activated the sprint; it also resumes a sprint already under way.
sprint-run
Plan the active sprint's role lanes and, once the owner confirms, start them in parallel. Reads the board, shows which stories and queues each role the repo runs as a lane (implementation, architecture, SRE, PM, and where the charters say so visual-designer and product) can pick up now and what everything else is waiting on, then runs one isolated `claude -p` session per lane (own worktree, role set, hooks on) via `.claude/bin/coordinator`, and reports from live state. Trigger on "run the sprint", "/sprint-run", "start the lanes", "what can the agents pick up", "kick off implementation and SRE". Not for working one story yourself (impl-start-sprint), activating or closing a sprint (pm-start-sprint, pm-close-sprint), or merging.
role
Set this session's role (e.g. pm, product, architecture, sre, implementation, visual-designer, or none) and load its charter, then start an optional task given after the role; or show the current role when run with no argument, or the repo's role catalog with `help`. The owner runs it at session start. Never invoke it on your own or to change roles mid-task.
release-review
Review a release's readiness across every delivery planner's board and repo (each feature's success signal, the milestones and stories delivering it, blockers and who owns them) and recommend go, no-go, or cut, written to docs/product/reviews/ (one file per review). Trigger on "/release-review", "where are we on R1", "are we ready to ship", "what's blocking the release", "go/no-go", and when a planner closes the last milestone a release names. Requires the product role. Not for sprint or cycle status (project-sync, producer-close-cycle), changing release scope (release-plan), or shipping or announcing anything (the owner).