sword

Remove the smallest necessary code or text surface via precise local edits.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Hmbown/mmbnchips --skill sword
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sword
Source: https://github.com/Hmbown/mmbnchips/tree/main/generated/codex/sword
Command: npx skills add https://github.com/Hmbown/mmbnchips --skill sword

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove the smallest surface of code or text necessary to fix an issue by precise, local edits.

Core Features & Use Cases

  • Precise local edits and cuts to fix issues near the codebase.
  • Crisp local refactors over broad rewrites.
  • Validate surrounding behavior remains intact after the patch.

Quick Start

Use Sword to perform a precise local cut that fixes the issue with the smallest necessary change.

Frequently Asked Questions about sword

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a local code refactor instead of a broad rewrite?

A local code refactor removes the smallest surface of code necessary to fix an issue by applying precise local edits. It inspects the exact surface before cutting and verifies surrounding behavior remains intact.

What is precise patch delivery for code cleanup?

Precise patch delivery for code cleanup provides a local deletion or simplification patch that cuts to the root of an issue. It follows guardrails to avoid edits when the target code is poorly understood.

When should I use local edits over broad rewrites to fix an issue?

You should use local edits when you are close to the codebase and prefer crisp local refactors over broad rewrites. This approach ensures the smallest necessary change is applied to fix the issue.

How do I verify surrounding behavior remains intact after a local edit?

To verify surrounding behavior remains intact after a local edit, the patch delivery process includes validation steps. This ensures the precise cut fixes the issue without disrupting the rest of the codebase.

What are the limitations of using local edits for code refactoring?

A key limitation of local edits is the guardrail against applying changes when the target code or document is poorly understood. If the issue requires a broad rewrite, precise cuts may be insufficient.