Frontend
Copy to Clipboard
Implements secure, accessible clipboard interactions with honest success and failure feedback.
What it does
Implements secure, accessible clipboard interactions with honest success and failure feedback.
When to use it
Use for copying code, links, tokens or share data, and for clipboard-permission failure handling.
Problems it prevents
Stops a 'copied!' message showing even when the copy silently failed.
Typical workflow
- Implement the copy action securely
- Design honest success feedback
- Handle permission failure gracefully
- Verify keyboard operability
Example output
A copy button that only claims success once the browser has confirmed it, with a visible fallback if it can't.
What's included
- 01The complete prompt
The full manual as a ready-to-save SKILL.md file, matched exactly to what ships in the T7 library.
- 02Install walkthrough
Personal (~/.claude/skills/) and project (.claude/skills/) folder instructions, whichever fits how you work.
- 03Use notes
How Claude invokes it, what a good result looks like, and what to check before you trust the output.
Installation
Save the manual as SKILL.md in ~/.claude/skills/copy-to-clipboard/ to use it on every project, or in .claude/skills/copy-to-clipboard/ to scope it to one repository. Then invoke it directly:
/copy-to-clipboard