Agent skill UI design
Typography
Refine how text looks and reads in a web interface.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/bencium/bencium-marketplace/tree/main/typography/skills/typography --skill ui-typography --agent claude-code --yesCheck this file in your project.claude/skills/ui-typography/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/bencium/bencium-marketplace/tree/main/typography/skills/typography --skill ui-typographySelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Existing article JSX or HTML, approved English and Chinese copy, current fonts and two target viewports.
View operation manualWhat this skill helps with
- Refine how text looks and reads in a web interface.
Good for
- Type and readability
- Task
- Audit the rendered typography in a bilingual field-notes article
- Requirements
- Existing article JSX or HTML, approved English and Chinese copy, current fonts and two target viewports.
- Deliverable
- A scoped typography audit with corrected visible punctuation and line wrapping, plus proof from rendered text.
- Skill name
ui-typography- Repository
bencium/bencium-marketplace
Make the design work verifiable
An underspecified brief
Replace every straight quote in the translation and HTML files.
Display text, JSX syntax, URLs and quoted code have different constraints. Apply language-appropriate changes to the actual article content.
A result you can check
- Locate English prose, translated content and syntax that should be treated literally.
- Use real rendered characters and preserve the existing reading interaction.
- Inspect characters after rendering and compare at both widths.
Typography operation manual
A scoped typography audit with corrected visible punctuation and line wrapping, plus proof from rendered text.
Existing article JSX or HTML, approved English and Chinese copy, current fonts and two target viewports.
Audit render and source together
Locate English prose, translated content and syntax that should be treated literally.
Prompt · Step 1Use Bencium’s installed ui-typography Skill and read its SKILL.md first. Review [bilingual field-notes article and JSX]. Identify straight quotes, apostrophes or wrong dashes in displayed English prose, including a date range. Check the Chinese version against its existing locale punctuation, and note line measure, heading hierarchy and visible links at both widths. Deliver the specific findings before applying approved edits.Correct selected visible content
Use real rendered characters and preserve the existing reading interaction.
Prompt · Step 2Use Bencium’s installed ui-typography Skill and read its SKILL.md first. Apply the approved fixes to [English prose and confirmed Chinese runs]. Use actual Unicode characters or valid source entities, and avoid bare Unicode escapes in JSX text. Keep URL, code and markup syntax literal. For the article body, preserve legible line lengths and wrapping in the project’s two languages.Verify the browser text and reading measure
Inspect characters after rendering and compare at both widths.
- Rendered punctuation is correct for the intended locale and code examples still copy exactly.
- Article line wrapping and link identification work at the target viewports.
Prompt · Step 3Use Bencium’s installed ui-typography Skill and read its SKILL.md first. At [phone and desktop widths] read the two article locales and verify the actual rendered quotation marks, apostrophes and numeric range. Check that no visible text contains a literal escape sequence, headings remain meaningful, and links remain visibly identifiable and keyboard accessible. Report the before-and-after examples and any untested combinations.
Look up this workflow decision
Read the relevant section in the installed Skill.
JSX prints the escape sequence instead of the apostropheSKILL.md
- Command or reference
JSX/React Implementation Warning- Examples
- Insert the actual Unicode character or a valid entity, then confirm the browser’s rendered text.
Troubleshooting
Which name should I use with the installation command?
The publisher’s folder is typography/skills/typography. The installed SKILL.md name and selector are ui-typography.