blog-from-chatlisted
Install: claude install-skill furkankoykiran/.claude
# Blog from Chat Summary (Generic)
This skill generates a blog post from a chat summary. It supports Turkish, English, or both languages.
**Generic Design**: Works for any user with GitHub auth. Reads configuration from memory.
## Input
Chat summary provided as `$ARGUMENTS`.
## Configuration (Read from Config & Memory)
Before starting, read `~/.claude/config.json` for:
- `BLOG_DIR` - Blog directory path (from `paths.blog_dir`)
- `USERNAME` - GitHub username (from `user.username`)
- `DEFAULT_LANGUAGE` - Default language setting (from `blog.default_language`)
Fallback detection:
- If config doesn't exist: Use `mcp__github__get_me()["login"]` and ask user for blog_dir
## Workflow
### Step 1: Ask Language Preference (FIRST)
Use AskUserQuestion to ask:
```
Blog gönderisi hangi dilde olsun?
1. Türkçe
2. İngilizce
3. Hem Türkçe hem İngilizce (iki ayrı post)
```
**Default**: Option 1 (Turkish) if not specified.
### Step 2: Learn Writing Style
Read the last 2-3 blog posts from `$BLOG_DIR/_posts/` to understand:
- Tone and voice (friendly, professional, first-person)
- Structure (Problem → Solution → Implementation → Results)
- Formatting patterns
- Image placement (~1 image per 50 lines)
### Step 3: Generate Frontmatter
Based on the chat summary, create appropriate frontmatter:
```yaml
---
title: "Generated Title"
description: "Brief 1-2 sentence description"
date: YYYY-MM-DD HH:MM:SS +0300
categories: [Category1, Category2]
tags: [tag1, tag2, tag3, tag4]
image:
pat