LogoClawIndex
CasesSkillsAbout
LogoClawIndex

format-preserving-edits - Preserve layout and minimize diffs when editing files

Modify specific entries in configuration files while preserving layout, comments, and key order.

Tags

Updated: 2026-09-22

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Detect file layout conventions
  • Clone existing structural blocks
  • Perform text level edits
  • Verify semantic and diff changes

Inputs

  • Existing configuration and data files
  • Target keys and values
  • Skill directory scripts

Outputs

  • Modified configuration and data files
  • Format and semantic verification results
  • Git diff line statistics

Requirements

  • Python 3 runtime environment
  • Git version control system

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
config-editing
format-preserving
diff-optimization
json
yaml
Detect file layout conventions
Clone existing structural blocks
Perform text level edits
Verify semantic and diff changes
Existing configuration and data files
Target keys and values
Skill directory scripts
Modified configuration and data files
Format and semantic verification results
Git diff line statistics