Intuitive Refactor logo

Intuitive Refactor

Community
MiaoDX
intuitive-refactor

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

Overview

PublisherMiaoDX
Repositoryintuitive-flow
Skill nameintuitive-refactor
Stars
48
Forks
3
Bundled files
5
LicenseMIT
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.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Intuitive Refactor 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/MiaoDX/intuitive-flow/tree/main/skills/intuitive-refactor
  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/MiaoDX/intuitive-flow.git /tmp/intuitive-flow
mkdir -p .claude/skills
cp -r /tmp/intuitive-flow/skills/intuitive-refactor .claude/skills/intuitive-refactor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Intuitive Refactor 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 Intuitive Refactor 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 Intuitive Refactor 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.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Intuitive Refactor AI skill do?

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

Why use Intuitive Refactor on TypingMind?

Because you install it once and use it with any model. Intuitive Refactor 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 Intuitive Refactor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MiaoDX/intuitive-flow/tree/main/skills/intuitive-refactor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Intuitive Refactor?

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 Intuitive Refactor?

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

Is the Intuitive Refactor AI skill free?

Yes. It is published on GitHub by MiaoDX under the MIT license. 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 👇