Swiftui View Refactor
Dimillian/Skills
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage.
Systematic code refactoring guide with design patterns. An agent skill from revfactory/claude-code-harness.
$ npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/claude-code-harness refactoring-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/claude-code-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/experiments/results/case-003/harness/.claude/skills/refactoring-patterns .claude/skills/refactoring-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "refactoring-patterns" agent skill from https://github.com/revfactory/claude-code-harness/tree/main/experiments/results/case-003/harness/.claude/skills/refactoring-patterns into .claude/skills/refactoring-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/claude-code-harness/tree/main/experiments/results/case-003/harness/.claude/skills/refactoring-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/claude-code-harness refactoring-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/claude-code-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/experiments/results/case-003/harness/.claude/skills/refactoring-patterns .agents/skills/refactoring-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "refactoring-patterns" agent skill from https://github.com/revfactory/claude-code-harness/tree/main/experiments/results/case-003/harness/.claude/skills/refactoring-patterns into .agents/skills/refactoring-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/claude-code-harness refactoring-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/claude-code-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/experiments/results/case-003/harness/.claude/skills/refactoring-patterns .cursor/skills/refactoring-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "refactoring-patterns" agent skill from https://github.com/revfactory/claude-code-harness/tree/main/experiments/results/case-003/harness/.claude/skills/refactoring-patterns into .cursor/skills/refactoring-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/claude-code-harness.git --path experiments/results/case-003/harness/.claude/skills/refactoring-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/claude-code-harness refactoring-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/claude-code-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/experiments/results/case-003/harness/.claude/skills/refactoring-patterns .gemini/skills/refactoring-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "refactoring-patterns" agent skill from https://github.com/revfactory/claude-code-harness/tree/main/experiments/results/case-003/harness/.claude/skills/refactoring-patterns into .gemini/skills/refactoring-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/claude-code-harness refactoring-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/claude-code-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/experiments/results/case-003/harness/.claude/skills/refactoring-patterns .github/skills/refactoring-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "refactoring-patterns" agent skill from https://github.com/revfactory/claude-code-harness/tree/main/experiments/results/case-003/harness/.claude/skills/refactoring-patterns into .github/skills/refactoring-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/claude-code-harness refactoring-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/claude-code-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/experiments/results/case-003/harness/.claude/skills/refactoring-patterns .opencode/skills/refactoring-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "refactoring-patterns" agent skill from https://github.com/revfactory/claude-code-harness/tree/main/experiments/results/case-003/harness/.claude/skills/refactoring-patterns into .opencode/skills/refactoring-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
refactoring-patternsSystematic code refactoring guide with design patterns. An agent skill from revfactory/claude-code-harness.
Refactoring Patterns is an agent skill from revfactory/claude-code-harness. Systematic code refactoring guide with design patterns. Use when refactoring spaghetti code, applying Strategy pattern to conditional branches, extracting functions by SRP, or replacing magic numbers with named constants.
Its SKILL.md is about 240 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/patterns.md`).
It sits in Development, covering Refactoring and Design patterns.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 267005c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Refactoring Patterns loads about 244 tokens when it runs, and up to ~784 if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 124 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 124 words (~244 tokens).
SKILL.md and 1 other file (references) in experiments/results/case-003/harness/.claude/skills/refactoring-patterns of revfactory/claude-code-harness.
Open the folder on GitHubat commit 267005c
Refactoring Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Refactoring Patterns this skillrevfactory/claude-code-harness | 120 | — | ~244 | Automated safety check: Pass | None | |
| Swiftui View RefactorDimillian/Skills | 4k | 5 repos | ~2k | Automated safety check: Pass | MIT | |
| RTK Rust Design Patternsrtk-ai/rtk | 83k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Architecture PatternsKartikLabhshetwar/better-shot | 2.4k | 2 repos | ~1.4k | Automated safety check: Pass | Custom licence | |
| AST Visitor Pattern for Unionsprisma/orm | 48k | — | ~830 | Automated safety check: Pass | Apache-2.0 | |
| Solidramziddin/solid-skills | 606 | — | ~2.7k | Automated safety check: Pass | None |
Dimillian/Skills
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage.
rtk-ai/rtk
Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.
KartikLabhshetwar/better-shot
Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.
prisma/orm
Replaces a plain TypeScript union plus switch statements with frozen subclasses and a visitor interface when several places dispatch on the same variants.
ramziddin/solid-skills
A skill your agent uses when writing code, implementing features, refactoring, planning architecture, designing systems, reviewing code, or debugging.
harperreed/dotfiles
Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage.
revfactory/claude-code-harness
Event-driven microservice architecture patterns guide. An agent skill from revfactory/claude-code-harness.
revfactory/claude-code-harness
SQL query engine design and implementation guide. An agent skill from revfactory/claude-code-harness.
revfactory/claude-code-harness
Write accurate and complete library API documentation. An agent skill from revfactory/claude-code-harness.
revfactory/claude-code-harness
CRDT-based real-time collaborative text editor implementation guide.
revfactory/claude-code-harness
Express.js REST API design and implementation guide. An agent skill from revfactory/claude-code-harness.
revfactory/claude-code-harness
Programming language interpreter design and implementation guide.
Categories
Systematic code refactoring guide with design patterns. An agent skill from revfactory/claude-code-harness. Refactoring Patterns is an agent skill from revfactory/claude-code-harness. Systematic code refactoring guide with design patterns.
Refactoring Patterns fits situations like: refactoring spaghetti code; applying Strategy pattern to conditional branches; extracting functions by SRP; replacing magic numbers with named constants.
Run `npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a claude-code`. Or copy the skill folder (experiments/results/case-003/harness/.claude/skills/refactoring-patterns in revfactory/claude-code-harness) into .claude/skills/refactoring-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a codex`. Or copy the skill folder (experiments/results/case-003/harness/.claude/skills/refactoring-patterns in revfactory/claude-code-harness) into .agents/skills/refactoring-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/claude-code-harness --skill refactoring-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactoring-patterns, .gemini/skills/refactoring-patterns, .github/skills/refactoring-patterns and .opencode/skills/refactoring-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Refactoring Patterns is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
No licence was found for Refactoring Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 244 tokens (SKILL.md is roughly 976 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 540 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Refactoring Patterns: Swiftui View Refactor (Dimillian/Skills, 4k stars), RTK Rust Design Patterns (rtk-ai/rtk, 83k stars), Architecture Patterns (KartikLabhshetwar/better-shot, 2.4k stars) and AST Visitor Pattern for Unions (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/claude-code-harness, which has 120 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on March 6, 2026.
Source: revfactory/claude-code-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.