Merge Master
keybase/client
A skill your agent uses when periodically merging upstream master commits into a long-running refactor branch where code has moved, been renamed, or restructured — guiding careful per-commit…
Migrates a command class that still performs parsing or custom execution logic to return raw Git::CommandLine::Result, moving parsing to facade/parser layers.
$ npx skills add ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ruby-git/ruby-git refactor-command-to-commandlineresult --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/ruby-git/ruby-git.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/refactor-command-to-commandlineresult .claude/skills/refactor-command-to-commandlineresult && 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 "refactor-command-to-commandlineresult" agent skill from https://github.com/ruby-git/ruby-git/tree/main/.github/skills/refactor-command-to-commandlineresult into .claude/skills/refactor-command-to-commandlineresult/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-command-to-commandlineresult", 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/ruby-git/ruby-git/tree/main/.github/skills/refactor-command-to-commandlineresultType 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 ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ruby-git/ruby-git refactor-command-to-commandlineresult --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruby-git/ruby-git.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/refactor-command-to-commandlineresult .agents/skills/refactor-command-to-commandlineresult && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "refactor-command-to-commandlineresult" agent skill from https://github.com/ruby-git/ruby-git/tree/main/.github/skills/refactor-command-to-commandlineresult into .agents/skills/refactor-command-to-commandlineresult/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-command-to-commandlineresult", 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 ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ruby-git/ruby-git refactor-command-to-commandlineresult --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruby-git/ruby-git.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/refactor-command-to-commandlineresult .cursor/skills/refactor-command-to-commandlineresult && 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 "refactor-command-to-commandlineresult" agent skill from https://github.com/ruby-git/ruby-git/tree/main/.github/skills/refactor-command-to-commandlineresult into .cursor/skills/refactor-command-to-commandlineresult/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-command-to-commandlineresult", 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/ruby-git/ruby-git.git --path .github/skills/refactor-command-to-commandlineresult--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 ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ruby-git/ruby-git refactor-command-to-commandlineresult --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruby-git/ruby-git.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/refactor-command-to-commandlineresult .gemini/skills/refactor-command-to-commandlineresult && 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 "refactor-command-to-commandlineresult" agent skill from https://github.com/ruby-git/ruby-git/tree/main/.github/skills/refactor-command-to-commandlineresult into .gemini/skills/refactor-command-to-commandlineresult/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-command-to-commandlineresult", 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 ruby-git/ruby-git refactor-command-to-commandlineresultInstalls 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 ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ruby-git/ruby-git.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/refactor-command-to-commandlineresult .github/skills/refactor-command-to-commandlineresult && 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 "refactor-command-to-commandlineresult" agent skill from https://github.com/ruby-git/ruby-git/tree/main/.github/skills/refactor-command-to-commandlineresult into .github/skills/refactor-command-to-commandlineresult/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-command-to-commandlineresult", 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 ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ruby-git/ruby-git refactor-command-to-commandlineresult --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruby-git/ruby-git.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/refactor-command-to-commandlineresult .opencode/skills/refactor-command-to-commandlineresult && 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 "refactor-command-to-commandlineresult" agent skill from https://github.com/ruby-git/ruby-git/tree/main/.github/skills/refactor-command-to-commandlineresult into .opencode/skills/refactor-command-to-commandlineresult/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-command-to-commandlineresult", 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.
refactor-command-to-commandlineresultMigrates a command class that still performs parsing or custom execution logic to return raw Git::CommandLine::Result, moving parsing to facade/parser layers.
Refactor Command To Commandlineresult is an agent skill from ruby-git/ruby-git. Migrates a command class that still performs parsing or custom execution logic to return raw Git::CommandLine::Result, moving parsing to facade/parser layers. Use during architectural redesign refactoring.
Its SKILL.md is about 1.3k 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 Git workflow. It works with Git. The repository describes itself as: Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f3bf20f. 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.
Shell commands in SKILL.md call:
bundlegitFrom the folder's file list and the shell code blocks in SKILL.md.
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.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Refactor Command To Commandlineresult loads about 1.3k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 470 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.
The full file from ruby-git/ruby-git at commit f3bf20f, republished under its MIT licence (© ruby-git). 470 words, ~1,260 tokens.
.claude/skills/refactor-command-to-commandlineresult/SKILL.md (or your agent's skills folder).Migrate a command that still performs parsing or custom execution logic to the
Git::Commands::Base pattern, so command classes return raw
Git::CommandLine::Result and parsing moves to facade/parser layers.
Attach this file to your Copilot Chat context, then invoke it with the command class or source file to migrate. Examples:
Using the Refactor Command to CommandLineResult skill, migrate
Git::Commands::Stash::Pop to the Base pattern.Refactor Command to CommandLineResult: lib/git/commands/branch/delete.rbThe invocation needs the command class name or file path of the command to refactor.
Before starting, you MUST load the following skill(s) in their entirety:
Git::Repository::* return-value contractsclass SomeCommand < Git::Commands::Base
arguments do
...
end
# optional for non-zero successful exits
# rationale comment
# allow_exit_status 0..1
# @!method call(*, **)
#
# @overload call(**options)
#
# Execute the git ... command.
#
# @return [Git::CommandLine::Result]
endARGS constant + custom initialize with arguments do +
inheritance from Base.#call body and add # @!method call(*, **) YARD directive.allow_exit_status with
rationale comment.Git::CommandLine::Result and parse result.stdout where
needed.literal entries for policy/output-control flags (e.g. literal '--no-edit',
literal '--verbose', literal '--no-progress', literal '--no-color') —
command classes are neutral, faithful representations of the git CLI; convert to
flag_option / value_option so the facade can pass the policy value. See
"Command-layer neutrality" in CONTRIBUTING.md.raise_on_failure / manual exit-code checks (unless temporarily needed in
an unmigrated class)Git::CommandLine::Result behaviorraise_on_failure: false in mocked command expectations@return to Git::CommandLine::Result@overload docs nested under # @!method call(*, **) directive@raise wording reflects allowed range behavior#) between the
short description and each continuation paragraphSee Command Implementation for the canonical phased rollout checklist and internal compatibility contract. In summary:
main;
create a branch before starting (git checkout -b <feature-branch-name>) and
open a pull request when the slice is readybundle exec rspec, bundle exec rake test,
bundle exec rubocop, bundle exec rake yard© ruby-git, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/refactor-command-to-commandlineresult of ruby-git/ruby-git.
Open the folder on GitHubat commit f3bf20f
Refactor Command To Commandlineresult 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 |
|---|---|---|---|---|---|---|
| Refactor Command To Commandlineresult this skillruby-git/ruby-git | 1.8k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Merge Masterkeybase/client | 9.3k | — | ~1.3k | Automated safety check: Pass | BSD-3-Clause | |
| Docs Update from DiffQwenLM/qwen-code | 28k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Nemo Rl Auto ResearchNVIDIA/skills | 3.5k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Change Boottikalk/adlc-team-skills | 141 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Semantic Szz Analyzermajiayu000/claude-skill-registry | 666 | 1 repos | ~1.4k | Automated safety check: Pass | MIT |
keybase/client
A skill your agent uses when periodically merging upstream master commits into a long-running refactor branch where code has moved, been renamed, or restructured — guiding careful per-commit…
QwenLM/qwen-code
Reads local git changes and updates only the matching docs pages, so documentation stays in sync with uncommitted or recent code changes.
NVIDIA/skills
Autonomous NeMo-RL research agent workflow for directed hypothesis testing and open-ended discovery.
tikalk/adlc-team-skills
A skill your agent uses when past-change rationale matters (refactoring unfamiliar code, revert or hotfix analysis, issue-linked commit archaeology, session authors git changes with human-authored…
majiayu000/claude-skill-registry
Identify bug-introducing commits using semantic analysis that extends traditional SZZ algorithm.
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
ruby-git/ruby-git
Addresses unresolved pull request review threads and suppressed (low-confidence) Copilot review comments on the current branch, folds each fix into the…
ruby-git/ruby-git
Assesses what an API change would break before it is made, finds every usage, documents the impact and plans a deprecation or migration path.
ruby-git/ruby-git
Diagnoses and fixes failing GitHub Actions runs by identifying the failure, fetching only the relevant logs, finding the root cause and reproducing it locally.
ruby-git/ruby-git
Scaffolds and reviews `Git::Commands::*` classes in the ruby-git library, with unit tests, integration tests and YARD docs, using the Base command architecture.
ruby-git/ruby-git
Workflow for updating gem dependencies and fixing CVEs in the ruby-git project: assess with bundle outdated and audit, edit the gemspec, test, then commit with conventional messages.
ruby-git/ruby-git
Migrates a direct command call in Ruby Git's Git::Lib to a Git::Commands class, as part of a Strangler Fig redesign, with a plan, legacy tests and a pull request.
Works with
Categories
Migrates a command class that still performs parsing or custom execution logic to return raw Git::CommandLine::Result, moving parsing to facade/parser layers. Refactor Command To Commandlineresult is an agent skill from ruby-git/ruby-git. Migrates a command class that still performs parsing or custom execution logic to return raw Git::CommandLine::Result, moving parsing to facade/parser layers.
Refactor Command To Commandlineresult fits situations like: tasks that involve Refactoring; tasks that involve Git workflow.
Run `npx skills add ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a claude-code`. Or copy the skill folder (.github/skills/refactor-command-to-commandlineresult in ruby-git/ruby-git) into .claude/skills/refactor-command-to-commandlineresult in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ruby-git/ruby-git --skill refactor-command-to-commandlineresult -a codex`. Or copy the skill folder (.github/skills/refactor-command-to-commandlineresult in ruby-git/ruby-git) into .agents/skills/refactor-command-to-commandlineresult 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 ruby-git/ruby-git --skill refactor-command-to-commandlineresult -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-command-to-commandlineresult, .gemini/skills/refactor-command-to-commandlineresult, .github/skills/refactor-command-to-commandlineresult and .opencode/skills/refactor-command-to-commandlineresult in your project.
Going by SKILL.md and its folder, Refactor Command To Commandlineresult needs the command-line tools its instructions call (bundle and git).
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.
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.
Refactor Command To Commandlineresult is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Refactor Command To Commandlineresult: Merge Master (keybase/client, 9.3k stars), Docs Update from Diff (QwenLM/qwen-code, 28k stars), Nemo Rl Auto Research (NVIDIA/skills, 3.5k stars) and Change Boot (tikalk/adlc-team-skills, 141 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ruby-git (a GitHub organization) maintains it in ruby-git/ruby-git, which has 1,799 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 2, 2026.
Source: ruby-git/ruby-git on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.