Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.35 KB

agent-recipes.md

File metadata and controls

37 lines (28 loc) · 1.35 KB

Agent recipes (pointer + maintenance index)

Design method (ARCHITECTURE.md 标准工作流): tk new --starter latin-sans → edit system.py / glyphs/ / elements.py / spacing.py → tk proof / tk audit / tk build. See .agents/skills/typekernel-font-design/ (recipes, anti-patterns, reference).

Product rule

Do Don't
Draw with typekernel.draw + @glyph in the project Look for letter builders inside typekernel.* kernel packages
Space via project spacing.py (metrics keys + kern) Rely on bbox-only advances as the design
Compile with tk build / tk build --variable and proof Add heal / blend / seal passes for bad joins

Maintenance CLIs

tk new myfont --starter latin-sans
tk build .
tk proof control .
tk audit .
tk build . --variable

# quickstart example
python examples/latin_sans_quickstart/build.py

Architecture contracts: ARCHITECTURE.md 交接规格.

Starter patterns

Copy from src/typekernel/starters/latin_sans/ (elements.py, glyphs/**, font.py corner wiring, spacing.py). Kernel packages stay letter-free.