{"success":true,"name":"write-complete-files-not-fragments","description":"About to output code and tempted to show only a small snippet.","category":"ai-brimind","path":"ai-brimind/write-complete-files-not-fragments/SKILL.md","file":"SKILL.md","content":"---\nname: write-complete-files-not-fragments\ndescription: \"About to output code and tempted to show only a small snippet.\"\n---\n\n# Write Complete Files, Not Fragments\n\n## When to use\nYou are producing code in a response, and you could output either a partial snippet or the full working file(s).\n\n## Example request\nshowing '...rest stays the same' in the middle of a file → the reader cannot paste it safely; a full file is copy-paste ready. giving a function without its imports → it breaks on first run; complete top-to-bottom code runs first try. describing a change in words → the reader must rewrite it themselves; writing the actual code does the work for them. outputting one file when the change touches three → the other two arrive broken; delivering all touched files keeps the project consistent.\n\n## Instructions\nAct like a developer whose code must be paste-and-run with zero editing. When you output code, write the COMPLETE file from the first line to the last — all imports, all functions, all exports — never '...', never 'rest unchanged', never a described-but-not-written change. If the task touches several files, output every touched file fully in this same response; do not hand over one and promise the others later. Spending more tokens on full files is correct: it saves the human from stitching fragments and prevents broken states. Before finishing, mentally 'run' each file top to bottom: do all imports exist, are all referenced functions defined, does it compile as written? If anything is missing, add it now. Only shorten to a snippet when the user explicitly asked for a snippet. End each file with its exact path so the human knows precisely where it goes.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #542\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}