miaodx/intuitive-flow/intuitive-refactor
Claude Code and agent skill by miaodx/intuitive-flow
- community
Checking that the SKILL.md file is still in the repository.
Execute a selected cleanup seam after its target and scope are known; use reduce-entropy for discovery.
Install
npx vskill@latest install miaodx/intuitive-flow/intuitive-refactorSKILL.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
| Need | Read | |
|---|---|---|
| Route selection, scope gate, severity guide, evidence ladder | Mode router | |
| Repeated cleanup, oversized modules, stale surfaces, deletion/owner-move ratchets | Ratchet mode | |
| Long-running ratchet overlay, active capsule, selected-slice loop, or repo-wide maintenance goal | Ratchet campaign and durable run | |
| Diff-scoped reuse/quality/efficiency review after implementation | Changed code review | |
| Detailed workflow, templates, command naming, persistent-state examples | Detailed 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:
- Delete stale or unreachable surfaces.
- Merge duplicate concepts, wrappers, registries, fixtures, or owners.
- Move behavior to an existing canonical owner and update callers.
- Create a new owner only when the architecture lacks a true home.
- 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:
- Orient from the smallest context that can prove the target and owner.
- Classify findings as P0, P1, P2, or Parked.
- Record the architecture claim and expected value metrics in the gate.
- Update code, callers, tests, docs, and stale surfaces together.
- Verify with the smallest sufficient evidence ladder.
- 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.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/intuitive-refactor/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 3
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/miaodx/intuitive-flow/intuitive-refactor)