make-tweakable
Skill9 starsChanged 6 months agoMITView on GitHub
Add in-design tweak controls
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Onevium/awesome-claude-skillstheir own version, first seen Sep 4, 2026
- Onevium/skillstheir own version, first seen Sep 4, 2026
- bluzir/claude-code-designtheir own version, first seen Apr 20, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- bluzir/claude-code-design★ 102same name
- Onevium/awesome-claude-skills★ 1same name
- Onevium/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- canvas-syncSkill
- cuj-guardianSkill
- frontend-designSkill
- grill-meSkill
- pr-evidenceSkill
- semantic-commitSkill
- ship-taskSkill
- verify-with-playwrightSkill
- animated-videoSkill
- create-design-systemSkill
- design-aesthetic-presetsSkill
- design-critiqueSkill
- design-md-authorSkill
- exportSkill
- frontend-designSkill
- handoff-to-claude-codeSkill
- interactive-prototypeSkill
- save-as-standalone-htmlSkill
- send-to-canvaSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
When the user changes a value, apply it live in the page and persist it by calling: window.parent.postMessage({type: …
- Distinctive: line 43
Keep the Tweaks surface small — a floating panel in the bottom-right of the screen, or inline handles.
- Distinctive: line 45
If the user asks for multiple variants of a single element within a largher design, use this to allow cycling thru the options.
- Distinctive: line 46
If the user does not ask for any tweaks, add a couple anyway by default.
- Very specific: line 47
Add data-cc-no-inspect="true" to the panel root and the FAB so the editor's inspector skips them.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tweaks
The user can toggle Tweaks on/off from the toolbar. When on, show additional in-page controls that let the user tweak aspects of the design — colors, fonts, spacing, copy, layout variants, feature flags, whatever makes sense. You design the tweaks UI; it lives inside the prototype. Title your panel/window "Tweaks" so the naming matches the toolbar toggle.
Protocol
- Order matters: register the listener before you announce availability. If you post
__edit_mode_availablefirst, the host's activate message can land before your handler exists and the toggle silently does nothing. - First, register a
messagelistener onwindowthat handles:{type: '__activate_edit_mode'}→ show your Tweaks panel{type: '__deactivate_edit_mode'}→ hide it - Then — only once that listener is live — call:
window.parent.postMessage({type: '__edit_mode_available'}, '*')This makes the toolbar toggle appear. - When the user changes a value, apply it live in the page and persist it by calling:
window.parent.postMessage({type: '__edit_mode_set_keys', edits: {fontSize: 18}}, '*')You can send partial updates — only the keys you include are merged.
Persisting state
Wrap your tweakable defaults in comment markers so the host can rewrite them on disk, like this:
const TWEAK_DEFAULS = /*EDITMODE-BEGIN*/{
"primaryColor": "#D97757",
"fontSize": 16,
"dark": false
}/*EDITMODE-END*/;The block between the markers must be valid JSON (double-quoted keys and strings). There must be exactly one such block in the root HTML file, inside inline <script>. When you post __edit_mode_set_keys, the host parses the JSON, merges your edits, and writes the file back — so the change survives reload.
Tips
- Keep the Tweaks surface small — a floating panel in the bottom-right of the screen, or inline handles. Don't overbuild.
- Hide the controls entirely when Tweaks is off; the design should look final.
- If the user asks for multiple variants of a single element within a largher design, use this to allow cycling thru the options.
- If the user does not ask for any tweaks, add a couple anyway by default; be creative and try to expose the user to interesting possibilities.
- Add
data-cc-no-inspect="true"to the panel root and the FAB so the editor's inspector skips them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

