بنقرة واحدة
generate-images
Generate AI illustrations for course cards and upload to Vercel Blob
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate AI illustrations for course cards and upload to Vercel Blob
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Process raw sources into wiki pages — creates summaries, entities, and concept pages
Check Sentry errors, Axiom logs, and other monitoring sources for bugs, then fix them with regression tests
Recursively crawl a documentation site, converting each page to markdown
Fetch Google Docs and convert to markdown
Generate TTS audio from speaker_notes and upload to Vercel Blob
Convert PDF files to markdown
| name | generate-images |
| description | Generate AI illustrations for course cards and upload to Vercel Blob |
| user-invocable | false |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash |
Generate AI illustrations for selected course cards using GPT Image 1.
/generate-images <course-slug>
Example: /generate-images claude-architect
.env to load OPENAI_API_KEY and BLOB_READ_WRITE_TOKEN.image: "TODO: <description>" markers.courses/<slug>/images/<card-id>.png.
c. Update the card's frontmatter: replace image: "TODO: ..." with image: "<blob-url>".
d. Update .enrichment-hashes.json with the image description hash.npx tsx scripts/validate-media.ts courses/<slug>
curl https://api.openai.com/v1/images/generations \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-1",
"prompt": "<description>",
"n": 1,
"size": "1024x1024",
"quality": "medium"
}'
curl -X PUT "https://blob.vercel-storage.com/courses/<slug>/images/<card-id>.png" \
-H "Authorization: Bearer $BLOB_READ_WRITE_TOKEN" \
-H "Content-Type: image/png" \
-H "x-api-version: 7" \
--data-binary @image.png