用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/a5c-ai/babysitter --skill typography-calculator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | typography-calculator |
| description | Calculate typography scales, metrics, and responsive font sizing |
| allowed-tools | ["Read","Write","Edit","Bash","Glob","Grep"] |
| graph | {"domains":["domain:web-development"],"specializations":["specialization:ux-ui-design"],"skillAreas":["skill-area:typography","skill-area:visual-design"],"roles":["role:product-designer"],"workflows":["workflow:user-feedback-loop","workflow:product-discovery"],"topics":["topic:responsive-design"]} |
Calculate typography scales and metrics for design systems, including modular scales, line heights, and responsive font sizing.
{
"type": "object",
"properties": {
"baseSize": {
"type": "number",
"default": 16,
"description": "Base font size in pixels"
},
"scaleRatio": {
"type": "string",
"enum": ["minor-second", "major-second", "minor-third", "major-third", "perfect-fourth", "augmented-fourth", "perfect-fifth", "golden-ratio"],
"default": "perfect-fourth"
},
"steps": {
"type": "number",
"default": 6,
"description": "Number of scale steps above and below base"
},
"lineHeightRatio": {
"type": "number",
"default": 1.5,
"description": "Base line height ratio"
},
"fluidTypography": {
"type": "boolean",
"default": true
},
"minViewport": {
"type": "number",
"default": 320
},
"maxViewport": {
"type": "number",
"default": 1440
}
},
"required": ["baseSize"]
}
{
"type": "object",
"properties": {
"scale": {
"type": "array",
"description": "Typography scale with sizes"
},
"lineHeights": {
"type": "object",
"description": "Optimal line heights for each size"
},
"fluidSizes": {
"type": "object",
"description": "CSS clamp values for fluid typography"
},
"verticalRhythm": {
"type": "object",
"description": "Vertical rhythm calculations"
},
const result = await skill.execute({
baseSize: 16,
scaleRatio: 'perfect-fourth',
steps: 6,
fluidTypography: true,
minViewport: 320,
maxViewport: 1440
});