s-hiraoku/codex-harnesses · Archived

refactor-safely

Refactor code without behavior changes using small mechanical steps and verification.

First seen Jun 13, 2026

Installation

$ npx skills add s-hiraoku/codex-harnesses --skill refactor-safely

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from s-hiraoku/codex-harnesses · top by installs.

npx skills add s-hiraoku/codex-harnesses

Browse all from s-hiraoku/codex-harnesses

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 2
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents codex

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 712 B
  • docs SUMMARY.md 108 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

Refactor Safely

Use this workflow when improving structure without changing behavior.

Workflow

  1. Identify the current behavior and public interfaces.
  2. Avoid broad rewrites unless they are explicitly justified.
  3. Make small mechanical changes.
  4. Preserve public APIs, data formats, and user-visible behavior.
  5. Run tests after meaningful steps.
  6. Update docs only if structure, commands, or contributor guidance changes.

Final Report

Clearly state that behavior should be unchanged. Include changed files, verification run, and any areas that need extra review.