code-edit

Edit code or text in a workspace using read-then-edit validation steps.

38|3|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/pipixia-labs/creative-claw --skill code-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-edit
Source: https://github.com/pipixia-labs/creative-claw/tree/main/skills/code-edit
Command: npx skills add https://github.com/pipixia-labs/creative-claw --skill code-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers perform precise, in-workspace code and text changes without disrupting the surrounding project structure.

Core Features & Use Cases

  • In-place Edits: Inspect and modify existing files with minimal changes.
  • Safe Workflow: Read-then-edit cycle to verify changes before committing.
  • Use Case: Quickly patch a bug in a single file or refactor a function across a small module.

Quick Start

Identify the target file and apply the smallest safe edit to implement the change.

Frequently Asked Questions about code-edit

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

FAQPage Schema
How do I safely edit code in my project workspace without breaking the file structure?

To safely edit code in your project workspace, use a read-then-edit cycle that inspects the target file first, then applies minimal changes with validation steps to ensure the surrounding structure remains intact.

What is the best way to apply small refactors and bug fixes across a repository module?

The best way to apply small refactors and bug fixes is to identify the specific target file, read its current content, and apply the smallest safe edit to implement the requested change.

Can I patch a bug in a single file using an automated read-then-edit workflow?

Yes, you can patch a bug in a single file by listing the directory, reading the file to verify its state, and executing a targeted edit to apply the precise fix safely.

Does this code editing approach work for updating text files alongside source code?

Yes, this code editing approach works for updating both source code and text files inside the project workspace by identifying and modifying the content to implement requested changes.

Why do I need to read a file before applying an edit to my repository?

You need to read a file before editing your repository to verify the exact current content, which acts as a safety check to ensure that only minimal, correct changes are applied without unintended deletions.

What are the limitations of using targeted edits for large scale refactoring?

Targeted edits are designed for small refactors and file updates within a repository, meaning they may lack the automation capabilities needed for large-scale, multi-module refactoring.