refactor-expert SKILL.md skillA

refactor-expert from nguyenthienthanh/aura-frog is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nguyenthienthanh/aura-frog/refactor-expert@git:20260515.6be9f59

Pins git:20260515.6be9f59 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nguyenthienthanh/aura-frog
Path
aura-frog/skills/refactor-expert/SKILL.md
Versions recorded
5
Latest version
git:20260515.6be9f59, committed May 15, 2026
First version recorded
Mar 25, 2026
Size
2,634 bytes
Repository stars
25
License
MIT

Guide safe, incremental refactoring that improves code quality without changing behavior.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

> **AI-consumed reference.** Optimized for Claude to read during execution.
> Human-readable explanation: see [docs/architecture/HIERARCHICAL_PLANNING.md](../../../docs/architecture/HIERARCHICAL_PLANNING.md)
> or [docs/getting-started/](../../../docs/getting-started/) depending on topic.

# Skill: Refactor Expert

Safe, incremental refactoring. Improve quality without changing behavior.

---

## Commands

| Command | Output |
|---------|--------|
| `refactor:analyze <file>` | `.claude/logs/refactors/{target}-analysis.md` |
| `refactor:plan <file>` | `.claude/logs/refactors/{target}-plan.md` |
| `refactor:docs <file>` | Analysis + Plan + Summary |
| `refactor:quick <file>` | Skip approvals |
| `refactor:performance <file>` | Performance-focused |
| `refactor:structure <file>` | Structure-focused |

---

## Decision

| Signal | Action |
|--------|--------|
| Code smell detected | Identify specific smell |
| Tests passing | Safe to refactor |
| No tests | Write tests FIRST |
| Large change | Break into small steps |

**Golden Rule:** Never refactor and add features simultaneously.

---

## Code Smells -> Refactoring

| Smell | Refactoring |
|-------|-------------|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nguyenthienthanh/aura-frog/refactor-expert@sha256:a6fcb07ffc9fd8b6

The line at the top of this page pins the label git:20260515.6be9f59, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wd3iz7aycnwijuh7.svg)](https://markdownregistry.com/a/art_wd3iz7aycnwijuh7)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 25, 2026 and May 15, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20260515.6be9f59 latest2026-05-15 6be9f59 2,634 BA view · diff
git:20260428.3e002772026-04-28 3e00277 2,343 BA view · diff
git:20260428.bdee3232026-04-28 bdee323 2,321 BA view · diff
git:20260410.d55a9ea2026-04-10 d55a9ea 1,840 BA view · diff
git:20260325.da398da2026-03-25 da398da 4,156 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2634 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nguyenthienthanh/aura-frog · 25 stars · license MIT · pushed 2026-10-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wd3iz7aycnwijuh7
GET https://markdownregistry.com/api/v1/resolve?ref=nguyenthienthanh/aura-frog/refactor-expert
GET https://markdownregistry.com/api/v1/blob/a6fcb07ffc9fd8b661ee481cd02ed07775e94a6a043fc68d37fd08eda63b2e6c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nguyenthienthanh/aura-frog

CLAUDE.md@aura-frog CLAUDE.md file
nguyenthienthanh/aura-frog · aura-frog/CLAUDE.md
git:20261001.e86bd63 · audit A · 25 stars
agent-detector SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/agent-detector/SKILL.md · CRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to…
git:20260812.7cc066c · audit A · 25 stars
api-designer SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/api-designer/SKILL.md · Designs RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and…
git:20260515.6be9f59 · audit A · 25 stars
bugfix-quick SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/bugfix-quick/SKILL.md · Fast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification…
git:20260515.6be9f59 · audit A · 25 stars
chain-of-verification SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/chain-of-verification/SKILL.md · Draft → generate verification questions → answer independently via tools → revise. Catches hallucinated facts in…
git:20260924.947d255 · audit A · 25 stars
code-reviewer SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/code-reviewer/SKILL.md · 8-aspect evidence-based code review/audit (security, correctness, compatibility, architecture, error handling, test…
git:20260924.947d255 · audit A · 25 stars
code-simplifier SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/code-simplifier/SKILL.md · Detect and simplify overly complex code. Apply KISS principle - less is more.
git:20260515.6be9f59 · audit A · 25 stars
conflict-detector SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/conflict-detector/SKILL.md · L1-L4 conflict detection between a proposed T4 task and pending-confirm sibling tasks. L1 (file overlap) + L2…
git:20260515.6be9f59 · audit A · 25 stars
deep-debugging SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/deep-debugging/SKILL.md · Systematic debugging protocol for bugs that resist quick fixes. Use bisection, hypothesis trees, and scientific method…
git:20260515.6be9f59 · audit A · 25 stars
design-expert SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/design-expert/SKILL.md · UI/UX design expertise — component design, design system selection, responsive layout. Includes auto-detection from…
git:20260717.c6df55c · audit A · 25 stars
design-tokens SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/design-tokens/SKILL.md · Generate a cohesive color-token system from ONE OKLCH brand hue — primary/secondary/background/foreground/muted/border…
git:20260717.c6df55c · audit A · 25 stars
design-vision-loop SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/design-vision-loop/SKILL.md · Vision feedback loop for UI — render the running UI, screenshot it across viewports + dark mode, run deterministic…
git:20260728.fc5e06b · audit A · 25 stars

Every file in nguyenthienthanh/aura-frog

Browse by kind, by grade A, or by owner.