一键导入
migrate-images
Scrape, download, and localize external or relative images referenced in markdown files to Astro's src/assets folder and rewrite image links.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scrape, download, and localize external or relative images referenced in markdown files to Astro's src/assets folder and rewrite image links.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Migrate Images |
| description | Scrape, download, and localize external or relative images referenced in markdown files to Astro's src/assets folder and rewrite image links. |
This skill scans all Markdown files in the src/content/docs folder and downloads external, relative, or site-hosted images locally to the src/assets folder. It then automatically computes and rewrites the correct relative image links inside the markdown files.
Use this skill whenever:
rodydavis.com) that reference hosted images.src/assets/ folder.The under-the-hood script:
.md files in src/content/docs..https://rodydavis.com).fetch and pipelines them to src/assets using sanitized safe filenames.src/assets and replaces the old reference in-place.Run this command from the project root:
node .agents/skills/migrate-images/scripts/migrate-images.js
Auto-correct relative links, asset paths, and related links in markdown documents based on folder depth.
Import YouTube video details using yt-dlp, automatically generating Astro Markdown pages with metadata, iframe embeds, and descriptions.
Ensure all markdown documents have their frontmatter titles injected as standard H1 headings at the start of the body.
Process all markdown documentation files to generate AI summaries and embeddings (using Ollama), apply taxonomy tags, and compute KNN related links.
Full developer documentation for Astro