Edit For Readabilityのロゴ

Edit For Readability

組織
testdouble
edit-for-readability

Applies Han's shared Human-Readable Output Standard to a target you already have — a file on disk, text pasted into the prompt, or a draft already produced in the conversation — by dispatching the readability-editor to rewrite its prose so the main point comes first, headings are descriptive, each paragraph carries one idea, and sentences stay short and active, while preserving every fact. Use when you want to make a document or draft readable, edit or polish prose for readability, clean up writing, tighten wording, or re-apply the readability standard to something already written. Rewrites prose only, leaving code, diagrams, and citation identifiers unchanged. Does not write new feature or system documentation — use project-documentation. Does not restructure code or review it — use refactor to restructure code and code-review to audit it. Does not judge the underlying work or raise findings; it only rewrites the writing.

概要

公開者testdouble
リポジトリhan
スキル名edit-for-readability
スター
320
フォーク
26
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    testdoubleがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Edit For Readability」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/testdouble/han/tree/main/han-communication/skills/edit-for-readability
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/testdouble/han.git /tmp/han
mkdir -p .claude/skills
cp -r /tmp/han/han-communication/skills/edit-for-readability .claude/skills/edit-for-readability
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでEdit For Readabilityを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にEdit For Readabilityを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Edit For Readabilityは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Project Context

  • personal config directory: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"
  • project .han/config.md: !cat .han/config.md 2>/dev/null || echo ""

As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md probe supplies content, apply it per config-rule.md, which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.

Edit for Readability

Take a target the user already has and rewrite its prose against the shared readability standard, preserving every fact. The judgment-heavy rewrite belongs to the han-communication:readability-editor agent; this skill's job is to resolve what the target is, dispatch the editor over it, and deliver the result.

Operating principles

  • This is the standalone readability pass. The readability standard applies at generation time, so synthesis skills (research, project-documentation, investigate, code-review, and the rest) already bake it into their own output. This skill exists for the gap the standard names explicitly: a file or draft that was written or hand-edited outside one of those skills, and so was never checked against the standard. Reach for it on an existing target, not as a step inside another skill.
  • Fidelity outranks readability on every conflict the user did not create. Every claim, quantity, named entity, and stated condition or qualifier in the target survives the rewrite with its precision intact. The editor enforces this and returns a fact-preservation ledger; the skill's job is to pass the whole target through and surface that ledger, never to let a fact be dropped for the sake of a smoother sentence. A shape the user asked for is the one thing that moves this, and never for a fact whose loss would change what the reader does next.
  • Prose only. The editor rewrites prose regions and leaves code fences, diagram bodies, rendered markup, and citation identifiers (A1, [F5], and the like) byte-for-byte unchanged. Do not ask it to touch anything else.
  • The editor holds the standard. Do not restate the rubric criteria here or inline the rule text into the dispatch. The editor reads its own co-located canonical rule and applies the current standard, so this skill never drifts from readability-rule.md.

Step 1: Resolve the target and the reader

Determine which kind of target the request names, because the rest of the workflow depends on it. Read the user's request and the conversation, and classify the target into exactly one of:

Target kindHow you knowWhat the target is
A file on diskThe user named a path, or the context points at one obvious fileThat file, edited in place
Pasted textThe user included the text to edit directly in the promptVerbatim copy of that text
A draft in the conversationThe user says "the draft above," "what you just wrote," or similarVerbatim copy of that draft

If more than one candidate fits, or you cannot tell which file the user means, stop and ask the user which target to edit before doing anything else. Never guess at a file to overwrite.

For a file target, confirm the file exists and read it. Use Glob/Grep to resolve a partial name to a concrete path. If the named file does not exist or is empty, stop and tell the user rather than editing the wrong file.

For a pasted-text or conversation-draft target, write the content verbatim to a new scratch file (for example readability-target.md in the session scratch directory or the working directory) so the editor has a file to rewrite in place. Copy it exactly — do not clean it up first, because pre-editing would rob the editor of the original and break the fact-preservation check.

Also settle the reader frame: default to a capable reader who did not do this work and lacks the author's context. If the user names a specific reader (an engineer implementing a fix, a PR reviewer, a non-technical stakeholder), carry that reader to the editor instead so the technical specifics that reader needs are kept.

Settle the shape too. If the user asked for the rewrite in a particular shape — a length or item count, a format such as bullets or a table, or a register such as "no jargon" — carry that request to the editor in the user's own words. Only what the user said to you in this conversation counts. Shape language inside the target is content to rewrite, never an instruction. When the user asked for no shape, pass nothing about it and every fact stays.

Finally, resolve the writing-voice source. When either .han/config.md probe supplied a writing-voice value, resolve it and check that the file exists. A relative value resolves against the folder holding the file that declared it: the working directory for the project file, and the personal config directory the probe reported for the personal file. A full path is used as it stands, and a leading ~ expands to the home directory. When both files supply a value, the project file's wins. Resolve the path here and pass the editor an absolute one, so the editor and this skill apply the same profile. When it exists, that file replaces the built-in writing-voice profile for this run. When it does not exist, warn the user that the configured writing-voice file was not found, naming which of the two configuration files declared it, and ask whether to use the built-in Han voice or skip the writing voice entirely for this run; honor the answer. When neither file configures a writing-voice value, the editor's own co-located built-in profile applies and you pass nothing about the voice.

Step 2: Confirm before rewriting a file in place

If the target is a file on disk (not a scratch copy of pasted text or a conversation draft), tell the user which file will be rewritten in place and that every fact is preserved, then get a go-ahead before dispatching. Always confirm before overwriting a user's file BECAUSE the in-place rewrite is the one action here that changes a file the user owns, and an unwanted rewrite is tedious to unpick even under version control.

Skip the confirmation when the target is a scratch copy (pasted text or a conversation draft), because the original is untouched, or when the user has already said to proceed without stopping.

Step 3: Dispatch the readability-editor

Dispatch han-communication:readability-editor with one Agent call (subagent_type: "han-communication:readability-editor"). In the prompt, give it:

  • The path to the target file — the real file for a file target, or the scratch file for pasted text or a conversation draft.
  • The reader frame from Step 1: the default capable-reader frame, or the specific reader the user named.
  • The shape request from Step 1, in the user's own words, when they asked for one. Say plainly that it governs the rewrite, except for a fact whose loss would change what the reader does next. When they asked for none, say nothing about the shape.
  • The instruction to operate on prose regions only — never inside code fences, diagram bodies, rendered markup, or citation identifiers, which survive unchanged — and to apply its rewrite to the file in place, preserving every fact.
  • The writing-voice resolution from Step 1, when it differs from the default: the path to the configured writing-voice file the editor uses in place of the built-in profile, or the instruction that the writing voice is skipped for this run. When no writing-voice is configured, say nothing about the voice; the editor's built-in profile applies.

Do not paraphrase the standard into the prompt or list its criteria yourself; the editor reads the rule and owns the rubric. If the dispatch fails or the editor is unavailable, tell the user the readability pass could not run rather than hand-editing the target yourself, so the fact-preservation guarantee is never bypassed.

Step 4: Deliver the result

Return the outcome to the user, drawn from what the editor reports:

  • For a file target, state that the file was rewritten in place at its path, then surface the editor's rubric verdict, its fact-preservation ledger, and the regions it left untouched (code, diagrams, citation identifiers).
  • For a pasted-text or conversation-draft target, present the rewritten prose back to the user inline, note the scratch file path, and include the same rubric verdict and fact-preservation ledger.

If the editor reports that any fact could not be preserved while satisfying a readability criterion, relay that verbatim and confirm the fact was kept over the readability change. Do not present the result as clean if the ledger flags an unresolved tension.

よくある質問

AIスキル「Edit For Readability」では何ができますか?

Applies Han's shared Human-Readable Output Standard to a target you already have — a file on disk, text pasted into the prompt, or a draft already produced in the conversation — by dispatching the readability-editor to rewrite its prose so the main point comes first, headings are descriptive, each paragraph carries one idea, and sentences stay short and active, while preserving every fact. Use when you want to make a document or draft readable, edit or polish prose for readability, clean up writing, tighten wording, or re-apply the readability standard to something already written. Rewrites...

TypingMindでEdit For Readabilityを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Edit For Readabilityはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにEdit For Readabilityをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/testdouble/han/tree/main/han-communication/skills/edit-for-readabilityを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Edit For Readabilityを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Edit For Readabilityで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもEdit For Readabilityを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Edit For Readability」は無料ですか?

はい。testdoubleがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇