cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/create-blog-articleContext preview
What this command does when you run it.
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image
allowed-tools: Read, Write, Edit, Bash(python3:*), Bash(mkdir:*), Bash(rm:*) argument-hint: <component-path> description: Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image
You will create a complete, SEO-optimized blog article for a Claude Code component.
Component path provided: **$ARGUMENTS**
Expected format examples:
Based on the path structure, determine the component type:
Read the component file:
**CRITICAL:** Use `find` or `grep` to locate the actual file path first, then extract folder/name structure.
Extract from the component file:
From the component path, create:
**CRITICAL**: Generate the cover image BEFORE creating the HTML file.
Use the Python script to generate the image:
python3 scripts/generate_blog_images.py
But first, temporarily add a new entry to `docs/blog/blog-articles.json` with:
{
"id": "[blog-id]",
"title": "Temporary",
"description": "Temporary",
"url": "[blog-id]/",
"image": "https://www.aitmpl.com/blog/assets/[blog-id]-cover.png",
"category": "[Component Type]",
"publishDate": "2025-01-15",
"readTime": "4 min read",
"tags": ["Claude Code"],
"difficulty": "basic",
"featured": true,
"order": 999
}Then run the script, which will: 1. Detect the new entry 2. Find the component path 3. Generate the image at `docs/blog/assets/[blog-id]-cover.png`
After image generation, update the entry with correct information.
Create directory:
mkdir -p docs/blog/[blog-id]
**CRITICAL PROCESS:**
1. **First, READ the template file completely:**
Read docs/blog/code-reviewer-agent/index.html
2. **Copy the ENTIRE content** to the new file location:
Write docs/blog/[blog-id]/index.html
3. **Then, ONLY replace the specific content sections** (listed below)
**DO NOT:**
Create `docs/blog/[blog-id]/index.html` using this process:
**CRITICAL**: Use `docs/blog/code-reviewer-agent/index.html` as the EXACT base template.
This template includes ALL required components:
**DO NOT create custom HTML structure** - copy the template EXACTLY and only replace the content-specific parts.
1. **Copy the entire file** from `code-reviewer-agent/index.html` 2. **Only replace these specific content areas**:
3. **Keep EVERYTHING else unchanged**:
**Title Tag** (Line 6):
<title>[Component Name] for Claude Code: [Key Technologies] Expert AI Assistant</title>
**Meta Description** (Line 26):
<meta name="description" content="Install the [Component Name] for Claude Code to [main benefit]. AI-powered [component type] for [key features].">
**Open Graph Tags** (Lines 28-32):
<meta property="og:title" content="[Component Name] for Claude Code: [Key Technologies]"> <meta property="og:description" content="Install the [Component Name] for Claude Code...">
**Keywords** (Line 58): Focus on: Claude Code, Component Type, Main Technologies
<meta name="keywords" content="Claude Code [type], [Component Name], Claude Code [tech1], [tech2], AI [domain] development, ...">
**Structured Data** (Lines 81-136):
{
"@type": "BlogPosting",
"headline": "[Component Name] for Claude Code: [Technologies]",
"keywordReady-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space