Introduction

Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.

I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.

I also build and publish a variety of tools, libraries, and open-source projects.

This article describes how I used Claude Code Skills and subagents to analyze my previous articles and automate article creation.

Background and Motivation

Writing technical articles is rewarding, but it takes time. It can be difficult to design the structure of every article from scratch and maintain consistency with previous articles. Qiita and Zenn use different syntax, so their platform-specific rules must also be kept in mind.

I therefore analyzed my previous articles and created Claude Code Skills and subagents to assist with article writing.

Problems I wanted to solve

  • Quickly create a basic article structure using templates.
  • Produce consistent articles based on patterns in previous articles.
  • Support flexible article creation for both Qiita and Zenn.
  • Write about technologies and services I want to learn in a way that makes them easier to understand.

For example, when writing about an application I developed or a particular technology or service, I can have AI produce the initial draft and then supplement and correct it manually to improve writing efficiency. I also wanted to see whether AI could identify the characteristics of several previously published articles and incorporate them into new ones.

Writing about technologies and services I want to understand is primarily for my own learning. Whether a draft should be published is a separate question.

A final human review is essential.

What Are Claude Code Skills?

For more on Claude Skills, see the following resources.

https://zenn.dev/heku/books/claude-code-guide/viewer/customization-skills

A Claude Code Skill is a modular package that gives Claude specialized knowledge and workflows for particular domains or tasks. Skills provide specialized workflows (multi-step procedures for particular domains), tool integrations (instructions for specific file formats or APIs), domain knowledge (organization-specific knowledge, schemas, and business logic), and bundled resources (scripts, references, and assets for complex or repetitive tasks).

Skill Structure

Every Skill consists of a required SKILL.md file and optional bundled resources.

text
skill-name/
├── SKILL.md       - 必須
├── scripts/       - 実行可能コード(Python/Bash等)
├── references/    - 必要に応じてコンテキストに読み込むドキュメント
└── assets/        - 出力に使用するファイル(テンプレート等)

SKILL.md is the core file of a Skill. Its YAML metadata includes name and description. The description is especially important because Claude uses it to determine when to invoke the Skill.

markdown
---
name: skill-name
description: This skill should be used when...
---

# Skill Name

Instructions for Claude...

The scripts/ directory contains executable code, such as Python or Bash. Include scripts when the same code would otherwise be rewritten repeatedly or deterministic execution is required.

The references/ directory contains documentation loaded into context when needed to guide Claude's work. Examples include database schemas, API documentation, domain knowledge, and detailed workflow guides. For large files (over 10,000 words), including search patterns in SKILL.md can help.

The assets/ directory contains files used in the outputs Claude generates. Examples include templates, images, icons, and boilerplate code.

Progressive Disclosure

Skills use a three-stage loading mechanism to manage context efficiently. First, metadata (name and description) is always loaded into context (approximately 100 words). When the Skill is triggered, the body of SKILL.md is loaded (preferably fewer than 5,000 words). Finally, Claude loads bundled resources as needed.

This design keeps Skills lightweight while providing extensive information and tools on demand.

What Are Claude Code Subagents?

For more on Claude subagents, see the following resources.

https://zenn.dev/heku/books/claude-code-guide/viewer/customization-agents

A subagent is a specialized agent that performs particular tasks. Subagents are placed in the .claude/agents/ directory and can execute complex workflows.

Differences Between Skills and Subagents

Item Skill Subagent
Purpose Provide knowledge and rules Execute tasks
Location .claude/skills/ .claude/agents/
Invocation Automatically (Skill tool) Through the Task tool
Complexity Simple Supports complex workflows

A Skill defines what to know, while a subagent defines what to do. Subagents can combine multiple Skills and use MCP tools for complex operations.

For more details, the following articles are useful references.

Subagent File Structure

markdown
---
name: agent-name
description: エージェントの説明と使用例
model: sonnet
---

You are the **Agent Name**, an expert in...

## Core Identity

エージェントの役割を定義...

## Workflow

1. Step 1
2. Step 2
3. Step 3

## Available Skills

使用するスキルを列挙...

Metadata specifies the agent's name, description, and model. The body describes the agent's role, workflow, and Skills. Usage examples written with <example> tags help Claude understand how to use the agent.

When to Use a Subagent

Subagents are useful for multi-step workflows, combining several Skills, repeatedly executing a particular task, and complex operations requiring multiple MCP tools.

This article creation system has several phases: document retrieval, content analysis, outline design, and writing. Different Skills and MCP tools are required at different phases, so I introduced subagents.

The System I Built

I created two subagents and three Skills using my own articles.

Platforms

This article uses Qiita and Zenn as examples because they are the platforms I use. If you use note, Medium, Hatena Blog, your own website, or another platform, customize the directory structure and templates to suit your environment.

Complete System Structure

text
.claude/
├── agents/
│   ├── article-analyzer.md         # 記事分析Subagent
│   └── article-writer.md           # 記事執筆Subagent
└── skills/
    ├── analysis_framework/         # 記事分析フレームワーク
    │   ├── skill.md                # 分析手法の定義(6要素抽出)
    │   └── examples.md             # 分析結果のサンプル出力(JSON形式)
    ├── article_templates/          # 記事テンプレート集
    │   ├── skill.md                # テンプレート選択ロジック
    │   └── templates/
    │       ├── qiita/
    │       │   ├── erc_eip.md      # ERC/EIP標準テンプレート
    │       │   ├── handson.md      # ハンズオンテンプレート
    │       │   ├── tech_tips.md    # 技術解説テンプレート
    │       │   └── tool_intro.md   # ツール紹介テンプレート
    │       ├── zenn-article/
    │       │   ├── common.md       # Zenn記事共通テンプレート
    │       │   ├── erc_eip.md      # ERC/EIP標準テンプレート
    │       │   ├── contract_analysis.md
    │       │   ├── tech_concept.md
    │       │   ├── tool_service.md
    │       │   └── personal_dev.md
    │       └── zenn-book/
    │           ├── common.md       # Zenn Book共通テンプレート
    │           ├── protocol_service.md
    │           ├── erc_eip.md
    │           ├── defi.md
    │           ├── contract.md
    │           └── solidity.md
    └── tone_guidelines/            # 文体・スタイルガイドライン
        ├── skill.md                # 文体ルールの定義
        ├── intro_outro.md          # はじめに・最後にテンプレート(カスタム)
        └── wordings.md             # 言い回し集(具体的な表現例)

Reusable Templates and Customized Components

The system has reusable template components that work as provided and customized components generated by analyzing each user's articles.

Reusable template components

File Contents
article-analyzer.md Article analysis subagent (analysis, classification, and template generation)
article-writer.md Article writing subagent (defines workflows for three patterns)
analysis_framework/skill.md Analysis method (how to extract six elements)
tone_guidelines/skill.md Writing style rules (sentence endings, colon restrictions, and other conventions)

These reusable components contain general-purpose material and can be copied as-is. They are available in the following GitHub repository.

Customized components (generated by analyzing your own articles)

File Contents
analysis_framework/examples.md Sample results from analyzing your own articles
article_templates/templates/ Category-specific templates (section structure patterns)
tone_guidelines/wordings.md Frequently used expressions extracted from your articles
tone_guidelines/intro_outro.md Introduction and Conclusion templates (personal social links and author biographies)

The customized components are based on characteristics extracted from your previous articles. Because many of my articles concern blockchain, my categories include ERC/EIP standards and DeFi explanations. Authors working in other genres will have different categories.

Notes on category classification

Classify categories according to article content. The criterion is what the article explains, not the author's employer or biography.

  • Good examples: ERC20 token standard, React hooks, Docker environment setup.
  • Poor examples: technical articles from Company X, articles from a blockchain game company.

article-analyzer Subagent

article-analyzer is a subagent that analyzes existing articles and automatically generates customized components (examples.md and templates/). It is used in Step 4 of the setup procedure.

Pipeline Phases

Phase Purpose Output
Phase 1: Article Collection Collect article files List of Markdown files
Phase 2: Content Analysis Extract six elements from each article Analysis results in JSON
Phase 3: Categorization Classify articles Category list and proportions
Phase 4: Generate examples.md Generate analysis examples examples.md
Phase 5: Generate Templates Generate category-specific templates templates/

Usage Example

text
article-analyzer agentを使用して、qiita/articles/、zenn/articles/、zenn/books/ の記事を分析し、examples.md とカテゴリ別テンプレートを作成してください。

This single prompt automatically generates the following.

  • .claude/skills/analysis_framework/examples.md
  • .claude/skills/article_templates/templates/qiita/
  • .claude/skills/article_templates/templates/zenn-article/
  • .claude/skills/article_templates/templates/zenn-book/

The user is asked to confirm the classification results before template generation proceeds.

article-writer Subagent

article-writer is a subagent that automates technical article writing. It creates articles using one of three patterns depending on the input.

Pattern A: Document-based

Create an article using the URL of official documentation. WebFetch retrieves the documentation, and WebSearch supplements it with background information.

text
入力例: 「EASについて記事を書きたいです。ドキュメントはこちらです。https://docs.attest.org/」

Pattern B: Reference-based

Analyze several reference articles to create a new article. The analysis_framework Skill analyzes each article and extracts commonalities and differences.

text
入力例: 「React Server Componentsについて記事を書きたいです。参考記事が2つあります。https://ja.react.dev/reference/rsc/server-components, https://ja.react.dev/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components」

Pattern C: Code-based

Analyze source code and create an explanatory article. GitHub MCP retrieves the repository structure, and Kiri MCP analyzes the code.

text
入力例: 「UniswapV4のコントラクトについて記事を書きたいです。https://github.com/Uniswap/v4-core」

You can also clone the code from GitHub and provide its local path to the agent.

Pipeline Phases

Phase Purpose Tools
Phase 0: Source Acquisition Retrieve sources WebFetch, Context7 MCP, GitHub MCP
Phase 1: Content Analysis Analyze content analysis_framework Skill
Phase 2: Outline Design Design the outline article_templates Skill
Phase 3: Writing Write the article tone_guidelines Skill

Pattern B skips Phase 0 and starts at Phase 1.

Available Tools

Category Tool Purpose Required pattern
Web WebFetch Retrieve content from URLs All patterns (built in)
Web WebSearch Search for background information All patterns (built in)
Web Context7 MCP Retrieve library documentation Pattern A
Code Kiri MCP Semantic code search Pattern C
Code GitHub MCP Explore repositories Pattern C

MCP configuration

Using Pattern A or Pattern C requires configuring MCP beforehand. If you only use Pattern B (reference-based), MCP configuration is unnecessary.

bash
# Pattern Aを使う場合(ライブラリドキュメント取得)
claude mcp add context7 -- npx -y @upstash/context7-mcp

# Pattern Cを使う場合(コード解析)
claude mcp add kiri -- npx -y @anthropic-ai/kiri-mcp

analysis_framework Skill

This Skill provides a framework for analyzing technical articles from a consistent perspective. It is used in Phase 1 (content analysis).

skill.md (Reusable Template)

This file defines the analysis method. Extract the following six elements from each article.

  • Theme and thesis (the central topic and message the author intends to communicate).
  • Problem (specific difficulties faced by the reader).
  • Solution approach (the proposed technology or method).
  • Implementation and code examples (the roles of important code snippets).
  • Prerequisites (the technical knowledge expected of readers).
  • Constraints and trade-offs (situations where the approach is unsuitable).

examples.md (Customized Component)

This file provides concrete examples of analysis results. Include approximately three to five JSON examples from analyses of your own articles. When Claude Code analyzes a new article, it refers to these examples and produces results in the same format.

json
{
  "article_id": "erc20-comprehensive-guide",
  "title": "ERC20を1からわかりやすく解説",
  "theme": "ERC20トークン規格の基礎から実装まで",
  "main_claim": "ERC20は統一されたトークン規格であり...",
  "target_audience": "beginner",
  "problems": [
    {
      "description": "トークン規格が標準化される前は...",
      "context": "DEXやウォレットとの連携が困難で...",
      "impact": "エコシステムの断片化、開発コストの増大"
    }
  ],
  "solutions": [...],
  "code_highlights": [...],
  "prerequisites": ["Solidityの基本構文", "Ethereumのアカウントモデル"],
  "limitations": ["スマートコントラクトへの誤送金時に回収不可能"],
  "structure_notes": {
    "sections": ["はじめに", "ERC20とは", "インターフェース解説", ...],
    "storytelling_techniques": ["問題提起から始める", "図解を使った視覚的説明"]
  }
}

These examples help Claude Code understand the level of detail expected in the analysis and the required output format.

Why is there only one examples.md file?

analysis_framework is a framework for analyzing article content. The six extracted elements (theme, problem, solution, code examples, prerequisites, and constraints) represent a platform-independent structure. Platform-specific differences, such as metadata formats and markup, are handled by article_templates and tone_guidelines, so one examples.md file is sufficient.

article_templates Skill

This Skill provides templates to support article outline design. It is used in Phase 2 (outline design).

skill.md (Reusable Template)

This file defines the template selection logic. It describes how to select appropriate templates according to platform (Qiita, Zenn Article, or Zenn Book) and category.

templates/ (Customized Component)

This directory contains category-specific section structure templates. Each template includes the following content.

markdown
# ERC/EIP標準記事テンプレート(Qiita)

577本の分析結果に基づくERC/EIP解説記事のテンプレート。

## メタデータ

(YAMLフロントマターの形式)

## 記事構成

### 1. はじめに(固定)
(固定テンプレート)

### 2. 概要
(このセクションの目的と典型的な内容)

### 3. 動機
...

## 記述ルール

### Qiita固有ルール
- Solidityコードは `js` で記述
- `:::note` ブロック内にリンクを含めない
...

## チェックリスト
- [ ] メタデータが正しい形式
- [ ] はじめに・最後にが固定テンプレート通り
...

My Analysis Dataset (Reference)

Platform Items analyzed Categories
Qiita 577 articles 4 categories
Zenn Article 65 articles 6 categories
Zenn Book 31 books 6 categories

Examples of my Qiita categories include ERC/EIP standards (91.7%), hands-on tutorials (2.3%), technical explanations (1.7%), and tool introductions (0.9%). These categories are specific to my own articles. Analyzing your own articles will produce different categories.

tone_guidelines Skill

This Skill provides tone and style guidelines for technical writing. It is used in Phase 3 (writing).

skill.md (Reusable Template With Some Customization)

This file defines writing style rules.

Platform-specific differences (reusable template)

Item Qiita Zenn
Metadata tags: Tag1 Tag2 topics: ["tag1"]
Callout syntax :::note info/warn/alert :::message
Collapsible sections Unsupported :::details
Solidity code js solidity

Main formatting rules for Japanese articles (reusable template)

  • Start a new line whenever a sentence ends with the Japanese full stop (。).
  • Do not end sentences with a colon (:).
  • Always bold text enclosed in Japanese corner quotation marks.
  • Always specify a language and filename for code blocks.
  • Insert an ASCII space between backtick-enclosed code elements and Japanese text.

Introduction and Conclusion (customized component)

The Introduction and Conclusion contain personal social links and author biographies, so they must be customized.

wordings.md (Customized Component)

This file contains expressions extracted from your previous articles. Claude Code refers to it when writing to maintain a consistent style.

markdown
## 導入部の表現

### 記事の目的を述べる

**推奨パターン**
今回は『**〇〇**』についてまとめていきます。
「**〇〇がわからない、なんとなく理解している方**」
こんな人の役に立てば幸いです。

## 説明の表現

### 定義を述べる

**推奨パターン**
〇〇とは、△△するための仕組みです。
〇〇は、△△を目的として設計されています。

## 避けるべき表現一覧

| 避けるべき表現 | 推奨表現 |
|--------------|---------|
| 〜である | 〜です |
| **パラメータ**: | パラメータとして、〜 |
| **注意**: | 注意点として、〜 |

This collection helps Claude Code understand your writing style and generate articles with a consistent tone.

Setup Procedure

Follow these steps in order to create the Claude Code Skills and subagents. Use the reusable template components as provided and generate the customized components by analyzing your own articles.

Step 1: Install the Reusable Templates

Download and place the reusable templates from the following GitHub repository.

Download the templates

Copy the following files from the repository.

text
.claude/
├── agents/
│   └── article-writer.md       # Subagent本体
└── skills/
    ├── analysis_framework/
    │   └── skill.md            # 分析手法の定義
    ├── article_templates/
    │   └── skill.md            # テンプレート選択ロジック
    └── tone_guidelines/
        └── skill.md            # 文体ルールの定義

These files can be used as-is. The customized components (examples.md, wordings.md, and templates/) are created in later steps.

Step 2: Collect Existing Articles

To generate the customized components, collect your articles as Markdown files. The directory structure is flexible, but organizing articles by platform makes management easier.

Example directory structure

text
article/
├── [プラットフォーム1]/
│   └── articles/       # 記事のMarkdownファイル
└── [プラットフォーム2]/
    └── articles/       # 記事のMarkdownファイル

My example (Qiita and Zenn)

text
article/
├── qiita/
│   └── articles/
└── zenn/
    ├── articles/
    └── books/

Exporting articles

Use each platform's export feature or copy the files manually.

  • Zenn

An official export feature is available.

https://zenn.dev/settings/export

  • Qiita

There is no official export feature, but running init with Qiita CLI should generate a set of files locally. They are created in a directory called public.

Step 3: Start Claude Code

Start Claude Code in the directory containing the collected articles.

bash
claude

Once Claude Code starts, enter the prompts in the following steps to analyze articles and generate files.

If Claude Code is not installed, use the following command to install it.

bash
npm install -g @anthropic-ai/claude-code

Step 4: Analyze and Classify Articles (Using the article-analyzer Subagent)

Use the article-analyzer subagent to analyze articles, classify categories, and generate templates together.

Sample prompt

text
article-analyzer agentを使用して、[記事ディレクトリ] の記事を分析し、examples.md とカテゴリ別テンプレートを作成してください。

My example:

text
article-analyzer agentを使用して、qiita/articles/、zenn/articles/、zenn/books/ の記事を分析し、examples.md とカテゴリ別テンプレートを作成してください。

Processing workflow

  1. Article collection Collect Markdown files from the specified directory.
  2. Content analysis Extract six elements (theme, problem, solution, code examples, prerequisites, and constraints) from each article.
  3. Categorization Classify articles based on their content (the user is asked for confirmation at this stage).
  4. Generate examples.md Output analysis results for representative articles as samples.
  5. Generate templates Output category-specific section structure templates.

Categorization is based on what the article explains in its body. Articles are classified by technical content, not the author's biography or employer.

Generated files

text
.claude/skills/
├── analysis_framework/
│   └── examples.md             # 分析サンプル(JSON形式)
└── article_templates/
    └── templates/
        └── [プラットフォーム名]/
            ├── [カテゴリ名].md  # カテゴリ別テンプレート
            └── ...

Format of the generated examples.md file

json
{
  "articles": [
    {
      "article_id": "erc20-comprehensive-guide",
      "title": "ERC20を1からわかりやすく解説",
      "platform": "zenn-article",
      "theme": "ERC20トークン規格の基礎から実装まで",
      "main_claim": "ERC20は統一されたトークン規格であり...",
      "target_audience": "beginner",
      "problems": [...],
      "solutions": [...],
      "code_highlights": [...],
      "prerequisites": ["Solidityの基本構文"],
      "limitations": ["スマートコントラクトへの誤送金時に回収不可能"],
      "structure_notes": {
        "sections": ["はじめに", "ERC20とは", "インターフェース解説"],
        "storytelling_techniques": ["問題提起から始める"]
      }
    }
  ],
  "analysis_metadata": {
    "date": "2024-01-15",
    "total_articles": 10,
    "platforms": { "qiita": 5, "zenn-article": 3, "zenn-book": 2 }
  }
}

Format of the generated templates

markdown
# ERC/EIP標準記事テンプレート(Qiita)

577本の分析結果に基づくERC/EIP解説記事のテンプレート。

## メタデータ

(YAMLフロントマターの形式を記載)

## 記事構成

### 1. はじめに(固定)
(固定テンプレートを記載)

### 2. 概要
(このセクションの目的と典型的な内容を記載)

## 記述ルール

### Qiita固有ルール
- Solidityコードは `js` で記述
- `:::note` ブロック内にリンクを含めない

## チェックリスト
- [ ] メタデータが正しい形式
- [ ] はじめに・最後にが固定テンプレート通り

The category classification results are displayed during processing, and confirmation is requested. If the category names and classifications are satisfactory, approve them and proceed to template generation.

Step 5: Extract Frequently Used Expressions (Create wordings.md)

Extract frequent expressions from your articles to create wordings.md.

Token limits

If you have many articles, loading them all at once may exceed the token limit (25,000 tokens in the environment described here). In that case, sample five to ten representative articles from each category for analysis.

Sample prompt

text
[記事ディレクトリ] から各カテゴリの代表的な記事を5〜10件選び、頻出する言い回しパターンを抽出してください。「導入部の表現」「説明の表現」「注意点の表現」「避けるべき表現」に分類し、.claude/skills/tone_guidelines/wordings.md に出力してください。

My example:

text
qiita/articles/、zenn/articles/、zenn/books/ から各カテゴリの代表的な記事を5〜10件選び、頻出する言い回しパターンを抽出してください。「導入部の表現」「説明の表現」「注意点の表現」「避けるべき表現」に分類し、.claude/skills/tone_guidelines/wordings.md に出力してください。

Format of the generated wordings.md file

markdown
# 言い回し集

## 1. 導入部の表現

### 記事の目的を述べる

**推奨パターン**
今回は『**〇〇**』についてまとめていきます。

## 2. 説明の表現

### 定義を述べる

**推奨パターン**
〇〇とは、△△するための仕組みです。

## 11. 避けるべき表現一覧

| 避けるべき表現 | 推奨表現 |
|--------------|---------|
| 〜である | 〜です |
| **パラメータ**: | パラメータとして、〜 |

Step 6: Customize the Introduction and Conclusion

Edit tone_guidelines/intro_outro.md to configure your social links and author biography. Prepare templates for each platform so they are automatically applied when creating articles.

Template structure of intro_outro.md

markdown
# Intro/Outro Templates (CUSTOM - Replace with your own)

このファイルには固定の「はじめに」と「最後に」のテンプレートを定義しています。
プレースホルダーを自分の情報に置き換えてください。

## プレースホルダー

- `{platform_1}`, `{platform_2}`: 使用するプラットフォーム名
- `{your_sns_links}`: あなたのSNSリンクや自己紹介

---

## 1. {platform_1}用

### はじめに

```markdown
## はじめに

{your_sns_links}

今回は「**〇〇**」についてまとめていきます。
```

### 最後に

```markdown
## 最後に

今回は「**〇〇**」についてまとめてきました。

{your_sns_links}
```

---

## 2. {platform_2}用

### はじめに

```markdown
## はじめに

{your_sns_links}

今回は「**〇〇**」についてまとめていきます。
```

### 最後に

```markdown
## 最後に

今回は「**〇〇**」についてまとめてきました。

{your_sns_links}
```

---

## 使い方

1. `{platform_1}`, `{platform_2}` を使用するプラットフォーム名に置き換える
2. `{your_sns_links}` を自分のSNSリンクや自己紹介に置き換える
3. 「**〇〇**」の部分は記事作成時にテーマに置き換えられる
4. プラットフォームごとにリンク先が異なる場合は、それぞれ設定する

You can freely increase or decrease the number of platforms. I use three: Qiita, Zenn Article, and Zenn Book.

Step 7: Verify Operation

Use the article-writer agent to verify that the created Skills work correctly.

text
article-writer agentを使用して、〇〇について簡単な記事を書いてください。

Verification checklist

  • Does analysis follow the examples.md format?
  • Are articles created using the structure in templates/?
  • Are the expressions in wordings.md used?
  • Do the Introduction and Conclusion follow your templates?

After verifying operation, customize the files as necessary by editing them directly or asking Claude Code to add the desired content.

Final Directory Structure

After completing all steps, the directory structure looks like this.

text
.claude/
├── agents/
│   ├── article-analyzer.md         # テンプレート
│   └── article-writer.md           # テンプレート
└── skills/
    ├── analysis_framework/
    │   ├── skill.md                # テンプレート
    │   └── examples.md             # Step 4で作成
    ├── article_templates/
    │   ├── skill.md                # テンプレート
    │   └── templates/              # Step 4で作成
    │       ├── qiita/
    │       ├── zenn-article/
    │       └── zenn-book/
    └── tone_guidelines/
        ├── skill.md                # テンプレート
        ├── intro_outro.md          # Step 6でカスタマイズ
        └── wordings.md             # Step 5で作成

Usage and Examples

Pattern A Example (Document-based)

text
article-writer agentを使用して、EASについてZenn記事を書いてください。ドキュメントはこちらです。https://docs.attest.org/

The agent retrieves documentation through WebFetch and supplements it with background information using WebSearch. It selects the platform and category using article_templates and writes according to the tone_guidelines style rules.

Pattern B Example (Reference-based)

text
article-writer agentを使用して、React Server ComponentsについてQiita記事を書いてください。参考記事: https://example.com/article1 https://example.com/article2

The agent retrieves each article with WebFetch, then analyzes the articles using analysis_framework to extract commonalities and differences. After selecting a template using article_templates, it writes according to tone_guidelines.

Pattern C Example (Code-based)

text
article-writer agentを使用して、OpenZeppelinのERC20実装について解説記事を書いてください。https://github.com/OpenZeppelin/openzeppelin-contracts

The agent retrieves the repository structure through GitHub MCP and analyzes the code with Kiri MCP. After selecting a template using article_templates, it writes according to tone_guidelines.

Conclusion

This article covered my system for analyzing past articles and automating article creation with Claude Code Skills and subagents. I also publish articles elsewhere if you would like to explore them.