adobe-fonts
1
总安装量
1
周安装量
#77889
全站排名
安装命令
npx skills add https://github.com/alexh/adobe-fonts --skill adobe-fonts
Agent 安装分布
codex
1
Skill 文档
Adobe Fonts
Use this skill to handle Adobe Fonts/Typekit workflow without opening the Adobe Fonts UI.
Prerequisites
- Ensure
ADOBE_FONTS_API_TOKENis set. - Run
scripts/afont doctorbefore mutating actions. - Build local index once:
scripts/afont index refresh
Commands
Run via:
scripts/afont <command>
Supported commands:
index refreshindex statussearchviewkits listkits ensurekits add-familykits publishkits embeddoctor
Default Workflow
- Discover candidates:
afont search --query <keyword> --limit 8(cache-first)
- Ensure target kit exists:
afont kits ensure --name <kit-name> --domains <d1,d2>
- Add family:
afont kits add-family --kit <kit-name-or-id> --family <family-slug>
- Publish:
afont kits publish --kit <kit-name-or-id>
- Return integration snippets:
afont kits embed --kit <kit-name-or-id>
Visual preview workflow:
- Capture Adobe preview page screenshot for Codex analysis:
afont view --family <family-slug> --json- or
afont view --url https://fonts.adobe.com/fonts/<family-slug> --json
Confirmation Gate For Long Runs
Before running potentially long index operations, ask for user confirmation.
Treat these as long-running and confirm first:
afont index refreshwith default/full settingsafont index refresh --max-pages > 5afont search --refresh-cachewhen cache is missing or stale
When asking, offer two options:
- Quick refresh: smaller scope (example:
--max-pages 3) - Full refresh: complete indexing (example:
--per-page 500 --max-pages 40)
Output Expectations
Always return:
- Link tag snippet:
<link rel="stylesheet" href="https://use.typekit.net/<kit>.css"> - CSS family examples, such as
font-family: legitima, serif; - Any API warnings from
result.warnings
Use --json for machine parsing when chaining steps.
Search cache flags:
--refresh-cacheto refresh index before search--cache-onlyto avoid network calls--no-cacheto force API path
Safety
- Prefer
--dry-runfirst for mutating commands. - Do not modify app source files unless the user explicitly asks to apply snippets.
Resources
references/output-schema.mdreferences/api-notes.mdreferences/troubleshooting.md