跳到正文
Skillpedia
界面(UI/UX)76k · #2616

course-style

它能做什么

这项技能是 AI Engineering from Scratch 课程的样式参考。适合希望新的页面、图示和手册与课程风格保持一致的作者和设计师。

适用场景

  • ✓当你为课程编写或审查页面、卡片或图示时。
  • ✓当你需要浅色或深色模式的精确颜色值时。
  • ✓当你需要对照简明技术英语规则检查文字时。

技能链接

https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/course-style/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/course-style/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请让这个新的课程页面与课程风格保持一致,使用正确的颜色,以及图示的标签格式。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能提供浅色和深色主题的颜色变量、字体栈、标签格式和布局规则。它还提供一组简明的英文写作规则,以及减少动画等无障碍默认设置。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Course style

This skill is the reference layer for the AI Engineering from Scratch look and voice. Other craft skills point here for exact values: blueprint-figure, motion-figure, isometric-explainer, and write-manual. Use it with Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads SKILL.md. It holds no drawing method of its own. It tells you which colour, font, label, spacing, and word to use, and how to check each one.

When to use

  • You write or review a page, a card, a figure, or a manual for the course.
  • You need a token value for light or dark mode.
  • You need the label format for a figure, a sub-figure, or a widget.
  • You need to check prose against the plain technical English rules.
  • You add motion and need the timing, the easing, and the reduced motion behaviour.

When not to use

  • You draw a static SVG figure. Use blueprint-figure, which cites this skill.
  • You build an animated or slider figure. Use motion-figure.
  • You build an isometric machine explainer. Use isometric-explainer.
  • You write a full manual. Use write-manual for the structure and the audit.
  • The page belongs to a different product with its own brand.

Method

  1. Set the theme. Put the light tokens on :root and the dark tokens on [data-theme="dark"]. Copy them from references/tokens.md.
  2. Pick the token set. Pages use the site tokens. Manual figures use the --m- tokens.
  3. Load the three fonts with the exact link in references/typography.md. Use the stacks as given.
  4. Give each figure a label in the format from references/labels-and-layout.md.
  5. Build cards and figure frames with the measurements in references/labels-and-layout.md.
  6. Add motion only with the motion tokens. Add the reduced motion block from references/accessibility.md.
  7. Write the prose. Then check every line against references/plain-english.md.
  8. Run the checklist below. Fix each failure before you finish.

Rules

Colour

  • Use one accent per page: --blueprint (#3553ff light, #6b8eff dark). Status tokens and manual figure hues are the only other colours.
  • Write every colour as a CSS variable. A hex value is allowed only as the default inside var().
  • Define every token in both themes. A token without a dark value is a defect.
  • Put body text in --ink or --ink-soft only.
  • Do not use --ink-mute or --warn for body text. Their contrast on the paper is below 4.5:1.
  • Keep the four fixed figure hues: rose for failure, grey for outside, amber for lifecycle, teal for durable state.
  • Use no gradients except the paper dot grid and the dashed rule. Use no rounded corners on cards or frames.

Type

  • Headings use the display font, weight 400, uppercase, letter spacing 0.02em, colour --blueprint.
  • Body text uses the serif at 18px with line height 1.62.
  • Labels, meta lines, and code use the mono font, uppercase for labels, letter spacing 0.06em to 0.16em.
  • Figure text is at least 11 units at a 640-unit width.

Labels

  • A course figure number is FIG_ plus three digits, such as FIG_005. Numbers are never reused.
  • A sub-figure adds a dot and a capital letter: FIG_005.A.
  • Separate label parts with a middle dot and one space on each side: FIG_001 · FORWARD PASS.
  • A manual figure is Fig. <part>.<n>, such as Fig. 4.1. Its id is fig-4-1.

Prose

  • Sentences have at most 25 words. Instructions have at most 20 words and use the imperative.
  • A paragraph has one topic and at most six sentences.
  • Use no em dashes, no en dashes, no semicolons, and no contractions.
  • Never write "may". Write "can", or state the condition.
  • Use none of the banned words in references/plain-english.md.
  • Code spans, fenced code, quotes, and citations are exempt.

Motion and access

  • Use only the four durations: 160, 180, 220, and 250 ms.
  • Page reveals start 8px away at opacity 0 and use --ease-out. Modals start 14px lower at scale 0.985.
  • Pressed buttons scale to 0.97.
  • Under prefers-reduced-motion: reduce, remove transitions and animations and show the final state.
  • Every focusable control shows a 2px solid --blueprint outline at a 2px offset.
  • Touch targets in menus and figure controls are at least 44px tall.

Check before you finish

  • Every colour is a var(--token), and each token has a light and a dark value.
  • The page uses one accent colour.
  • No body text uses --ink-mute or --warn.
  • Fonts load from the one Google Fonts link, and the stacks match `referenc
常见问题

它涵盖深色模式吗?

涵盖。它为浅色和深色主题分别提供变量值。

它包含写作规则吗?

包含。它包含课程文字的简明技术英语规则。

它会自己绘制图示吗?

不会。绘制由其他技能负责,它们会使用这些样式规则。

详情

作者的原始描述

The shared visual and writing reference for AI Engineering from Scratch pages, figures, and manuals. Use it for light and dark colour tokens, font stacks, FIG_ label formats, and card layout. Use it for the plain technical English rules and the accessibility and reduced motion defaults. Trigger phrases: "course style", "blueprint palette", "course tokens", "FIG label", "plain technical English", "check my prose", "course fonts", "dark mode tokens"

repo: rohitg00/ai-engineering-from-scratch

热度

GitHub 星标
76k
排名
#2616
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能