chisel

Edit file contents with sd replacements or exact Edit tool changes.

2|Updated Sep 12, 2016
One-click install
npx skills add https://github.com/paulnsorensen/dotfiles --skill chisel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chisel
Source: https://github.com/paulnsorensen/dotfiles/tree/main/claude/skills/chisel
Command: npx skills add https://github.com/paulnsorensen/dotfiles --skill chisel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Edit file contents precisely using sd (Rust-based replacement) or the native Edit tool.

Core Features & Use Cases

  • sd for multi-file pattern replacements
  • Edit for exact, context-bound single-file edits
  • Default to sd; use Edit when precision is required

Quick Start

Use chisel to perform precise file edits by preferring sd for regex-based replacements and Edit for exact, context-bound changes.

Frequently Asked Questions about chisel

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

FAQPage Schema
How do I perform precise in-file edits across multiple files?

To perform precise multi-file edits, use sd for regex-based pattern replacements. Chisel defaults to sd for broad changes and supports a safety-first workflow with previews before applying updates.

When should I use native Edit over sd for code editing?

Use native Edit for single-file code editing when surrounding context must be matched exactly. sd is preferred for multi-file pattern replacements, but Edit provides strict precision for localized changes.

Can I preview multi-file changes before applying regex replacements?

Yes, you can preview multi-file changes. Chisel supports a safety-first workflow that provides previews for pattern replacements before they are committed across your files.

What is the best way to match exact surrounding context in a single file edit?

The best way to match exact context is using the native Edit tool. It targets a single file and ensures surrounding context is matched exactly for precise, context-bound modifications.

Do I need sd installed to use chisel for file edits?

Yes, sd is required for multi-file pattern replacements. Chisel uses sd as the default Rust-based replacement tool, while falling back to native Edit for exact single-file modifications.