refactor SKILL.md skillA

refactor from anantys-oss/koan is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add anantys-oss/koan/refactor@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
anantys-oss/koan
Path
koan/skills/core/refactor/SKILL.md
Versions recorded
4
Latest version
v1.0.0, committed Mar 29, 2026
First version recorded
Feb 11, 2026
Size
422 bytes
Repository stars
47
License
GPL-3.0

Queue a refactoring mission (ex: /refactor https://github.com/owner/repo/pull/42).

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.

How to install

The exact contents, by fingerprint
mdr add anantys-oss/koan/refactor@sha256:8ac8951dfd2c491c

The line at the top of this page pins the label v1.0.0, 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_nkr3vwgf3e74grrc.svg)](https://markdownregistry.com/a/art_nkr3vwgf3e74grrc)

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

Versions

The registry has recorded 4 versions of this file, between Feb 11, 2026 and Mar 29, 2026, about one every 15 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-03-29 f4173bd 422 BA view · diff
v1.0.02026-03-17 5156bfe 407 BA view · diff
v1.0.02026-03-11 bc9d3c7 380 BA view · diff
v1.0.02026-02-11 2d8a4f1 368 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 (422 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

anantys-oss/koan · 47 stars · license GPL-3.0 · pushed 2026-10-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nkr3vwgf3e74grrc
GET https://markdownregistry.com/api/v1/resolve?ref=anantys-oss/koan/refactor
GET https://markdownregistry.com/api/v1/blob/8ac8951dfd2c491c6a041474256f4e3504b1f2f885152b908bd5f9983e52cdaf

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 anantys-oss/koan

brain SKILL.md skill
anantys-oss/koan · .claude/skills/brain/SKILL.md · Consult, capture, and acquire knowledge in koan's OKF-conformant docs/ and specs/ bundles. Use for /brain ask…
git:20260710.efa0208 · audit A · 47 stars
speckit-agent-context-update SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-agent-context-update/SKILL.md · Refresh the managed Spec Kit section in coding agent context file(s)
git:20260710.a96f814 · audit A · 47 stars
speckit-analyze SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-analyze/SKILL.md · Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after…
git:20260710.a96f814 · audit A · 47 stars
speckit-checklist SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-checklist/SKILL.md · Generate a custom checklist for the current feature based on user requirements.
git:20260710.a96f814 · audit A · 47 stars
speckit-clarify SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-clarify/SKILL.md · Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and…
git:20260710.a96f814 · audit A · 47 stars
speckit-constitution SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-constitution/SKILL.md · Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent…
git:20260710.a96f814 · audit A · 47 stars
speckit-converge SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-converge/SKILL.md · Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new…
git:20260710.a96f814 · audit A · 47 stars
speckit-implement SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-implement/SKILL.md · Execute the implementation plan by processing and executing all tasks defined in tasks.md
git:20260710.a96f814 · audit A · 47 stars
speckit-plan SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-plan/SKILL.md · Execute the implementation planning workflow using the plan template to generate design artifacts.
git:20260710.a96f814 · audit A · 47 stars
speckit-specify SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-specify/SKILL.md · Create or update the feature specification from a natural language feature description.
git:20260710.a96f814 · audit A · 47 stars
speckit-tasks SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-tasks/SKILL.md · Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.
git:20260710.a96f814 · audit A · 47 stars
speckit-taskstoissues SKILL.md skill
anantys-oss/koan · .claude/skills/speckit-taskstoissues/SKILL.md · Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design…
git:20260710.a96f814 · audit A · 47 stars

Every file in anantys-oss/koan

Other files named refactor

refactor SKILL.md skill
code-yeongyu/oh-my-openagent · packages/shared-skills/skills/refactor/SKILL.md · Guides a refactor, cleanup, or restructure with the right decomposition. Use when the user asks to refactor, simplify…
git:20260929.9a41ccb · audit A · 70,277 stars
refactor SKILL.md skill
codeaholicguy/ai-devkit · skills/refactor/SKILL.md · AI DevKit · Systematic structural or multi-file refactors across any stack while preserving behavior and public…
git:20260826.c1f5930 · audit A · 1,648 stars
refactor SKILL.md skill
sethgammon/citadel · skills/refactor/SKILL.md · Safe multi-file refactoring with automatic rollback. Establishes a type/test baseline, plans all changes, executes…
git:20260611.0f3f8e7 · audit A · 925 stars
refactor SKILL.md skill
dcouple/pane · main/src/services/paneChatBundle/skills/refactor/SKILL.md · Post-PR refactor pass. Sizes the diff against the remote default branch, fans out refactor-simple (and refactor-deep on…
git:20260924.c3bd4b5 · audit A · 577 stars
refactor SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/refactor/SKILL.md · Post-PR refactor pass. Sizes the diff against the remote default branch, fans out refactor-simple (and refactor-deep on…
git:20260924.c3bd4b5 · audit A · 575 stars
refactor SKILL.md skill
boshu2/agentops · skills/refactor/SKILL.md · Restructure or clean up code with no behavior change, proved by before-and-after checks. Use when: asked to clean up…
git:20261005.4fda294 · audit A · 450 stars
refactor SKILL.md skill
boshu2/agentops · plugin/skills/refactor/SKILL.md · Restructure or clean up code with no behavior change, proved by before-and-after checks. Use when: asked to clean up…
git:20261010.407c70b · audit A · 450 stars
refactor SKILL.md skill
testdouble/han · han-coding/skills/refactor/SKILL.md · Restructure existing code without changing its behavior, through a test-gated refactoring loop: a named target, a green…
git:20260915.ec2cb7c · audit A · 319 stars

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