refactorer SKILL.md skillA

refactorer from hex/claude-council is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add hex/claude-council/refactorer@git:20260925.093f32a

Pins git:20260925.093f32a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
hex/claude-council
Path
mods/council-pane/specialists/refactorer/SKILL.md
Versions recorded
1
Latest version
git:20260925.093f32a, committed Sep 25, 2026
Size
3,933 bytes
Repository stars
892
License
MIT

A behaviour-preserving restructure is named: extract, rename, move, split a module, or remove duplication across three or more sites.

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

# Refactorer

Restructure code without changing what it does. The result should be
simpler to read, with one way to do each thing and no leftover paths.

## Scope the change

1. Restate the target shape in one or two sentences: what moves where, what
   gets a new name, what gets merged.
2. Read the project's own instructions (AGENTS.md, CONTRIBUTING, lint and
   format config) and match the existing style, even where you would choose
   differently.
3. List every site the change touches: definitions, call sites, imports,
   re-exports, config keys, docs, tests, and string references such as
   reflection, routing tables or serialized names. Search broadly, then read
   each hit. A textual match is only a candidate.
4. Decide what counts as observable behaviour here: public API, CLI output,
   file formats, wire formats, error messages, log lines other tools parse.
   Those must not change. If the requested refactor would change one, stop
   and report it.

## Baseline

- Run the tests that cover the touched code before editing. Record the
  command and result.
- If tests already fail, record which ones and do not treat them as caused by
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hex/claude-council/refactorer@sha256:5280570feecbc29b

The line at the top of this page pins the label git:20260925.093f32a, 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_eqke7b27niadlf2g.svg)](https://markdownregistry.com/a/art_eqke7b27niadlf2g)

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

Versions

The registry has recorded 1 version of this file, committed on Sep 25, 2026.

versioncommittedcommitsizeaudit
git:20260925.093f32a latest2026-09-25 093f32a 3,933 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 (3933 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

hex/claude-council · 892 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_eqke7b27niadlf2g
GET https://markdownregistry.com/api/v1/resolve?ref=hex/claude-council/refactorer
GET https://markdownregistry.com/api/v1/blob/5280570feecbc29bfea3b6f9cd421880e7f7a96cc418ee8d4859c39c055b02f1

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 hex/claude-council

DESIGN.md@mods/council-pane DESIGN.md file
hex/claude-council · mods/council-pane/DESIGN.md
git:20261009.562fe4c · audit A · 892 stars
bug-fixer SKILL.md skill
hex/claude-council · mods/council-pane/specialists/bug-fixer/SKILL.md · A bug reproduces, the expected behaviour is clear, and the fix stands apart from the current work.
git:20260925.093f32a · audit A · 892 stars
ci-fixer SKILL.md skill
hex/claude-council · mods/council-pane/specialists/ci-fixer/SKILL.md · A CI job fails on a named revision and the fix belongs in code, config or tests, not in the CI provider.
git:20260925.093f32a · audit A · 892 stars
docs-updater SKILL.md skill
hex/claude-council · mods/council-pane/specialists/docs-updater/SKILL.md · Docs must be updated or restructured to match code that already changed: README, reference pages, CLI help or config…
git:20260925.093f32a · audit A · 892 stars
test-pruner SKILL.md skill
hex/claude-council · mods/council-pane/specialists/test-pruner/SKILL.md · Tests in a named area duplicate stronger tests, re-assert the implementation, or keep test-only seams alive, and need…
git:20260925.093f32a · audit A · 892 stars
test-writer SKILL.md skill
hex/claude-council · mods/council-pane/specialists/test-writer/SKILL.md · The task is to add or extend tests for existing behaviour that has a spec, a documented contract, or a confirmed…
git:20260925.093f32a · audit A · 892 stars
council-execution SKILL.md skill
hex/claude-council · skills/council-execution/SKILL.md · Executes council queries by running the query pipeline across selected AI providers (Gemini, OpenAI, Grok, Perplexity)…
git:20261001.67edf6d · audit A · 892 stars
deep-execution SKILL.md skill
hex/claude-council · skills/deep-execution/SKILL.md · Executes agent-enhanced council queries as one Workflow of parallel Claude analyst agents that each query a provider…
git:20260901.5014067 · audit A · 892 stars
local-council-execution SKILL.md skill
hex/claude-council · skills/local-council-execution/SKILL.md · Runs a local council when no external AI providers are configured. Spawns N independent Claude subagents (one per role…
git:20260616.e613527 · audit A · 892 stars
provider-integration SKILL.md skill
hex/claude-council · skills/provider-integration/SKILL.md · Adds new AI providers to claude-council, configures provider API settings, troubleshoots provider connections, and…
git:20261018.9aa258b · audit A · 892 stars

Every file in hex/claude-council

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