{ "schema_version": 2, "kind": "shortening-method", "format": "agent-skill", "id": "ui-copy", "name": "UI copy", "category": "Technical", "summary": "Name the action and preserve its consequences.", "use_cases": [ "Buttons and labels", "Errors and notices", "Confirmation dialogs" ], "word_count": 129, "url": "https://sho.rten.it/methods/ui-copy/", "instructions_url": "https://sho.rten.it/methods/ui-copy/SKILL.md", "skill_url": "https://sho.rten.it/methods/ui-copy/SKILL.md", "json_url": "https://sho.rten.it/methods/ui-copy/llms.txt", "plain_text_url": "https://sho.rten.it/methods/ui-copy/prompt.txt", "license": "MIT", "sources_url": "https://sho.rten.it/sources/#ui-copy", "skill_name": "ui-copy", "skill_description": "Name the action and preserve its consequences. Use for Buttons and labels, Errors and notices, Confirmation dialogs.", "agents_md_url": "https://sho.rten.it/methods/ui-copy/AGENTS.md", "sources": [], "instructions": "Shorten the supplied interface text for its component and context. Make buttons name the action, labels identify the input, and notices explain what the user needs to know. For errors, state the specific problem and a supported recovery step. For confirmations, preserve the action’s scope and consequences.\n\nUse familiar words and consistent product terms. Remove introductions, redundant labels, and unnecessary politeness. Keep accessibility, clarity, and translation in mind; do not rely on color, position, or an unexplained symbol to convey meaning.\n\nPreserve numbers, limits, timing, permissions, and whether an action can be undone. Do not invent recovery steps or guarantees. Follow supplied character limits. If essential meaning will not fit, flag the conflict instead of omitting it. Return the revised strings and any such conflict, preserving keys or identifiers.", "example": { "before": "{\n \"delete_title\": \"Are you sure that you would like to permanently delete the 12 selected project files?\",\n \"delete_body\": \"Please note that deleting these files will remove them from this project for all 4 project members. This action is permanent, and the files cannot be restored afterward. Files that were previously downloaded by members will not be removed from their devices by this action.\",\n \"confirm_label\": \"Yes, I would like to permanently delete these 12 files\",\n \"cancel_label\": \"No, please keep all of these files in the project\"\n}", "after": "{\n \"delete_title\": \"Permanently delete 12 selected files?\",\n \"delete_body\": \"Removes them from this project for all 4 members. This cannot be undone. Downloaded copies stay on members' devices.\",\n \"confirm_label\": \"Delete 12 files\",\n \"cancel_label\": \"Keep files\"\n}", "context": "Fictional file-deletion confirmation dialog", "must_preserve": [ "All four original string keys", "12 selected files, project scope, all four members", "Permanent deletion cannot be undone", "Downloaded copies remain on members’ devices", "Clear delete and cancel actions" ], "omitted": [ "Repeated confirmation phrasing, unnecessary politeness, and duplicate explanations of irreversibility" ], "kind": "illustrative" } }