com um clique
reread-files-before-editing
// Ensure files are re-read before editing to avoid overwriting user changes. Use only when explicitly encouraged to by user.
// Ensure files are re-read before editing to avoid overwriting user changes. Use only when explicitly encouraged to by user.
Apple-authored SwiftUI and platform guidance extracted from Xcode. Helps AI agents write idiomatic, Apple-native SwiftUI with reduced hallucinations.
Apple-authored SwiftUI and platform guidance extracted from Xcode. Helps AI agents write idiomatic, Apple-native SwiftUI with reduced hallucinations.
Enforce Bare-style builtin imports and package-local import maps for Holepunch, Pear, Autobonk, Bare runtime, and other dual-runtime JavaScript work. Use when editing code that may run under Bare or a repo that already uses package.json "imports" for bare polyfills. Prefer plain builtin specifiers like "fs", "path", "crypto", "url", "http", and "https" instead of "node:*", and update the nearest package.json import map and dependencies when a new builtin is introduced.
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library. Use when the user asks to render a Mermaid diagram.
Write git commit messages. Use when asked to commit, write a commit message, or stage and commit changes.
Read web pages as markdown with `npx defuddle`. Use when the user wants a simple local URL-to-markdown fetcher instead of Jina or browser automation.
| name | reread-files-before-editing |
| description | Ensure files are re-read before editing to avoid overwriting user changes. Use only when explicitly encouraged to by user. |
Before editing any file, re-read it to ensure you are using the latest version.
This is a one-time freshness check for the current operation. Do not assume previously read file contents are still valid if the user may have edited them.
The user may modify files outside your current context. Using stale content can overwrite those changes.
Before making an edit: