跳到正文
cccskills
免费在 GitHub 公开

course-style

Apply shared visual and writing rules to course pages, figures, and manuals. Check colors, fonts, labels, layouts, plain technical English, dark themes, keyboard focus, touch targets, and reduced-motion behavior against defined reference values.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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"

查看安装方法

适用场景

  • Applying consistent colors and fonts to course pages
  • Checking dark theme colors and text readability
  • Standardizing figure labels and card layouts
  • Reviewing technical English for clarity
  • Checking focus, touch targets, and reduced-motion behavior

包含的文件(6)

  • SKILL.md6.1 KB
  • references/accessibility.md4.2 KB
  • references/labels-and-layout.md5.8 KB
  • references/plain-english.md8.5 KB
  • references/tokens.md6.6 KB
  • references/typography.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 references/typography.md.
  • Every figure has a label in a format from references/labels-and-layout.md.
  • No label uses an em dash as a separator.
  • Every transition uses a motion token, and a reduced motion block exists.
  • Every control has a visible focus outline. Menu rows and figure controls are 44px tall or more.
  • The prose check in references/plain-english.md reports zero hits.
  • You switched the theme to dark and read the page again.

Files

  • references/tokens.md: site and figure tokens for light and dark, hue meanings, motion tokens, measured contrast.
  • references/typography.md: font stacks, the font link, type scale, and label styles.
  • references/labels-and-layout.md: FIG_ formats, file names, card layout, and figure frames.
  • references/plain-english.md: the full prose rule list, the banned words, and a checker.
  • references/accessibility.md: focus, targets, figure markup, theme start-up, and reduced motion.

Inside the AI Engineering from Scratch repo, the source values live in site/style.css, manuals/_shared/tokens.css, and scripts/audit_manuals.js.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create static SVG diagrams, scalable images for lessons, READMEs, and manuals. It uses real system names, nine diagram types, and consistent colors and arrows, with checks for readable labels, accessible descriptions, and valid markup.

中文简介正在准备中。当前显示英语简介。

  • Add a diagram of system interactions to a README
  • Explain state transitions in a manual
  • Illustrate data flow from logs or specifications
rohitg00/ai-engineering-from-scratch7.1万2026年10月19日 更新

Learn AI engineering by building a project one stage at a time. The tutor guides predictions, learner-written code, automated checks, and reflection, then records progress so the next session can continue from the right stage.

中文简介正在准备中。当前显示英语简介。

  • Learn AI engineering through hands-on projects
  • Resume a project from the next unfinished stage
  • Find coding mistakes with step-by-step hints
rohitg00/ai-engineering-from-scratch7.1万2026年10月19日 更新

Run a local check of test evidence and retain source paths in the result. The workflow stops when required evidence is missing, keeping the findings tied to their sources.

中文简介正在准备中。当前显示英语简介。

  • Checking local test evidence
  • Keeping source paths in check results
  • Stopping a check when evidence is missing
rohitg00/ai-engineering-from-scratch7.1万2026年10月19日 更新

Test your understanding of a phase in AI Engineering from Scratch through eight multiple-choice questions. Receive a score, explanations for incorrect answers, and specific lessons to review before continuing your studies.

中文简介正在准备中。当前显示英语简介。

  • Checking your understanding after completing a phase
  • Assessing readiness for the next phase
  • Finding lessons to review from incorrect answers
rohitg00/ai-engineering-from-scratch7.1万2026年10月19日 更新

Prepare for four Claude certification tracks through guided lessons, practical exercises, quizzes, and mock exams. The tutor checks understanding and learner-created work, records progress, and uses assessment results to guide review.

中文简介正在准备中。当前显示英语简介。

  • Choosing a certification track for a learning goal
  • Resuming lessons from saved progress
  • Completing guided exercises without writing code
rohitg00/ai-engineering-from-scratch7.1万2026年10月19日 更新

Find relevant lessons in AI Engineering from Scratch from a topic, question, or bug. Get a short selection of lessons, necessary prerequisites, and the next learning command, with dedicated routes for specialized subjects.

中文简介正在准备中。当前显示英语简介。

  • Finding lessons on a topic you want to learn
  • Locating lessons that explain a bug's underlying cause
  • Choosing what to study next based on your progress
rohitg00/ai-engineering-from-scratch7.1万2026年10月19日 更新

查看 rohitg00 的全部技能

报告此技能的问题