create-skill
Skill11 starsChanged 6 days agoMITView on GitHub
How to author, place, validate and ship an agent skill in bydiorama/ui. Use when creating a new skill, editing an existing one, deciding whether a skill should ship in the `ui` plugin or stay internal, or when `pnpm check:skills` fails. Covers the two-tier model, the front-matter contract, and why .claude/skills and plugins/ui are generated rather than edited.
154 other projects use a version of this.
Adopted by
Most recently taken up by
- BaratovSokhibjon/skillstheir own version, first seen Nov 29, 2026
- jamesctucker/morainetheir own version, first seen Nov 29, 2026
- Blaeste/claude-skillstheir own version, first seen Nov 29, 2026
- TheShellLand/SKILLStheir own version, first seen Nov 29, 2026
- neomjs/neo-agent-skillstheir own version, first seen Nov 29, 2026
- CherryHQ/cherry-studiotheir own version, first seen Nov 28, 2026
Used with
Projects with it also use cost-reducer, migrate-to-skills and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
huyvpSkillcost-reducer
Reduce cloud, infrastructure, and operational costs while maintaining performance. Use when writing database queries, configuring cloud resources, optimizing bundles, setting up caching, choosing between services, sizing instances, configuring CDN, managing storage, or reviewing code for cost inefficiencies. Covers AWS/GCP/Vercel pricing, database optimization, serverless tuning, image pipelines, observability costs, and FinOps practices.
Also in 11 projects that use this
32103210Skillmigrate-to-skills
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.
Also in 7 projects that use this
32103210Skillupdate-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
Also in 7 projects that use this
PandelisZSkillupdate-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
Also in 6 projects that use this
yawningwhaleAISkillbuild-premium-website
Build a premium, animated marketing website (React + Vite + Tailwind + GSAP) for any industry. Use when the user asks to "build a website", "make a landing page for [business]", "build a marketing site", or wants a high-end animated company website. Adapts color, copy, services, and signature animation to the industry.
Also in 8 projects that use this
yawningwhaleAISkillinstantly-campaign
Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.
Also in 7 projects that use this
- +3 more from yawningwhaleAI
Other versions154 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 154
- microsoft/vscode★ 196ksame name
- CherryHQ/cherry-studio★ 54ksame name
- videojs/video.js★ 40ksame name
- BuilderIO/agent-native★ 7.8ksame name
- stagewise-io/stagewise★ 6.8ksame name
- dotnet/skills★ 6.4ksame name
- xstongxue/best-skills★ 3.2ksame name
- Lilac-Labs/gini-agent★ 1.9ksame name
- Open-Curiosity/gini-agent★ 1.9ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
144 more not listed
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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-componentSkill
- app-motionSkill
- craftSkill
- demo-pageSkill
- design-componentSkill
- effectsSkill
- motion-componentSkill
- motion-mediaSkill
- review-uiSkill
- static-renderingSkill
- stills-renderSkill
- video-renderSkill
- visual-reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 144 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Ask one question: does this skill teach an agent to build *this library*, or to use it in *their app*?
- Distinctive: line 75
Write the trigger from the *user's* words, not the skill's internals: the phrasings someone would actually type when they need it.
- Distinctive: line 83
Prefer a table of traps with the rule beside each one.
- Distinctive: line 85
Before writing a rule here, ask whether it could be a type, a CI gate or a lint rule instead.
- Distinctive: line 90
Keep it under ~200 lines. A skill that needs more is two skills, or is documentation wearing a skill's front matter.
“Common” is measured: kept by at least 6 in 10 of the 144 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create a skill
Skills in this repo have one source of truth and two audiences. Getting the audience right is the only decision that matters; everything else is a contract a gate already enforces.
Where skills live
registry/skills/<dir>/SKILL.md ← THE SOURCE. Every skill, both tiers.
.claude/skills/ ← GENERATED. Every skill. Never edit.
plugins/ui/skills/ ← GENERATED. The shipped skills. Never edit.
plugins/ui/.claude-plugin/ ← the plugin manifest, hand-written
.claude-plugin/marketplace.json ← the marketplace (`diorama-ui`), hand-writtenregistry/skills/ is the source tree for all skills. The manifest, not
the folder, decides which ones ship — the same rule that lets stories and
tests live beside components without ever reaching a consumer.
Both generated trees come from pnpm skills:build and are committed, exactly
like registry.json. Editing a file in either is silently discarded on the
next build, so pnpm check:skills fails on any drift. Shipped skills reach
people through the ui agent plugin (ADR 0027), never through the registry
or the CLI.
The two tiers
Ask one question: does this skill teach an agent to build this library, or to use it in their app?
| Authoring tier | Product tier | |
| Teaches | building bydiorama/ui itself | using the system anywhere else: in an app, in Paper, in demo media |
| In the manifest | no | yes, type: "skill" |
| Ships | no — loads only in this repo | in the ui plugin, as ui:<directory> |
| Front-matter name | the directory name | the directory name |
| Examples | add-component, review-ui, this one | craft, design-component, video-render |
The test for the product tier is "does it work outside this repo?" A skill
whose steps run pnpm check:* or edit registry/ is authoring, however
useful it sounds; in an app it would send an agent to scripts that do not
exist.
Names carry no prefix: the plugin shows a shipped skill as ui:craft, so
ui-craft would read as ui:ui-craft. check:skills refuses a shipped
directory that starts with ui-, diorama- or bydiorama-.
Both tiers are loaded locally from .claude/skills/, so this repo dogfoods
the text it ships. Do not also install the ui plugin here: the same skills
would load twice, once as craft and once as ui:craft.
The front-matter contract
---
name: <kebab-case, matches the rule above>
description: <what it does AND when to use it — 150-500 chars>
---The description is the only thing an agent reads when deciding whether to load the skill. The body is read after that decision, never before. A description that only says what the skill is will not fire when it is needed, and the failure mode is silence — nothing errors, the skill simply never loads. That is why the checker demands a trigger clause ("Use when …") and a floor of 80 characters, and why the ceiling is 900: past that it has stopped being a trigger and become the skill.
Write the trigger from the user's words, not the skill's internals: the phrasings someone would actually type when they need it.
Writing the body
- Lead with the decision, not the background. An agent reads to act.
- Every rule earns its place by having cost something. These skills exist to keep a defect from recurring; a rule nobody has ever broken is noise. Prefer a table of traps with the rule beside each one.
- Prose is the floor, not the goal (the ratchet rule in
add-component). Before writing a rule here, ask whether it could be a type, a CI gate or a lint rule instead. If it could, do that and write one line here pointing at it. - Do not restate
CONVENTIONS.md. It is the binding rulebook; a skill that copies it will drift from it. Reference the rule and name the token. - Keep it under ~200 lines. A skill that needs more is two skills, or is documentation wearing a skill's front matter.
Steps
- Decide the tier (the table above).
registry/skills/<dir>/SKILL.mdwith the front matter.- Product tier only: add a manifest item —
List only the SKILL.md; scripts and reference pages beside it travel with it.{ "name": "<dir>", "type": "skill", "description": "Agent skill (the `ui` plugin): ...", "files": [{ "path": "registry/skills/<dir>/SKILL.md", "target": "plugins/ui/skills/<dir>/SKILL.md" }], "status": "stable" }pnpm registry:buildleaves skills out of the registry on purpose. pnpm skills:build— regenerates.claude/skills/,plugins/ui/skills/and the plugin's README (its skill table comes from the front matter).pnpm check:skillsandpnpm verify.- A ledger entry, like any other change to what ships.
Traps
| Trap | Rule |
Editing .claude/skills/<name>/SKILL.md | Generated. Edit registry/skills/<dir>/SKILL.md and rebuild |
| Renaming a skill directory | Rebuild — the old generated copy is removed only by skills:build, and would otherwise keep loading into every agent. Update every reference to it across registry/skills/ in the same change, and add the old manifest name to renamed so its ledger history stays valid |
type: "file" for a skill | Use type: "skill"; it still emits registry:file for CLI compatibility, but the manifest is where meaning lives |
| A description that describes | It must trigger. "Use when …" is the load-bearing half |
Copying a rule out of CONVENTIONS.md | Two copies drift; the skill loses and the reader believes it |
| Pointing a skill at files elsewhere in the repo | Folders get moved or ignored (design/ left the repo and took the references with it). Keep reference scripts and pages BESIDE the SKILL.md (scripts/, reference/); skills:build copies them byte for byte, into the plugin too |
| A path that only works in this repo | A shipped skill runs from the plugin's cache. Write paths relative to the skill's own folder (scripts/render.mjs, ../demo-page/reference/…), not .claude/skills/… or registry/… |
A bin/ folder or a version in the plugin | bin/ makes claude.ai and Cowork refuse the plugin; a version stops installs following main. check:skills fails on both |
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.

