care-refactoring
Use for behavior-preserving refactors that should improve clarity, reduce duplication, or improve developer experience without changing product behavior.
Skill by iKairoseki
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ikairoseki-care-refactoring
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/care-refactoring
What's inside
- Skill name
care-refactoring- Description
- Use for behavior-preserving refactors that should improve clarity, reduce duplication, or improve developer experience without changing product behavior.
- License
- MIT
- Instructions
- 55 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Care Refactoring Use this skill when the goal is to make code easier to work with while preserving behavior. Do not use it as permission for broad rewrites. ## Refactor Test Before changing code, answer these questions: - What behavior must stay identical? - What concrete pain does the refactor remove? - What files or modules are in scope? - What files are explicitly out of scope? - What test, snapshot, or smoke proves behavior did not move? If the benefit is vague, keep the change smaller. ## Workflow 1. Read the existing code path and local conventions. 2. Identify the smallest structural change that removes the real pain. 3. Add or run characterization coverage when behavior is not already protected. 4. Refactor in small steps, keeping public contracts stable. 5. Avoid mixing refactor with product behavior, copy, styling, or dependency changes. 6. Run targeted tests and any cheap type/lint/build gate. 7. Inspect the diff for accidental behavior changes, dead code, and widened API surface. ## Good Refactor Signals - duplicated logic is consolidated behind an existing local pattern; - names make existing behavior easier to read; - module boundaries get clearer without new abstractions for their own sake; - tests become simpler or more focused; - future feature work has fewer files to touch. ## Stop Conditions Stop or split the work when: - the refactor changes user-visible behavior; - the diff crosses unrelated ownership boundaries; - a new abstraction is harder to explain than the code it replaced; - tests are missing for risky behavior; - the change starts requiring new dependencies or architecture choices. ## Final Check Report: - what behavior was preserved; - what structure changed; - what checks were run; - any residual risk or follow-up that should not be hidden inside the refactor.
From iKairoseki/codex-agent-coordination, MIT.
More from iKairoseki/codex-agent-coordination
- 0.471score
loop-code-review
iKairoseki
Use for iterative independent review/fix loops on non-trivial code changes, especially runtime, security, data, deploy, or release work.
SkillCFreshness: CClaude Code +9 - 0.464score
refactor-dx
iKairoseki
Use for behavior-preserving refactors and developer-experience work.
SkillCFreshness: CClaude Code +9 - 0.464score
implementation-quality
iKairoseki
Use for focused implementation work in websites and applications.
SkillCFreshness: CClaude Code +9 - 0.464score
security-review
iKairoseki
Use for auth, privacy, APIs, dependencies, deploy, and data handling.
SkillCFreshness: CClaude Code +9 - 0.464score
frontend-design-quality
iKairoseki
Use for UI, UX, responsive layout, visual polish, and design systems.
SkillCFreshness: CClaude Code +9 - 0.461score
browser-qa
iKairoseki
Use for live UI verification in a browser.
SkillCFreshness: CClaude Code +9 - 0.461score
release-readiness
iKairoseki
Use before production release, publishing, or deployment.
SkillCFreshness: CClaude Code +9 - 0.461score
documentation-quality
iKairoseki
Use for README, runbooks, ADRs, docs, and handoff packets.
SkillCFreshness: CClaude Code +9 - 0.430score
test-strategy
iKairoseki
Use to select proportionate tests for a code change.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 9, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from iKairoseki
- 0.471score
loop-code-review
iKairoseki
Use for iterative independent review/fix loops on non-trivial code changes, especially runtime, security, data, deploy, or release work.
SkillCFreshness: CClaude Code +9 - 0.464score
refactor-dx
iKairoseki
Use for behavior-preserving refactors and developer-experience work.
SkillCFreshness: CClaude Code +9 - 0.464score
implementation-quality
iKairoseki
Use for focused implementation work in websites and applications.
SkillCFreshness: CClaude Code +9 - 0.464score
security-review
iKairoseki
Use for auth, privacy, APIs, dependencies, deploy, and data handling.
SkillCFreshness: CClaude Code +9 - 0.464score
frontend-design-quality
iKairoseki
Use for UI, UX, responsive layout, visual polish, and design systems.
SkillCFreshness: CClaude Code +9 - 0.461score
browser-qa
iKairoseki
Use for live UI verification in a browser.
SkillCFreshness: CClaude Code +9
Cite this page
care-refactoring skill. Agent Mart. https://agentmart.dev/skills/ikairoseki-care-refactoring (last updated 2026-10-24)