Repository navigation
Writing
github-actions[bot] edited this page Nov 3, 2026
·
2 revisions
Tiếng Việt: Writing-vi.
Applies to docs pages (vi + en), templates, CLI messages, README, What's new entries and changesets.
- Say what the reader can do. The opening sentence answers "what is it for", without a rambling introduction.
- One idea per sentence. Split any sentence longer than two lines.
- Don't repeat what is already shown right next to it. If a tab, button or heading already says it, the paragraph doesn't say it again.
- Stay on topic. Tools outside the project (giget, …) have no place in Yugen's docs.
- No marketing words: "powerful", "amazing", "has blossomed". No dashes ( — ) to insert asides. No lists of three just for rhythm.
- Don't state the obvious ("hover to…", "click the button to…").
- Use the right names, as users see them (table below).
- Fluent 2 is mentioned only in Credits and on the From Fluent UI page.
| Use | Don't use |
|---|---|
yugen-ui (npm package), Yugen UI (product) |
Yugen-UI, YugenUI |
@yugen-ui/cli |
CLI yugen, yugen CLI |
create-yugen-ui |
Yugen app generator |
| Có gì mới · What's new | Changelog (when talking about the docs page) |
| Starter, SaaS, Blog, Dashboard, AI chat | "Sakura Studio · Yugen UI", "Yugen UI · Dashboard" |
Commands must run in every shell: don't chain them with &&, don't use npm create … -- --option (PowerShell drops the --). Use npx create-yugen-ui@latest my-app --template starter, one command per line.
- Natural, clear, short. Read it aloud: it should sound like a person talking, not like a translation.
- Keep English terms when there is no common Vietnamese word: theme, token, props, component, template.
- Capitalize the first word of a sentence and proper names; don't capitalize every word in headings.
- Use "bạn" when addressing the reader; avoid "chúng tôi".
- Plain words, short sentences, sentence case for headings.
- Active voice; "you" for the reader.
- Same facts as the Vietnamese page. Translate the meaning, not word by word.
| Before | After | Why |
|---|---|---|
| Want to own the source code? | Need deep customization? | Talk about how far you can customize, not about ownership |
| theme remembered | saves the theme the user picks | Clear about who does what |
| everything is already wired up | configuration is ready | More natural wording |
| Your app has blossomed. | The project is running. Edit src/Welcome.tsx to get started. |
Say what to do next, no metaphor |
| …with a cherry blossom welcome page that shows what Yugen UI can do — delete it when you start writing. | (removed) | Dash for an aside, adds no information |
| npm / pnpm / yarn / bun tabs + a code block listing the same command for each package manager | Keep only the tabs | Repeated content |
| "Based on Fluent 2, not a Microsoft product" in the footer of every page | Only in Credits | Already on the introduction page |
- Changeset (in English): a short paragraph for package users. Say what changed and what it affects. No internal details (file names, PRs) unless users need to know them.
-
What's new (
src/docs/news/<package>/<version>.vi.mdand.en.md): a title of a few words, a one-paragraph summary, one change per item with a link[→](/path)to the docs page;`code`for props, functions, files. The two versions match item by item (wiki › Release Process › News on the What's new page). -
Upcoming news (
upcoming: true, written onnext): write it like a released version, in the present tense, without "will"; each PR intonextadds its own line. - Breaking changes: spell out how to migrate.
- No sentence repeats a tab, button or heading right next to it
- No dashes for asides, no marketing words, no stating the obvious
- Names match the table above; commands run in PowerShell
- The Vietnamese version reads naturally; the English version has the same content
- Fluent 2 appears only in Credits / the migration page
Yugen UI © trandat1114 · MIT · Inspired by Microsoft Fluent 2, not a Microsoft product · Edit the wiki through the wiki/ folder · Lấy cảm hứng từ Microsoft Fluent 2, không phải sản phẩm của Microsoft · Sửa wiki qua thư mục wiki/
Use
Develop
Project
Tiếng Việt
- Trang chủ
- Bắt đầu
- Theme & token
- Câu hỏi thường gặp
- Kiến trúc
- Viết component
- Kiểm thử & CI
- Viết nội dung
- Nhánh & kênh phát hành
- Phát hành
- Cộng đồng & phân loại
- Sổ tay vận hành
Links