melta-ui / rules
Cursor rule201 starsChanged 3 months agoMITView on GitHub
melta UI の入口ポインタ(作業指示・exact value・MCP・Skills の所在)
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- ban-patternSkill
- build-screenSkill
- design-reviewSkill
The file
Files
--- description: melta UI の入口ポインタ(作業指示・exact value・MCP・Skills の所在) alwaysApply: true --- # melta UI — 入口ポインタ このファイルは**所在だけ**を示す。仕様・値はここに書かない。 ## 最初に読む - **作業指示の正本**: `AGENTS.md`(読み込みモード・作業ルール・npm scripts。UI タスクはここから) - **AI 向けデザイン入口**: `DESIGN.md`(原則 + Quick Reference) - **exact value**: `design/contracts/` — トークンは `design/contracts/tokens.json`、コンポーネント仕様は `design/contracts/components/`、禁止ルールは `design/contracts/rules.json` - **値が食い違ったとき**: `design/contracts/` > `DESIGN.md` の Quick Reference > 散文ドキュメント(`design/authority.md` の宣言に従う) ## MCP `.cursor/mcp.json` に `melta-ui` サーバーの設定を同梱(`npm install` 済みであることが前提。 有効化は Cursor 側の操作に従う)。使えるツールは次のとおり(この行は `src/server.ts` と機械照合する)。 <!-- mcp-tools --> `get_token` / `get_component` / `check_rule` / `check_html` / `get_rules` / `search` HTML / JSX / Vue を生成したら `check_html` で自己検証し、error を消してから提示する。 `passed` は **lint-clean draft** であって、ブランド・レイアウトの承認ではない(そこは人間が見る)。 ## Skills `.agents/skills/` 配下に Agent Skills 標準のスキルを置いている。名前と用途は各 `SKILL.md` を読む (ここに一覧を書くと増減のたびに嘘になるので書かない)。 ## このファイルの制約 **値(色コード / Tailwind class レシピ / サイズ)をここに書かない。** 書いた瞬間に contracts と並ぶ 第二の正典になり、drift 検査の外側で静かにズレる。2026-03〜07 の `.cursor/rules` 3 本が実例で、 「セマンティッククラスを使え」と書いた原則の隣に、それを破るレシピが半年並んでいた。 `tests/cursor-entry.spec.ts` が機械で止める(値の混入 / mdc の増殖 / 参照先の消滅 / `.mcp.json` との乖離)。
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.

