Intuitive Refactorのロゴ

Intuitive Refactor

コミュニティ
MiaoDX
intuitive-refactor

Execute a selected cleanup seam after its target and scope are known; use reduce-entropy for discovery.

概要

公開者MiaoDX
リポジトリintuitive-flow
スキル名intuitive-refactor
スター
48
フォーク
3
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Intuitive Refactor

Use $intuitive-refactor to make selected cleanup canonical: delete stale surfaces, merge duplicate concepts, move behavior to the right owner, update callers/tests/docs, and prove the behavior still holds.

This is a compact runtime router for mutation work. $intuitive-reduce-entropy owns unknown-target discovery and cleanup candidate ranking; return here only after the user names a target or selects a candidate packet.

Route

NeedRead
Route selection, scope gate, severity guide, evidence ladderMode router
Repeated cleanup, oversized modules, stale surfaces, deletion/owner-move ratchetsRatchet mode
Long-running ratchet overlay, active capsule, selected-slice loop, or repo-wide maintenance goalRatchet campaign and durable run
Diff-scoped reuse/quality/efficiency review after implementationChanged code review
Detailed workflow, templates, command naming, persistent-state examplesDetailed guidance

If multiple routes match, load the narrowest reference first and add the next one only when the work crosses that boundary.

Operating Rule

Start from a target and a stop condition, not from "make it cleaner."

  • Known seam/module/API/stale surface: gate or execute a bounded refactor slice.
  • Unknown repo-wide cleanup or deletion/merge discovery: route to $intuitive-reduce-entropy first. Use its selected-candidate packet as this skill's discovery source.
  • Repeated cleanup or "keep going": run ratchet route, add the campaign overlay only for long-lived/resumed work, execute only selected clear P1/P2 slices, and park uncertain decisions.
  • Periodic whole-repo architecture maintenance: add the campaign overlay's repo-wide maintenance goal loop, alternate fresh reduce-entropy handoffs with execution of every clear queue item, and stop only after saturation deduplicates parked and low-value registries.
  • Changed-code cleanup: stay diff-scoped; report findings first and fix only when authorized by the user or approved flow.

Prefer the organized future at HEAD over compatibility shims. Preserve compatibility only when an external contract, artifact reader, or explicit migration requirement makes it necessary.

For every slice, prefer concept reduction over code motion:

  1. Delete stale or unreachable surfaces.
  2. Merge duplicate concepts, wrappers, registries, fixtures, or owners.
  3. Move behavior to an existing canonical owner and update callers.
  4. Create a new owner only when the architecture lacks a true home.
  5. Extract helpers only around a named ownership boundary.

Reject slices that only make a file smaller, add vague modules, preserve stale aliases indefinitely, or lack focused proof.

Slice Loop

Run one vertical slice at a time, naming the route only when another owner could plausibly fit:

  1. Orient from the smallest context that can prove the target and owner.
  2. Classify findings as P0, P1, P2, or Parked.
  3. Record the architecture claim and expected value metrics in the gate.
  4. Update code, callers, tests, docs, and stale surfaces together.
  5. Verify with the smallest sufficient evidence ladder.
  6. Checkpoint what changed, what stayed parked, and what proof passed. With the campaign overlay, commit verified implementation slices by default; the detailed skip rules live in ratchet campaign.

Stop when the accepted checklist is complete and remaining candidates are parked, polish, public-contract migrations, or design decisions. With the campaign overlay, stop only after the selected-slice or repo-wide maintenance saturation rule in ratchet campaign is met.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Intuitive Refactor」では何ができますか?

Execute a selected cleanup seam after its target and scope are known; use reduce-entropy for discovery.

TypingMindでIntuitive Refactorを使うメリットは何ですか?

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

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

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

Intuitive Refactorを使えるAIモデルはどれですか?

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

Intuitive Refactorは何個のAIモデルで使えますか?

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

AIスキル「Intuitive Refactor」は無料ですか?

はい。MiaoDXがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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