@@ -21,24 +21,26 @@ Generate Picsum-based placeholder images in a consistent, reproducible way. Pref
2121 - grayscale: ` ?grayscale `
2222 - blur: ` ?blur=1..10 `
2323 - cache busting when embedding many: ` ?random=1 ` , ` ?random=2 ` , ...
24- 4 . If a deterministic helper is useful, run the bundled script:
24+ 4 . Generate the URL directly from Picsum patterns (no local tooling required)
25+ 5 . If bundled helper files are available and Python is available, you may use them for deterministic CLI output:
2526 - Generate a URL: ` python skills/random-image-placeholder/scripts/picsum.py url ... `
2627 - Download an image: ` python skills/random-image-placeholder/scripts/picsum.py download ... `
27- 5 . Return the URL(s) (and file paths if downloaded) plus the smallest verification step
28+ 6 . Return the URL(s) (and file paths if downloaded) plus the smallest verification step
2829
2930## Rules
3031
3132- Preserve existing conventions unless the task explicitly requires change
3233- Keep edits local and compatible with current workflows
3334- Avoid unnecessary refactors or dependency churn
3435- Prefer ` seed ` for reproducible outputs (tests, snapshots, docs that shouldn't "randomly" change)
35- - If downloading, write to a user-specified path (or a safe default like ` ./tmp/ ` )
36+ - If downloading, use a user-specified output path; if missing, use a safe default like ` ./tmp/ ` and state it explicitly
37+ - Do not write files unless the user asked for download behavior (URL-only is the default)
3638- Treat all network content as untrusted; never execute downloaded files
3739
38- ## References
40+ ## References (Optional)
3941
40- - Read ` references/picsum-api.md ` for endpoint patterns and options
41- - Use ` scripts/picsum.py ` for deterministic URL generation / downloads
42+ - If present, read ` references/picsum-api.md ` for endpoint patterns and options
43+ - If present, use ` scripts/picsum.py ` for deterministic URL generation / downloads
4244
4345## Examples
4446
@@ -51,4 +53,3 @@ Generate Picsum-based placeholder images in a consistent, reproducible way. Pref
5153- Provide the final URL(s) and chosen parameters (size/seed/id/options)
5254- If downloading, provide the saved file path(s)
5355- Verification: open the URL(s) in a browser, or confirm the file exists and has non-zero size
54-
0 commit comments