Rewrite logo

Rewrite

Community
rainday
rewrite

Smart Blog 改寫。優化改寫現有部落格文章,先分析品質再針對性改善。 保留作者語氣,補充過時數據,Humanizer 反 AI 修正,YouTube 影片補充。 Use when user says "rewrite blog", "改寫文章", "優化文章", "blog rewrite", "smart-blog rewrite", "update blog".

Overview

Publisherrainday
Repositorysmart-blog-skills
Skill namerewrite
Stars
34
Forks
3
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by rainday on GitHub. Read the source before you install it.

Installation

Install the Rewrite AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/rainday/smart-blog-skills/tree/main/skills/rewrite
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rainday/smart-blog-skills.git /tmp/smart-blog-skills
mkdir -p .claude/skills
cp -r /tmp/smart-blog-skills/skills/rewrite .claude/skills/rewrite
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rewrite in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Rewrite on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Rewrite is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Blog Rewrite — 文章優化改寫

工作流程

Phase 1:分析現況

  1. 讀取原文
  2. 執行 analyze 的分析邏輯,取得目前分數
  3. 識別最嚴重的問題(優先處理 🔴 致命 → 🟡 高 → 🟠 中)
  4. 呈現分析結果給使用者,確認改寫方向

Phase 2:保留清單

識別並保留原文中的優點:

  • 作者獨特的語氣和風格
  • 已經寫得好的段落
  • 原創數據和個人經驗
  • 現有的內部/外部連結
  • 品牌相關的特定用語

Phase 2b:YouTube 影片審計

  1. 檢查原文是否已有 YouTube 嵌入
  2. 如果有:驗證影片 URL 是否仍可存取(用 WebFetch 測試)
  3. 如果無或影片已失效:在 Phase 3 研究時一併搜尋 2-3 個相關影片
  4. 讀取 skills/blog/references/video-embeds.md 的嵌入標準

Phase 3:研究補充

如果原文有以下問題,需要補充研究:

  • 統計數據過時(>12 個月)
  • 統計數據不足(<8 個)
  • 缺少圖片
  • 缺少圖表數據
  • 缺少 YouTube 影片嵌入(或現有影片已失效)

研究前先檢查 cache:

  1. 計算 slug(從原文 frontmatter 的 title 或檔案名稱推導)
  2. 檢查 docs/research/{slug}/meta.md 是否存在
  3. 如果 cache 存在且 stats 未過期 → 直接使用 cache 資料,跳過 agent 呼叫
  4. 如果 cache 存在但 stats 已過期 → 生成 researcher agent,傳入 slug,只更新過期部分
  5. 如果 cache 不存在 → 生成 researcher agent,傳入 slug,完整研究

生成 smart-blog-skills:blog-researcher agent(Agent tool)補充研究。

反幻覺規則同 write 流程。

Phase 4:改寫

讀取 skills/blog/references/content-rules.md,針對問題清單逐項修改:

結構修正
  • 修正標題層級跳級
  • 加入缺少的 TL;DR 區塊
  • 加入缺少的 FAQ 段落
  • 調整過長的段落
內容優化
  • 將 H2 開頭改為 Answer-First 格式
  • 補充新的統計數據(來自研究報告)
  • 加入原創性標記
  • 加入內部連結 placeholder
反 AI 偵測修正(Humanizer 29 模式)
  • 讀取 skills/blog/references/humanizer-patterns.md
  • 掃描 29 個 AI 寫作模式,逐一修正
  • 重點:誇大重要性(#1)、表面-ing分析(#3)、AI高頻詞(#7)、填充短語(#23)
  • 替換 AI 觸發詞
  • 增加句長變化
  • 加入修辭問句
  • 加入口語化表達
  • 注入個性:加入觀點、承認不確定性、第一人稱
  • 執行反 AI 審稿二次修正
Frontmatter 更新
  • 更新 lastUpdated 為今天日期
  • 如缺少 description,補充 150-160 字元
  • 如缺少 coverImage,標記 [待補充:封面圖]

Phase 4b:品質關卡(BLOCKING)

生成 smart-blog-skills:blog-reviewer agent(Agent tool),傳入改寫後的完整文章。

關卡規則(同 write 流程):

條件行動
總分 ≥ 90 AND 零 P0 問題通過 → 進入 Phase 5 交付
總分 < 90 OR 任何 P0 問題封鎖 → 傳回問題清單,在搜尋預算內進行修正

最多重試 2 次。2 次後仍未通過 → 交付但標示分數和未解決問題。


Phase 5:交付

markdown
## 改寫完成:[標題]

### 分數變化
| 類別 | 改寫前 | 改寫後 | 變化 |
|------|--------|--------|------|
| 內容品質 | [N]/30 | [N]/30 | +[N] |
| SEO 優化 | [N]/25 | [N]/25 | +[N] |
| E-E-A-T | [N]/15 | [N]/15 | +[N] |
| 技術元素 | [N]/15 | [N]/15 | +[N] |
| AI 引用 | [N]/15 | [N]/15 | +[N] |
| **總分** | **[N]/100** | **[N]/100** | **+[N]** |

### 主要變更
- [列出主要修改項目]

### 新增數據
- [N] 筆新統計(✅ [V] / ⚠️ [S])

### 品質關卡結果
- 最終評分:[N]/100([等級])
- P0 問題:[無 / 已修正 N 個]
- AI Slop Detection:[PASS / PASS after N retries]

### 需要使用者處理
- [ ] 確認語氣是否保持一致
- [ ] 確認 [S] 標記的數據
- [ ] 替換 [內部連結] placeholder

更新模式

當使用者說 /blog rewrite <file> --update 或 /blog update <file>:

  • 專注在新鮮度更新(數據更新、日期更新)
  • 保留 70%+ 的原文
  • 只替換過時的統計數據
  • 更新 frontmatter 的 lastUpdated

Frequently asked questions

What does the Rewrite AI skill do?

Smart Blog 改寫。優化改寫現有部落格文章,先分析品質再針對性改善。 保留作者語氣,補充過時數據,Humanizer 反 AI 修正,YouTube 影片補充。 Use when user says "rewrite blog", "改寫文章", "優化文章", "blog rewrite", "smart-blog rewrite", "update blog".

Why use Rewrite on TypingMind?

Because you install it once and use it with any model. Rewrite is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Rewrite in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/rainday/smart-blog-skills/tree/main/skills/rewrite. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Rewrite?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Rewrite?

As many as you like. As long as a model supports skills, you can use Rewrite with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Rewrite AI skill free?

It is published on GitHub by rainday. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇