refactor SKILL.md skillA

refactor from gonimar/claude-web-studio is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gonimar/claude-web-studio/refactor@git:20260927.c816400

Pins git:20260927.c816400 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
gonimar/claude-web-studio
Path
skills/refactor/SKILL.md
Versions recorded
9
Latest version
git:20260927.c816400, committed Sep 27, 2026
First version recorded
Sep 26, 2026
Size
11,928 bytes
Repository stars
5
License
MIT

Refactors Go or PHP code without changing behaviour: dry-run plan by numbers (build, tests, coverage, dependency graph), stories via /create-stories, `--apply S-NNN` execution with characterisation tests first and one green step per commit; modes <package|namespace|file>, layout, tests, framework (PHP), or every applicable mode without an argument. Use for 'refactor this package', 'migrate the layout'.

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

# Refactor

Language, paths and names, gates, the documents-lane commit gate, the `Skill` tool, subagents, CI wait and the hand-off form: `docs/coordination-rules.md` § Skill conventions (every project loads it).

**Dry-run is the default and writes no code.** It delivers a plan in the chat and, on consent, a plan
document; stories come from `/create-stories` afterwards. Code changes happen only with `--apply S-NNN`
(a Ready story produced from a dry-run plan) on a `refactor/S-NNN-<slug>` branch:
- every file goes through `Task` to `<engineer>`; the parent writes no product code (§ Subagents);
- "May I write?" is an `AskUserQuestion` before the first write, and `touch .claude/.write-consent` follows the "write" answer (rule 7).

**Behaviour does not change in a refactoring.** A step that needs a new rule, a contract change or a
schema change is not a refactoring step: it is a `/impact` detour (rule 11) — in a dry-run it is listed
under "Out of scope — /impact" (Phase 4 step 3); during an apply it runs through the `Skill` tool
(`references/apply.md` Phase 5 step 5), the only other skill this one runs mid-flow.

Names used below:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gonimar/claude-web-studio/refactor@sha256:cebf527a43bbb8c3

The line at the top of this page pins the label git:20260927.c816400, 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_ixu537dm2jmkdyfr.svg)](https://markdownregistry.com/a/art_ixu537dm2jmkdyfr)

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

Versions

The registry has recorded 9 versions of this file, between Sep 26, 2026 and Sep 27, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20260927.c816400 latest2026-09-27 c816400 11,928 BA view · diff
git:20260927.d0194502026-09-27 d019450 11,872 BA view · diff
git:20260927.03d28c52026-09-27 03d28c5 12,205 BA view · diff
git:20260927.10b7c6c2026-09-27 10b7c6c 12,197 BA view · diff
git:20260926.947eac02026-09-26 947eac0 21,768 BA view · diff
git:20260926.0f1855d2026-09-26 0f1855d 21,637 BA view · diff
git:20260926.2662cfc2026-09-26 2662cfc 21,522 BA view · diff
git:20260926.dbae8f92026-09-26 dbae8f9 21,236 BA view · diff
git:20260926.e5742522026-09-26 e574252 20,499 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 (11928 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

gonimar/claude-web-studio · 5 stars · license MIT · pushed 2026-09-27 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_ixu537dm2jmkdyfr
GET https://markdownregistry.com/api/v1/resolve?ref=gonimar/claude-web-studio/refactor
GET https://markdownregistry.com/api/v1/blob/cebf527a43bbb8c3f0162c98d8dbe366990525d5a9d7ba331d0286c1b352e958

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 gonimar/claude-web-studio

CLAUDE.md CLAUDE.md file
gonimar/claude-web-studio · CLAUDE.md
git:20260927.56b0a9a · audit A · 5 stars
a11y-audit SKILL.md skill
gonimar/claude-web-studio · skills/a11y-audit/SKILL.md · Audits accessibility against WCAG 2.2 AA — axe-core via Playwright, Lighthouse a11y, a manual keyboard/screen-reader…
git:20260927.54cdcbc · audit A · 5 stars
adopt SKILL.md skill
gonimar/claude-web-studio · skills/adopt/SKILL.md · Brownfield onboarding — detects the real stack of an existing project (Go/PHP/Node, Angular/Vue/Nuxt, GraphQL/REST…
git:20260927.be1f3bd · audit A · 5 stars
api-contract SKILL.md skill
gonimar/claude-web-studio · skills/api-contract/SKILL.md · Designs the API contract before implementation — GraphQL SDL by default (types, Node/connections, inputs, mutations…
git:20260927.f32d805 · audit A · 5 stars
architecture-decision SKILL.md skill
gonimar/claude-web-studio · skills/architecture-decision/SKILL.md · Creates an Architecture Decision Record (context, ≥2 options with costs, decision, consequences, verification) or…
git:20260927.f32d805 · audit A · 5 stars
architecture-review SKILL.md skill
gonimar/claude-web-studio · skills/architecture-review/SKILL.md · Cross-checks ADRs, API contracts, data model, threat model and feature specs for consistency and feasibility, with…
git:20260927.d019450 · audit A · 5 stars
backlog SKILL.md skill
gonimar/claude-web-studio · skills/backlog/SKILL.md · Records an idea, wish or suggestion that nobody has decided to act on as one line in production/backlog.md and stops —…
git:20260927.c816400 · audit A · 5 stars
brainstorm SKILL.md skill
gonimar/claude-web-studio · skills/brainstorm/SKILL.md · Explores a product or web-game idea before specification — audience, problem, competitors, constraints…
git:20260927.f32d805 · audit A · 5 stars
changelog SKILL.md skill
gonimar/claude-web-studio · skills/changelog/SKILL.md · Generates or updates CHANGELOG.md from Conventional Commits since the last tag (Keep a Changelog format, SemVer bump…
git:20260927.f32d805 · audit A · 5 stars
code-review SKILL.md skill
gonimar/claude-web-studio · skills/code-review/SKILL.md · Reviews the branch's diff (`--diff`, the PR's changes) or given files for correctness, standards, ADR adherence, OWASP…
git:20260927.d019450 · audit A · 5 stars
collaboration-protocol SKILL.md skill
gonimar/claude-web-studio · skills/collaboration-protocol/SKILL.md · The collaboration protocol every Web Studio agent follows (context first, ask, options, draft before writing…
git:20260927.d082861 · audit A · 5 stars
create-stories SKILL.md skill
gonimar/claude-web-studio · skills/create-stories/SKILL.md · Slices a feature spec into implementable vertical-slice stories (contract → backend → frontend/game → tests) with…
git:20260927.d019450 · audit A · 5 stars

Every file in gonimar/claude-web-studio

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.