Place an illustration image into the correct chapter of the Claude Constitution project. Use when the user provides an image and specifies where it should be placed, or mentions illustration placement, renaming, or numbering.
Handles the full workflow of receiving an illustration image and inserting it at a specific location in the constitution content.
The image will either be:
C:\Users\Jace\.cursor\projects\a-Projects-claude-constitution-revamp\assets\ (when pasted)Chapters map to markdown files in src/content/sections/:
| Chapter | File |
|---|---|
| 1 |
01-overview.md |
| 2 | 02-being-helpful.md |
| 3 | 03-following-guidelines.md |
| 4 | 04-being-ethical.md |
| 5 | 05-being-safe.md |
| 6 | 06-claudes-nature.md |
| 7 | 07-concluding-thoughts.md |
To find the next sequence number, list existing files in public/illustrations/ matching ch{NN}-* and increment.
Convention: ch{NN}-{SS}-{slug}.{ext}
| Part | Description | Example |
|---|---|---|
NN | Chapter number, zero-padded | 01 |
SS | Sequence within chapter, zero-padded | 03 |
slug | Kebab-case placement context (heading or paragraph keyword) | mission-of-anthropic |
ext | Original file extension (preserve as-is) | png |
Derive the slug from the heading or paragraph the image follows. Keep it short (2-5 words).
Copy the source image to: public/illustrations/{filename}
Copy-Item "{source}" "public/illustrations/{filename}"
Do NOT keep a second copy in src/assets/illustrations/.
Open the target chapter markdown file and insert:

Placement rules:
StrReplace with enough surrounding context to place preciselyReport back:
ch{NN}-{SS}-{slug}.{ext}public/illustrations/{chapter file} after {heading/context}User says: "Place this after the 'Being honest' heading in chapter 4"
public/illustrations/ch04-* → finds ch04-01-..., ch04-02-...03ch04-03-being-honest.pngpublic/illustrations/ch04-03-being-honest.png04-being-ethical.md, insert after ## Being honest heading:## Being honest

Claude should be honest...