Skip to content
Skills Library
Programming · Automation

editing

/editing

Use before making changes to existing files. Routes to Julie's edit_file tool without a Read + Edit loop. Trigger on fix, change, update, modify, refactor, rename, replace, add, remove, move, or any task involving an existing file.

Repository
julie ↗
Licence
MIT
Last repository change
02.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 02.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use before making changes to existing files. Routes to Julie's edit_file tool without a Read + Edit loop. Trigger on fix, change, update, modify, refactor, rename, replace, add, remove, move, or any task involving an existing file.

Original author description

Use before making changes to existing files. Routes to Julie's edit_file tool without a Read + Edit loop. Trigger on fix, change, update, modify, refactor, rename, replace, add, remove, move, or any task involving an existing file.

How it works

  1. Which tool do I use?
  2. Stop and check
  3. Workflow
  4. Example: the cost of Read + Edit
Original SKILL.md headings · 54 lines, 361 words
SKILL.md preview
---
name: editing
description: >-
  Use before making changes to existing files. Routes to Julie's edit_file
  tool without a Read + Edit loop. Trigger on fix, change, update, modify,
  refactor, rename, replace, add, remove, move, or any task involving an
  existing file.
allowed-tools: mcp__julie__edit_file, mcp__julie__get_symbols, mcp__julie__deep_dive, mcp__julie__fast_search, mcp__julie__fast_refs
---

# Editing Files with Julie

Julie's edit tools change existing files without reading them first. This is
the default path for file modifications.

## Which tool do I use?

- **Creating a new file?** Use the Write tool. This skill doesn't apply.
- **Changing any text in a file?** Use `edit_file` with `old_text` and `new_text`.
- **Need to understand the file first?** Use `get_symbols` for structure or `deep_dive` for full context, then use `edit_file`. Not Read.

## Stop and check

If you catch yourself thinking any of these, you're about to waste tokens:

| Thought | What to do instead |
|---------|-------------------|
| "I need to read the file first" | No. `edit_file` uses DMP fuzzy matching on `old_text`. It does not need Read. |
| "It's a quick change" | `edit_file` handles that well. `edit_file(old_text=..., new_text=..., dry_run=true)` is the fast path. |
| "I'm not sure which symbol I need" | Use `fast_search`, `get_symbols`, or `deep_dive`, then use `edit_file`. Still no Read + Edit loop. |
| "This isn't a code file" | `edit_file` works on ANY text file: YAML, TOML, Markdown, .gitignore, configs, everything. |
| "The symbol edit is complex" | Use `dry_run=true` first. |

## Workflow

1. **Always preview first**: `dry_run=true` (the default). Review the diff.
2. **Then apply**: same call with `dry_run=false`.

If a file was only read with offset/limit pagination, treat the view as partial: re-read the whole file before overwriting, or narrow the patch until the match is unambiguous. See `references/partial-read-patch-pitfall.md`.

### edit_file (for any text)

- `old_text`: text to find (DMP fuzzy matched)
- `new_text`: replacement text
- `occurrence`: `"first"` (default), `"last"`, or `"all"`

## Example: the cost of Read + Edit

Changing a version number in Cargo.toml:

**Read + Edit pattern (5 calls, ~800 tokens):**
1. Edit -- fails ("File has not been read yet")
2. Read Cargo.toml -- waste
3. Grep for the version line -- unnecessary
4. Read again with offset -- more waste
5. Edit -- finally works

**edit_file pattern (2 calls, ~200 tokens):**
1. `edit_file(file_path="Cargo.toml", old_text='version = "6.6.2"', new_text='version = "6.6.3"', dry_run=true)` -- preview
2. Same call with `dry_run=false` -- done

4x fewer tokens. 3 fewer round trips.
Files in this package (2)
  • SKILL.md 3 KB
  • references/partial-read-patch-pitfall.md 1 KB

Versions

RepositoryScoreLicence
This page · anortham/julie100MIT
nimadorostkar/Claude-Skills-collection100MIT
tshah-95/vean100AGPL-3.0
melvynx/video-agent-skills86MIT

Database snapshot: 13.11.2026 · package version 4bcc0b6c30fd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100corezoid-edit
    Corezoid process editing specialist. Use when the user wants to modify, update, or fix an existing Corezoid process, add or remove nodes, change node behavior, add an API call, fix an error, or update process logic. Activate when the user says "edit a process", "modify",…
  • 100web-research
    Fetch web pages and index them locally for token-efficient research. Use when you need to read documentation, articles, or any web content. Fetches via browser39, saves as markdown, indexes via Julie's filewatcher, then uses Julie tools for selective reading. Requires browser39…
  • 100dead-code-audit
    Use when auditing Julie for dead code, test-only code paths, stale helpers, graph gaps, or cleanup candidates before deleting, privatizing, or simplifying code.
  • 100refactor
    Refactor existing code with impact analysis first. Routes to tech-lead for blast-radius assessment, then engineers, with heavy emphasis on test coverage. Use when restructuring code with no intended behavior change. Trigger this when someone says: refactor this, clean up this…
  • 86literate-programming
    CRITICAL: ALWAYS activate this skill BEFORE making ANY changes to .nw files. Use proactively when: (1) creating, editing, reviewing, or improving any .nw file, (2) planning to add/modify functionality in files with .nw extension, (3) user asks about literate quality, (4) user…
  • 90refactor-safely
    Refactor code without changing what it does (rename, extract, split files, remove duplication, simplify). Use when the user says "clean this up", "refactor", "split this file", "simplify this function", "rename X everywhere", or "remove this duplication".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.