splice
Skill2 starsChanged 14 days agoMITView on GitHub
Read exact Tree-sitter AST symbol spans across Py/TS/JS/Go/Rust/C or Markdown (`view`), apply zero-escaping atomic multi-file edits + auto-tests (`apply --stdin --test`), and run sub-25ms AST checks (`check --test`).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- stephenpadgett1/video-generatortheir own version, first seen Jan 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- stephenpadgett1/video-generator★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Splice — Tree-sitter AST Symbol Surgeon, Zero-Escaping Atomic Patcher & Auto-Test Gate
Eliminates redundant full-file re-reads, JSON-escaping boilerplate, CRLF/whitespace patch mismatches, silent 0-op bugs, broken syntax writes across Py/TS/JS/Go/Rust/C, and separate test-verification turns.
Cross-Shell Safe Usage (PowerShell & Bash)
# 1. Read exact classes, structs, impl methods, functions, or Markdown sections across 1+ files (Py, TS/JS, Go, Rust, C, MD)
ap splice view src/ledger.ts src/rates.ts --symbol Ledger.post --symbol splitFee
# 2a. Zero-Escaping Atomic Patch + Write Test + Run Test Suite in ONE Turn (PowerShell `@' ... '@ |`):
@'
@@ FILE: src/rates.ts
<<<
return Math.round(amount * rate);
===
const r = Math.round(amount * rate);
return Object.is(r, -0) ? 0 : r;
>>>
@@ SYMBOL: src/lib.rs :: Engine.commit
<<<
pub fn commit(&mut self, cents: i64) -> i64 {
self.total += cents;
self.total
}
>>>
@@ WRITE: tests/repro.test.ts
<<<
import test from "node:test";
import assert from "node:assert/strict";
>>>
'@ | ap splice apply --cwd . --stdin --test --rollback-on-test-fail
# 2b. POSIX bash/zsh equivalent (JSON `[...]` specs also remain 100% supported):
ap splice apply --cwd . --stdin --test <<'EOF'
@@ FILE: src/b.rs
<<<
old_line
===
new_line
>>>
EOF
# 3. Standalone sub-25ms UTF-8 + 6-language Tree-sitter AST + local-import + auto-test gate
ap splice check . --test
# 4. Tree-sitter AST-exact workspace symbol rename (ignores comments, strings & substrings; supports --dry-run & --rollback-on-test-fail)
ap splice rename oldSymbol newSymbol . --dry-run
ap splice rename oldSymbol newSymbol . --test --rollback-on-test-failDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

