メインコンテンツまでスキップ

/l-put-image

Put Image Skill

The user wants to insert image file(s) into a markdown document where they've placed a ==IMG== placeholder.

Your Task

1. Find the Target File

Locate which markdown file contains the ==IMG== placeholder.

2. Determine Image Destination

Images should be placed in doc/static/img/.

3. Generate Suitable Filename

Create a meaningful filename based on the article and context.

4. Copy and Rename Image

Copy the image file to the destination with the new name.

5. Generate Markdown Image Syntax

Create the markdown image syntax: ![alt text](/img/filename.png)

6. Replace ==IMG== Placeholder

Replace the ==IMG== text with the generated image syntax.

7. Verify and Report

Confirm the replacement and show what was done.

Arguments

$ARGUMENTS - Image path(s) and optional alt text