Skip to main content

edit

Replace an exact, unique string in an existing file. Use for targeted single-occurrence edits to files from the IPython kernel instead of rewriting the whole file.

소스 정보

저장소
CaseMark/prime-linc
최근 소스 활동
2026년 8월 5일 20:50
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
edit
description
Replace an exact, unique string in an existing file. Use for targeted single-occurrence edits to files from the IPython kernel instead of rewriting the whole file.
# Edit Make a targeted edit to an existing file by replacing one exact, unique occurrence of a string. `old_str` must appear exactly once in the file. Call directly from the kernel: await edit(path="pkg/file.py", old_str=old, new_str=new) Use exact old/new strings. If the text contains triple double quotes, use triple single-quoted variables (`old = '''...'''`) or build `old`/`new` from inspected file slices. Returns a short confirmation; raises if `old_str` is missing or matches more than once (widen the snippet to make it unique). Or from a shell cell: !edit --path pkg/file.py --old-str "..." --new-str "..."
GitHub에서 보기