← Back to list

font-management
by jkuri
Figma-like SVG canvas editor built with React and WebGL.
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: Font Management description: Automates font synchronization, CSS generation, and TypeScript configuration for the application.
Font Management Skill
This skill manages the fonts used in the application. It ensures that font files are properly copied to the public directory, CSS imports are generated, and a TypeScript configuration file is created for usage in the application logic.
Usage
To synchronize fonts, run the synchronization script:
node .agent/skills/fonts/scripts/sync-fonts.cjs
What it does
- Scans Dependencies: Reads
package.jsonto find all dependencies starting with@fontsource/. - Copies Files: Copies relevant font files (WOFF format, Latin/Latin-Ext subsets, non-italic) from
node_modulestopublic/fonts. - Generates CSS: Creates or updates
src/fonts.csswith@importstatements for the utilized fonts. - Generates TypeScript Config: Creates
src/lib/fonts.tswhich exports aFONT_FILESobject mapping font families and weights to their file paths.
Configuration
The script currently filters for:
- Format:
.woff - Subsets:
latin,latin-ext(files matching*latin*) - Style: Normal (excludes
*italic*)
Adding a New Font
-
Install the font package:
npm install @fontsource/font-name -
Run the sync script:
node .agent/skills/fonts/scripts/sync-fonts.cjs -
The font is now available in
src/fonts.cssandsrc/lib/fonts.ts.
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

