Agent skill

Sc Review And Refactor

by kylesnowschwartz in kylesnowschwartz/SimpleClaude

Routes review and refactoring work to a named technique. An agent skill from kylesnowschwartz/SimpleClaude.

No licenceAuto-check passedDevelopment

Install Sc Review And Refactor

skills CLI
$ npx skills add kylesnowschwartz/SimpleClaude --skill sc-review-and-refactor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kylesnowschwartz/SimpleClaude sc-review-and-refactor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kylesnowschwartz/SimpleClaude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/sc-extras/skills/sc-review-and-refactor .claude/skills/sc-review-and-refactor && rm -rf skills-src

Use ~/.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/

Facts

Skill name
sc-review-and-refactor
GitHub stars
114
Token cost
~1.3k tokens
SKILL.md length
604 words
Files
16 (incl. scripts, references)
Skills in repo
12
Repo updated
First seen
Licence
None found

At a glance

Routes review and refactoring work to a named technique. An agent skill from kylesnowschwartz/SimpleClaude.

  • Works in 4 steps: Match the request to one row. When two… → Read only the reference for that row.… → Follow its numbered steps in order.… → …
  • Asks to refactor safely
  • SKILL.md covers Rules for every review, Routing, How to use a route and Scripts
  • Runs Ruby and Shell scripts from its folder

What it does

Sc Review And Refactor is an agent skill from kylesnowschwartz/SimpleClaude. Routes review and refactoring work to a named technique. This skill SHOULD be used when the user asks to "refactor safely", "refactor without changing behavior", "add characterization tests", "review the tests", "are these tests any good", "deep review", "is this finding real", "verify this review", "is it really done", "review this large PR", "did we build what the ticket asked", "find duplication", "does this bug exist elsewhere", "find dead code", "review the names", "why does this fail", "root-cause this"…

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including scripts and reference files (for example `references/characterization-tests.md`, `references/chunk-large-changes.md` and `references/dead-code.md`).

It sits in Development, covering Refactoring and Pull requests. The repository describes itself as: Practical minimalism for AI assisted programming with Claude Code.

When your agent uses it

  • Asks to refactor safely
  • Refactor without changing behavior
  • Add characterization tests
  • Review the tests

Example prompts

  • “refactor safely”
  • “refactor without changing behavior”
  • “add characterization tests”
  • “/sc-review-and-refactor”

Requirements

  • A Bash shell

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Match the request to one row. When two rows match, run the prerequisite first
  2. Read only the reference for that row. Each reference is complete on its own.
  3. Follow its numbered steps in order. Apply the rules above to every finding.
  4. Stop where the reference says to stop, and report in the shape it names.

What it can do on your machine

Read from SKILL.md and the folder at commit 5224fc7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 2 files in scripts/ (Ruby and Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sc Review And Refactor loads about 1.3k tokens when it runs, and up to ~8.5k if it reads all its reference files. Until then it costs about 190 tokens; SKILL.md has 604 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~190
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.5k

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 604 words (~1,280 tokens).

“This skill picks one technique for a review or refactoring task and sends you to its reference file. A general bug review of a diff goes to the built-in /code-review. This skill covers the work that /code-review does not: safe…”

— opening of SKILL.md by kylesnowschwartz
name
sc-review-and-refactor

Read the full SKILL.md on GitHub

Files

SKILL.md and 15 other files (scripts, references) in plugins/sc-extras/skills/sc-review-and-refactor of kylesnowschwartz/SimpleClaude.

  • SKILL.md
  • references/characterization-tests.md
  • references/chunk-large-changes.md
  • references/dead-code.md
  • references/divergent-clones.md
  • references/focused-passes.md
  • references/hypothesis-rca.md
  • references/mutation-test-review.md
  • references/naming-review.md
  • references/pr-review-threads.md
  • references/refactor-safely.md
  • references/refute-findings.md
  • references/requirements-trace.md
  • references/verify-claims.md
  • scripts/format-pr-tree.rb
  • scripts/get-pr-comments.sh

Open the folder on GitHubat commit 5224fc7

Compare with similar skills

Sc Review And Refactor 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.

Sc Review And Refactor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sc Review And Refactor this skillkylesnowschwartz/SimpleClaude114—~1.3kAutomated safety check: PassNone
Smell CheckZhen-Bo/smell-check240—~1.5kAutomated safety check: PassMIT
Code ChangesJanDeDobbeleer/oh-my-posh24k—~1.1kAutomated safety check: PassMIT
Coding Agentmastra-ai/mastra29k—~2.3kAutomated safety check: PassCustom licence
Code ReviewerYikai-Liao/symusic1891 repos~1.3kAutomated safety check: PassMIT
Typescript React ReviewerSuFxGIT/scoutarr115—~1.7kAutomated safety check: PassNone

Similar skills

  • Smell Check

    Zhen-Bo/smell-check

    Runs a smell-first audit on a user-chosen path set: measures structure metrics, applies a named size profile, and reports code smells and test smells with evidence strength.

    240 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Code Changes

    JanDeDobbeleer/oh-my-posh

    Workflow for any task that ends in code changes: issue analysis or triage, pull request review comments, features, bug fixes, refactors.

    24k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Reviewer

    Yikai-Liao/symusic

    Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then…

    189 GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed
  • Expert code reviewer for TypeScript + React 19 applications.

    115 GitHub stars~1.7k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Memtrace Change Impact Analysis

    syncable-dev/memtrace-public

    Compute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory constraints — and produce a risk-rated…

    489 GitHub stars~1.4k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from kylesnowschwartz/SimpleClaude

All 14 skills in this repo
  • Human Writing

    kylesnowschwartz/SimpleClaude

    MUST be used for any request to draft, write, compose, or reword text another person will read, including 'draft a message', 'draft a reply', 'draft a Slack message', 'write an email', 'draft a PR…

    114 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Sc Gemini Imagegen

    kylesnowschwartz/SimpleClaude

    Generate and edit images using the Gemini API (Nano Banana).

    114 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Sc Claude Md Improver

    kylesnowschwartz/SimpleClaude

    Audit and improve project memory files (CLAUDE.md, AGENTS.md, .claude.local.md) — assess against a quality rubric, then apply additions and removals.

    114 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Sc Hypothesize

    kylesnowschwartz/SimpleClaude

    A skill your agent uses when multiple plausible approaches must be generated, tested, and compared against constraints before the user chooses.

    114 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Sc Socratic

    kylesnowschwartz/SimpleClaude

    A skill your agent uses when the user is clarifying beliefs, assumptions, goals, or framing before committing to decision or plan.

    114 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Hud First

    kylesnowschwartz/SimpleClaude

    A skill your agent uses when designing AI features and the real opportunity may be perception support, not delegated conversational work.

    114 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Sc Review And Refactor

What does Sc Review And Refactor do?

Routes review and refactoring work to a named technique. An agent skill from kylesnowschwartz/SimpleClaude. Sc Review And Refactor is an agent skill from kylesnowschwartz/SimpleClaude. Routes review and refactoring work to a named technique.

When should I use Sc Review And Refactor?

Sc Review And Refactor fits situations like: asks to refactor safely; refactor without changing behavior; add characterization tests; review the tests.

How do I install Sc Review And Refactor in Claude Code?

Run `npx skills add kylesnowschwartz/SimpleClaude --skill sc-review-and-refactor -a claude-code`. Or copy the skill folder (plugins/sc-extras/skills/sc-review-and-refactor in kylesnowschwartz/SimpleClaude) into .claude/skills/sc-review-and-refactor in your project. Claude Code loads it when a task matches its description.

How do I install Sc Review And Refactor in Codex?

Run `npx skills add kylesnowschwartz/SimpleClaude --skill sc-review-and-refactor -a codex`. Or copy the skill folder (plugins/sc-extras/skills/sc-review-and-refactor in kylesnowschwartz/SimpleClaude) into .agents/skills/sc-review-and-refactor in your project. Codex loads it when a task matches its description.

Can I use Sc Review And Refactor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kylesnowschwartz/SimpleClaude --skill sc-review-and-refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sc-review-and-refactor, .gemini/skills/sc-review-and-refactor, .github/skills/sc-review-and-refactor and .opencode/skills/sc-review-and-refactor in your project.

What does Sc Review And Refactor need to run?

Going by SKILL.md and its folder, Sc Review And Refactor needs Ruby and a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Sc Review And Refactor access the network?

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.

Is Sc Review And Refactor safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Sc Review And Refactor use?

No licence was found for Sc Review And Refactor or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Sc Review And Refactor use?

About 1.3k tokens (SKILL.md is roughly 5.1k 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 7.2k tokens, read only when the agent opens those files.

What are the alternatives to Sc Review And Refactor?

Skills that share tags, products or a category with Sc Review And Refactor: Smell Check (Zhen-Bo/smell-check, 240 stars), Code Changes (JanDeDobbeleer/oh-my-posh, 24k stars), Coding Agent (mastra-ai/mastra, 29k stars) and Code Reviewer (Yikai-Liao/symusic, 189 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sc Review And Refactor?

kylesnowschwartz (a GitHub user) maintains it in kylesnowschwartz/SimpleClaude, which has 114 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 11, 2026.

Source: kylesnowschwartz/SimpleClaude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.