Tsh Implementing Frontend
TheSoftwareHouse/copilot-collections
Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.
Build NEW pages, features, or standalone project UIs (翻译项目/企业项目/新页面/新项目 UI, translation tools, enterprise apps, dashboards) on the Tofu design system — every control from frontend/src/ui factories…
$ npx skills add NiuTrans/ToFu --skill tofu-design-system -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install NiuTrans/ToFu tofu-design-system --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/NiuTrans/ToFu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/tofu-design-system .claude/skills/tofu-design-system && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tofu-design-system" agent skill from https://github.com/NiuTrans/ToFu/tree/main/.agents/skills/tofu-design-system into .claude/skills/tofu-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tofu-design-system", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/NiuTrans/ToFu/tree/main/.agents/skills/tofu-design-systemType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add NiuTrans/ToFu --skill tofu-design-system -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install NiuTrans/ToFu tofu-design-system --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NiuTrans/ToFu.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/tofu-design-system .agents/skills/tofu-design-system && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tofu-design-system" agent skill from https://github.com/NiuTrans/ToFu/tree/main/.agents/skills/tofu-design-system into .agents/skills/tofu-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tofu-design-system", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NiuTrans/ToFu --skill tofu-design-system -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install NiuTrans/ToFu tofu-design-system --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NiuTrans/ToFu.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/tofu-design-system .cursor/skills/tofu-design-system && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tofu-design-system" agent skill from https://github.com/NiuTrans/ToFu/tree/main/.agents/skills/tofu-design-system into .cursor/skills/tofu-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tofu-design-system", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/NiuTrans/ToFu.git --path .agents/skills/tofu-design-system--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add NiuTrans/ToFu --skill tofu-design-system -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install NiuTrans/ToFu tofu-design-system --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NiuTrans/ToFu.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/tofu-design-system .gemini/skills/tofu-design-system && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tofu-design-system" agent skill from https://github.com/NiuTrans/ToFu/tree/main/.agents/skills/tofu-design-system into .gemini/skills/tofu-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tofu-design-system", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install NiuTrans/ToFu tofu-design-systemInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add NiuTrans/ToFu --skill tofu-design-system -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/NiuTrans/ToFu.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/tofu-design-system .github/skills/tofu-design-system && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tofu-design-system" agent skill from https://github.com/NiuTrans/ToFu/tree/main/.agents/skills/tofu-design-system into .github/skills/tofu-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tofu-design-system", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NiuTrans/ToFu --skill tofu-design-system -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install NiuTrans/ToFu tofu-design-system --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NiuTrans/ToFu.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/tofu-design-system .opencode/skills/tofu-design-system && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tofu-design-system" agent skill from https://github.com/NiuTrans/ToFu/tree/main/.agents/skills/tofu-design-system into .opencode/skills/tofu-design-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tofu-design-system", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tofu-design-systemBuild NEW pages, features, or standalone project UIs (翻译项目/企业项目/新页面/新项目 UI, translation tools, enterprise apps, dashboards) on the Tofu design system — every control from frontend/src/ui factories…
Tofu Design System is an agent skill from NiuTrans/ToFu. Build NEW pages, features, or standalone project UIs (翻译项目/企业项目/新页面/新项目 UI, translation tools, enterprise apps, dashboards) on the Tofu design system — every control from frontend/src/ui factories and every value from design tokens; never hand-rolled CSS, one-off buttons, or raw hex/px spacing.
Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Design systems, Design tokens and Translation. The repository describes itself as: Self-hosted AI assistant with tool use, multi-agent orchestration, coding copilot and a lightweight Flask + vanilla JS stack. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 079e58e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tofu Design System loads about 620 tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 247 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from NiuTrans/ToFu at commit 079e58e, republished under its MIT licence (© NiuTrans). 247 words, ~620 tokens.
.claude/skills/tofu-design-system/SKILL.md (or your agent's skills folder).Use this workflow whenever a request asks for a new page, feature surface,
or a whole new project UI (including translation/enterprise tools that
reuse Tofu's agent runtime). The authority contract is
docs/DESIGN_SYSTEM.md — read it first; do not duplicate its tables here.
designs/ui-gallery/scaffold.html is a complete app shell (sidebar +
toolbar + content) built only from the kit. Copy it, then replace its
demo content with the feature's real structure.frontend/src/ui/index.ts
(button, field, dialog, drawer, tabs, dropdown, toast, alert, table,
choice, progress, empty state…). Do not hand-write ui-* class strings
for behavioral controls, and NEVER invent a new button/input/checkbox
style — extend the kit instead (factory + 30-ui-kit.css + gallery
entry, all three together).--space-*, font sizes from --font-size-*, colors from
the token contract in 00-design-tokens.css. Raw hex colors and raw px
margins/paddings fail npm run check:styles — that gate is the
definition of done..ui-stack/.ui-row/.ui-grid/.ui-toolbar) so
alignment is a construction property, not manual margin tuning.designs/ui-gallery/index.html.python3 designs/ui-gallery/verify.py # 37 structural/behavioral checks
python3 designs/ui-gallery/capture.py # 3-theme screenshots + WCAG contrast gate
npm run check:styles # token gate + size budgetsPost the regenerated designs/ui-gallery/previews/*.png for user review;
do not claim visual quality without these artifacts.
The agent side of the project (tasks, tools, streaming) reuses Tofu's
existing surfaces — see docs/AGENT_CAPABILITY_GUIDE.md and
docs/FRONTEND_ARCHITECTURE.md. Do not build a parallel agent runtime.
© NiuTrans, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/tofu-design-system of NiuTrans/ToFu.
Open the folder on GitHubat commit 079e58e
Tofu Design System next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tofu Design System this skillNiuTrans/ToFu | 148 | — | ~620 | Automated safety check: Pass | MIT | |
| Tsh Implementing FrontendTheSoftwareHouse/copilot-collections | 284 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Composer UIdxos/dxos | 526 | — | ~9.3k | Automated safety check: Pass | Custom licence | |
| Figma Design System Builderwarpdotdev/warp | 65k | 2 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Figma use_figma Plugin API Ruleswarpdotdev/warp | 65k | 4 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Design SystemOhh-889/skyroc | 795 | 11 repos | ~1.7k | Automated safety check: Pass | MIT |
TheSoftwareHouse/copilot-collections
Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.
dxos/dxos
A skill your agent uses when building or styling plugin UI with Composer's design system — the @dxos/react-ui packages.
warpdotdev/warp
Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
Ohh-889/skyroc
Token architecture, component specifications, and slide generation.
zanwei/design-dna
Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects…
NiuTrans/ToFu
Debug a Tofu conversation or task by conversation ID — inspect the sidecar transcript, storage lineage, and app logs with debug/inspectconversation.py before touching the database.
NiuTrans/ToFu
Change the Tofu browser UI — edit retained sources under frontend/src/ and rebuild with npm run build:frontend, never editing generated bundles under static/ or frontend/src/runtime/app-runtime.js.
NiuTrans/ToFu
Coordinate one Tofu evolution goal through owner conversation, new materials, experimental reports, executor assignments and explicit update acknowledgements.
Categories
Build NEW pages, features, or standalone project UIs (翻译项目/企业项目/新页面/新项目 UI, translation tools, enterprise apps, dashboards) on the Tofu design system — every control from frontend/src/ui factories…. Tofu Design System is an agent skill from NiuTrans/ToFu. Build NEW pages, features, or standalone project UIs (翻译项目/企业项目/新页面/新项目 UI, translation tools, enterprise apps, dashboards) on the Tofu design system — every control from frontend/src/ui factories and every value from design tokens; never hand-rolled CSS, one-off buttons, or raw hex/px spacing.
Tofu Design System fits situations like: tasks that involve Design systems; tasks that involve Design tokens; tasks that involve Translation.
Run `npx skills add NiuTrans/ToFu --skill tofu-design-system -a claude-code`. Or copy the skill folder (.agents/skills/tofu-design-system in NiuTrans/ToFu) into .claude/skills/tofu-design-system in your project. Claude Code loads it when a task matches its description.
Run `npx skills add NiuTrans/ToFu --skill tofu-design-system -a codex`. Or copy the skill folder (.agents/skills/tofu-design-system in NiuTrans/ToFu) into .agents/skills/tofu-design-system in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NiuTrans/ToFu --skill tofu-design-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tofu-design-system, .gemini/skills/tofu-design-system, .github/skills/tofu-design-system and .opencode/skills/tofu-design-system in your project.
Going by SKILL.md and its folder, Tofu Design System needs the command-line tools its instructions call (python3 and npm). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tofu Design System is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 620 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tofu Design System: Tsh Implementing Frontend (TheSoftwareHouse/copilot-collections, 284 stars), Composer UI (dxos/dxos, 526 stars), Figma Design System Builder (warpdotdev/warp, 65k stars) and Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
NiuTrans (a GitHub organization) maintains it in NiuTrans/ToFu, which has 148 GitHub stars. The repository was last updated on October 10, 2026.
Source: NiuTrans/ToFu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.