Agent skill

Refactor Simple

by greenfield-inc in greenfield-inc/Pane

Read-only code quality analysis of the branch against the remote default branch for small to medium changes - classifies the diff, derives conventions from the target repo, and writes a refactor…

Custom licenceAuto-check passedDevelopment

Install Refactor Simple

skills CLI
$ npx skills add greenfield-inc/Pane --skill refactor-simple -a claude-code

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

GitHub CLI
$ gh skill install greenfield-inc/Pane refactor-simple --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/greenfield-inc/Pane.git skills-src && mkdir -p .claude/skills && cp -r skills-src/main/src/services/paneChatBundle/skills/refactor-simple .claude/skills/refactor-simple && 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
refactor-simple
GitHub stars
519
Token cost
~2.2k tokens
SKILL.md length
916 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
Custom licence

At a glance

Read-only code quality analysis of the branch against the remote default branch for small to medium changes - classifies the diff, derives conventions from the target repo, and writes a refactor…

  • Works in 5 steps: Classify Changes → Learn the Repository's Conventions → Analyze Files → …
  • Tasks that involve Refactoring
  • SKILL.md covers What This Does, When to Use, Process and Command Arguments, plus 1 more section
  • Calls git

What it does

Refactor Simple is an agent skill from greenfield-inc/Pane. Read-only code quality analysis of the branch against the remote default branch for small to medium changes - classifies the diff, derives conventions from the target repo, and writes a refactor plan to ./tmp/. Usually run by the refactor orchestrator; use directly for a quick pre-PR check on 2-10 files.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Refactoring and Code quality. The repository describes itself as: Terminal-first, open-source AI agent manager for any CLI agent (agent agnostic), any OS (mac, windows, linux). The Open-Source Agentic Development Environment for running…

When your agent uses it

  • Tasks that involve Refactoring
  • Tasks that involve Code quality

Example prompts

  • “/refactor-simple”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Classify Changes
  2. Learn the Repository's Conventions
  3. Analyze Files
  4. Generate Report
  5. Show Next Steps

What it can do on your machine

Read from SKILL.md and the folder at commit b08541d. 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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Refactor Simple loads about 2.2k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 916 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

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); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 916 words (~2,161 tokens).

“Read-only code quality analysis for small to medium changes.”

— opening of SKILL.md by greenfield-inc, Custom licence
name
refactor-simple

Read the full SKILL.md on GitHub

Files

Just SKILL.md in main/src/services/paneChatBundle/skills/refactor-simple of greenfield-inc/Pane.

Open the folder on GitHubat commit b08541d

Compare with similar skills

Refactor Simple 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.

Refactor Simple compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Refactor Simple this skillgreenfield-inc/Pane519—~2.2kAutomated safety check: PassCustom licence
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Ponytail Lazy Developer ModeDietrichGebert/ponytail158k—~871Automated safety check: PassMIT
Dignified Python Standardsdocling-project/docling69k—~1.5kAutomated safety check: PassApache-2.0
Clean Code GuardamElnagdy/guard-skills1.3k2 repos~4.3kAutomated safety check: PassMIT
Code Refactoring Workflowluongnv89/claude-howto42k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    158k GitHub stars~871 tokensUpdated today
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Clean Code Guard

    amElnagdy/guard-skills

    Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.

    1.3k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Code Refactoring Workflow

    luongnv89/claude-howto

    Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.

    42k GitHub stars~3.1k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • A code-change gate for the iPolloWork repository: search and reuse first, keep one source of truth, justify every new file or dependency, and audit the change.

    6.8k GitHub stars~2.7k tokensUpdated today
    DevelopmentAuto-check passed

More from greenfield-inc/Pane

All 35 skills in this repo
  • Page

    greenfield-inc/Pane

    House standard for any HTML page written for a person. An agent skill from greenfield-inc/Pane.

    519 GitHub stars~759 tokensUpdated today
    Auto-check passed
  • Session Trace

    greenfield-inc/Pane

    Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened.

    519 GitHub stars~836 tokensUpdated today
    Auto-check passed
  • Discussion

    greenfield-inc/Pane

    Have an interactive discussion about a topic, approach, feature, or bug without making code changes.

    519 GitHub stars~666 tokensUpdated today
    Auto-check passed
  • Excalidraw PR Diagrams

    greenfield-inc/Pane

    Create Excalidraw diagram JSON files and PR visual overviews that make visual arguments.

    519 GitHub stars~9.4k tokensUpdated today
    Auto-check passed
  • HTML Explainer

    greenfield-inc/Pane

    The house standard for any skill that renders an HTML page for a person to read, covering design tokens, typography, components, diagrams, and quality gates so every generated page shares one calm…

    519 GitHub stars~1.6k tokensUpdated today
    Auto-check: notes
  • Pane Work

    greenfield-inc/Pane

    Answer questions about the user's own work in Pane, read-only.

    519 GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Categories

Questions about Refactor Simple

What does Refactor Simple do?

Read-only code quality analysis of the branch against the remote default branch for small to medium changes - classifies the diff, derives conventions from the target repo, and writes a refactor…. Refactor Simple is an agent skill from greenfield-inc/Pane./tmp/.

When should I use Refactor Simple?

Refactor Simple fits situations like: tasks that involve Refactoring; tasks that involve Code quality.

How do I install Refactor Simple in Claude Code?

Run `npx skills add greenfield-inc/Pane --skill refactor-simple -a claude-code`. Or copy the skill folder (main/src/services/paneChatBundle/skills/refactor-simple in greenfield-inc/Pane) into .claude/skills/refactor-simple in your project. Claude Code loads it when a task matches its description.

How do I install Refactor Simple in Codex?

Run `npx skills add greenfield-inc/Pane --skill refactor-simple -a codex`. Or copy the skill folder (main/src/services/paneChatBundle/skills/refactor-simple in greenfield-inc/Pane) into .agents/skills/refactor-simple in your project. Codex loads it when a task matches its description.

Can I use Refactor Simple 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 greenfield-inc/Pane --skill refactor-simple -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactor-simple, .gemini/skills/refactor-simple, .github/skills/refactor-simple and .opencode/skills/refactor-simple in your project.

What does Refactor Simple need to run?

Going by SKILL.md and its folder, Refactor Simple needs the command-line tools its instructions call (git).

Does Refactor Simple access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Refactor Simple 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. Review the folder before installing.

What licence does Refactor Simple use?

Refactor Simple has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Refactor Simple use?

About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Refactor Simple?

Skills that share tags, products or a category with Refactor Simple: Systematic Code Refactoring (luongnv89/claude-howto, 42k stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 158k stars), Dignified Python Standards (docling-project/docling, 69k stars) and Clean Code Guard (amElnagdy/guard-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Refactor Simple?

greenfield-inc (a GitHub organization) maintains it in greenfield-inc/Pane, which has 519 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 7, 2026.

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