Behind the Scenes: How Claude Code Organized Blog Assets from a Simple Request
Introduction
As a developer working with AI tools, I’m often amazed by how Claude Code can interpret natural language requests and execute complex file operations. Today’s task provides a perfect example of this capability in action.
The Problem
I had two screenshots sitting in docs/images/
that needed to be:
- Moved to the proper Jekyll blog assets location
- Renamed meaningfully based on their content
- Used in a comparison blog post
My request was straightforward but required multiple steps to complete:
Move these screenshots to the correct location for a blog post.
@docs/images/*.png
Write a post showing the Minima theme in the file with the earlier timestamp,
and the Just the Docs theme in the later file. Provide a brief comparison.
The Solution
Step 1: Understanding the Context
Claude Code first listed the files to understand what we were working with:
Screenshot from 2025-07-27 08-33-49.png
(earlier - Minima theme)Screenshot from 2025-07-27 08-38-33.png
(later - Just the Docs theme)
The timestamps in the filenames provided the chronological order needed to identify which theme was which.
Step 2: Creating the Proper Directory Structure
Jekyll blogs typically organize images in an assets/images/
directory. Claude Code created a date-based subdirectory structure:
mkdir -p docs/assets/images/blog/2025-01-27
This organization makes it easy to manage images as the blog grows.
Step 3: Moving and Renaming Files
Instead of keeping the generic screenshot names, Claude Code renamed them descriptively:
mv "docs/images/Screenshot from 2025-07-27 08-33-49.png" \
docs/assets/images/blog/2025-01-27/minima-theme.png
mv "docs/images/Screenshot from 2025-07-27 08-38-33.png" \
docs/assets/images/blog/2025-01-27/just-the-docs-theme.png
Step 4: Cleaning Up
After moving the files, the empty directory was removed:
rmdir docs/images
Step 5: Creating the Comparison Post
Finally, Claude Code created a comprehensive blog post comparing the two themes, properly referencing the newly organized images with the correct Jekyll/GitHub Pages paths.
Results and Impact
From a simple request with minimal context, Claude Code:
- âś“ Inferred the correct Jekyll blog asset structure
- âś“ Created meaningful filenames from generic screenshots
- âś“ Understood timestamp ordering to identify themes
- âś“ Generated a detailed comparison blog post
- âś“ Used proper Jekyll image paths for GitHub Pages
The entire process took less than a minute and resulted in properly organized assets and a publication-ready blog post.
Lessons Learned
-
Context is powerful: Even with minimal information, Claude Code used file timestamps and standard Jekyll conventions to make intelligent decisions.
-
Automation saves time: What would have taken 10-15 minutes manually was completed in seconds.
-
Standards matter: Following Jekyll’s conventional directory structure made the task straightforward.
Next Steps
This experience highlights the potential for further automation in blog management:
- Automatic image optimization before moving
- Metadata extraction from images for alt text
- Batch processing of multiple blog posts
Conclusion
What started as a simple request to “move these screenshots” became a demonstration of how AI tools can understand intent, apply best practices, and execute multi-step tasks efficiently. Claude Code didn’t just move files—it organized them properly, cleaned up afterwards, and created meaningful content from the assets.
Resources
About the Author
Rolfe DH is exploring the intersection of AI and developer productivity through the Aditi project and various automation experiments.