article-writerlisted
Install: claude install-skill minicoohei/ai-agent-camp
# Article Writer - AI記事執筆エンジン
テーマを入力するだけで、構造化されたMarkdown記事を自動生成します。文体プロファイルによるトーン統一、挿絵マーカーの自動挿入に対応し、一貫性のある高品質な記事を出力します。
## ワークフロー
```
テーマ入力 → アウトライン生成 → スタイル適用 → セクション執筆 → 挿絵マーカー挿入 → 一貫性チェック → Markdown出力
```
1. **テーマ分析とアウトライン生成**: テーマからセクション構成・見出し・キーポイントを自動設計
2. **スタイルプロファイル読み込み**: YAMLファイルで文体(トーン、語尾、語彙レベル等)を指定可能
3. **セクションごとのドラフト執筆**: アウトラインに沿ってGemini APIで各セクションを生成
4. **挿絵マーカーの自動挿入**: 図表・画像の挿入位置をHTMLコメントとして自動配置
5. **全体の一貫性チェック**: 文体・用語の統一性を確認し最終Markdownを出力
## Usage
```bash
# Basic article generation
python scripts/article_writer.py --theme "AIエージェントの活用法" --output output/article.md
# With style profile
python scripts/article_writer.py --theme "AIエージェントの活用法" --style style_profile.yaml --output output/article.md
# With target audience
python scripts/article_writer.py --theme "AIエージェントの活用法" --audience "非エンジニアのビジネスパーソン" --style style_profile.yaml
# Specify word count and section count
python scripts/article_writer.py --theme "データ分析入門" --word-count 5000 --sections 7
# Disable illustration markers
python scripts/article_writer.py --theme "プロジェクト管理" --illustrations none
# Test mode (no API call)
python scripts/article_writer.py --test
```
## Parameters
| Parameter | Required | Default | Description |
|-----------|----------|---------|-------------|
| --theme | Yes | - | 記事のテーマ・トピック |
| --style | No | - | 文体プロファイルYAMLファイルのパス |
| --audience | No | - | 想定読者(例: "非エンジニアのビジネスパーソン") |
| --output | No | auto | 出力ファイルパス(デフォルト: output/article_{timestamp}.md) |
| --word-count | No