Back to list
ChrisTowles

fix-blog-images

by ChrisTowles

Chris Towles Blog

4🍴 0📅 Jan 20, 2026

SKILL.md


name: fix-blog-images description: Fix and optimize images in uncommitted blog posts. Use when preparing blog posts for publication, fixing broken image paths, renaming generic image names (image.png), moving images to proper /images/blog/ directory, improving alt text, or checking image references before committing. Trigger on "fix blog images", "check images", "prepare post for publish", or after pasting screenshots into markdown.

Fix Blog Images

Fixes image issues in uncommitted blog posts before publishing.

Workflow

  1. Run the analysis script:
python3 scripts/fix_blog_images.py --json
  1. Review output and for each issue:

    • rename_and_move: Move image to /images/blog/ with descriptive name
    • improve_alt_text: Update alt text to describe the image content
    • missing_image: Locate or remove the reference
  2. Apply fixes:

    • Move/rename image files to packages/blog/public/images/blog/
    • Update markdown references to use absolute paths /images/blog/...
    • Add descriptive alt text

Image Conventions

  • Location: All images in packages/blog/public/images/blog/
  • Naming: YYYYMMDD-HHMM-descriptive-name.png or YYYYMMDD-descriptive-name.png
  • References: Use absolute paths /images/blog/filename.png
  • Alt text: Describe what the image shows for accessibility

Example Fix

Before:

![alt text](image.png)

After:

![Screenshot showing terminal layout](/images/blog/20251229-post-slug-image.png)

Addtional Notes

Don't try and Optimize Images. a git hook will run image optimization on commit. This skill is just to fix paths, names, and alt text before committing.

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon