- Delete unused or obsolete files when your changes make them irrelevant (refactors, feature removals, etc.), and revert files only when the change is yours or explicitly requested. If a git operation leaves you unsure about other agents' in-flight work, stop and coordinate instead of deleting.
- Before attempting to delete a file to resolve a local type/lint failure, stop and ask the user. Other agents are often editing adjacent files; deleting their work to silence an error is never acceptable without explicit approval.
- NEVER edit
.envor any environment variable files—only the user may change them. - Coordinate with other agents before removing their in-progress edits—don't revert or delete work you didn't author unless everyone agrees.
- Moving/renaming and restoring files is allowed.
- ABSOLUTELY NEVER run destructive git operations (e.g.,
git reset --hard,rm,git checkout/git restoreto an older commit) unless the user gives an explicit, written instruction in this conversation. Treat t
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source https://twitter.com/thatroblennon/status/1717312851281654173 | |
| NASA open-sourced a monster of a megaprompt. | |
| I deconstructed it to see what I could learn. | |
| 7 lessons from a genius-level AI prompt: | |
| The prompt (which I give in full at the bottom of this post) is designed to guide a user through the biomimicry design process. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Cloudflare Worker for Server-Sent Events (SSE) | |
| * | |
| * This worker demonstrates how to set up an SSE endpoint | |
| * that sends an initial message and then periodic updates. | |
| */ | |
| // Listen for incoming requests | |
| addEventListener('fetch', event => { | |
| event.respondWith(handleRequest(event.request)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This svelte store is a reference to make super quick live and interactive pieces of code. | |
| See its announcement at https://www.youtube.com/watch?v=A8jkJTWacow&t=18579s | |
| */ | |
| type Options<T> = { | |
| validator: (data: T) => void; | |
| }; | |
| export function live<T>(path: string, initialValue: T, options?: Options<T>) { |