con un clic
migrate-images
// Scrape, download, and localize external or relative images referenced in markdown files to Astro's src/assets folder and rewrite image links.
// Scrape, download, and localize external or relative images referenced in markdown files to Astro's src/assets folder and rewrite image links.
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
| 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