Agent skill · practicalswan
file-edit-in-place
Use when the user names a local file and explicitly asks to clean, rewrite, humanize, or remove AI-writing patterns in that file itself, with minimal targeted edits and post-edit verification.
What it needs
About 4k tokens when loaded.
What this skill does
File Edit In Place Edit a named file according to the original ../avoid-ai-writing/SKILL.md edit mode. For cross-Skill work, follow ../avoid-ai-writing-router/references/handoff-contract.md and ../avoid-ai-writing-router/references/skill-graph.json. Connection contract Incoming Accept mutation work from: avoid-ai-writing-router via ROUTE when a named file and explicit mutation request are present. ai-writing-detector via FEED only when the user requested a named-file fix after an audit. preservation-verifier via bounded REPAIR when the named file failed a preservation check. A detector result never authorizes a write by itself. User mutation intent must already be explicit. Required handoff state Before mutation, preserve: source file reference, relevant original content or before snapshot, requested scope, context mode and voice constraints, protected semantic constraints, detector evidence when already available, representation-sensitive guard state when applicable. Set executionevidence.mutation: executed only after a real host write/patch succeeds. Outgoing VERIFY to preservation-verifier after a successful edit when before/after material is available. Return to the router if the user changes from named-file mutation to returned-text rewriting. Return to the router for consequential authorship interpretation rather than answering it locally. Senior-developer implementation lens Apply the agency-senior-developer lens encoded in ../avoid-ai-writing-router/references/agency-role-lenses.md: read before writing, use the narrowest available edit or patch mechanism, retain a before snapshot for verification, propagate write failures instead of reporting success, re-read the changed region, keep mutation and verification evidence distinct. Do not claim a file was edited because a patch was merely proposed. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills practicalswan/file-edit-in-place