Skill: Mermaid to Image Convert code blocks. Report how many blocks were found and in which files before proceeding. Step 2: Determine the image output directory Check the project structure to find where images are typically stored: If a clear image directory exists (e.g., , ), use it. Create a subdirectory by topic if appropriate (e.g., ). If no image directory is obvious or multiple candidates exist , ask the user: Step 3: Render each diagram to PNG Use the mermaid.ink API to render diagrams. Run this Python snippet for each block: Important: The header is required — mermaid.ink returns 403…