本文へ移動
cccskills
無料GitHub で公開

isometric-explainer

Builds an interactive isometric machine page. Each station of one invented machine stands for one step of a process. A pure, tested state model drives the motion, the readouts and the copy. The page has controls and a verification loop. Trigger phrases: "isometric explainer", "machine explainer", "explain this as a machine", "interactive isometric figure", "explorable explainer", "show how it works inside".

インストール方法を見る

含まれるファイル(14)

  • SKILL.md7.7 KB
  • kit/iso-kit.mjs34.4 KB
  • kit/lathe.mjs46.9 KB
  • kit/LICENSE1.0 KB
  • kit/tube.mjs13.9 KB
  • references/concept.md3.6 KB
  • references/geometry.md5.7 KB
  • references/live.md5.1 KB
  • references/state-model.md3.4 KB
  • references/verify.md5.2 KB
  • templates/build.mjs9.4 KB
  • templates/live.js10.5 KB
  • templates/model.mjs1.9 KB
  • templates/model.test.mjs1.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Isometric Explainer

This skill makes a single-page interactive figure. The figure is a solid isometric machine on a bench. Each station of the machine stands for one step of a process. For example, a request card moves on a carriage, a probe drops, and a press stamps the card. A pure state model decides every move, so the picture, the numbers and the words match. The templates/ folder holds a working starter, and kit/ holds the geometry library it uses.

When to use

  • The concept is a process with stations, order and failure modes: a loop, a pipeline, a cache, a queue, a retry policy.
  • The reader can break one part and see what fails.
  • The figure is the main content of a page.

When not to use

  • A static diagram explains the idea. Make a flat SVG figure instead.
  • The concept has no order or state change. Make a static figure instead.
  • The figure is a small diagram inside a lesson or a README. Use the sibling skill blueprint-figure.
  • You cannot write a deterministic model of the behavior. Do not animate a guess.
  • The job needs more than 150 parts and the user has not approved the size.

Method

  1. Invent the machine. Write one sentence: "X moves through Y, and that motion means Z." If you cannot write it, pick another machine. See references/concept.md.

  2. Count the parts on paper before you draw, and pick a tier.

    TierPartsApproval
    Figure40 to 80not needed
    Hero80 to 150not needed
    Largermore than 150get the user's approval first
  3. Write the state model first. Make model.mjs pure and deterministic, with no DOM and no clock. simulate(config) returns an event list and totals. Test it before any geometry. See references/state-model.md.

  4. Map each concept to a station. Write a table: station, concept word for its nameplate, what it does, what fails without it.

  5. Write the parts list. List each part with its assembly, size in world units, tone and whether it moves. Geometry comes after the list.

  6. Set the camera. Use world units and one isometric camera. Set elevation to 30 degrees. Pick the azimuth so the working faces point at the viewer. Fit the projection over the assembled and the exploded pose.

  7. Build the static geometry once. Each part becomes one SVG group with a depth key. Movers get a data-live hook. See references/geometry.md.

  8. Animate by translation. Move a part by changing its transform only. Rebuild a path only when its shape changes, such as a rod that gets longer.

  9. Paint from back to front. Sort groups by depth key plus the depth of their current offset. Reorder the DOM only when the order changes.

  10. Use one accent colour. Exactly one accent colour marks the active part and its nameplate. Everything else uses four grey shades and four line tones.

  11. Add controls that change the model. Run, step, break, repair, reset and the config switches all act on a real simulate run. Write the config to the URL. See references/live.md.

  12. Verify the page in a headless browser. Take screenshots at desktop and phone width in both themes. Add 4x close-ups, a line-end check, a scenario sweep with zero console errors and a contact sheet. See references/verify.md.

Rules

Truth:

  • The state model is the single source of truth. Motion, readouts, trace lines and outcome text all come from its events.
  • simulate with the same config returns the same events. A test proves this for every config combination.
  • Never fake a real model, a real service or real metrics. A scripted part says "fixed script" in the page copy.
  • Every page with simulated timing shows a sentence that starts "This is a simulation." and says that times are fixed costs, not measurements.
  • Use real arithmetic in the model. Tests assert the exact numbers that the page prints.

Geometry:

  • All coordinates are world units. Pixels appear only in the projection.
  • Elevation is 30 degrees. The azimuth is one fixed value for the whole page. The reference page uses 60.
  • Solids use four shade bands and an outline. Lines use the tones hi, mid, lo and faint.
  • Every line ends on a solid or on another line. A line with a deliberate loose end carries data-free="start", "end" or "".
  • Each station carries an engraved nameplate with its concept word in capitals, such as CACHE or VERIFIER.
  • A part that rests on another part gets a depth bias so it paints after its support.

Motion:

  • Movers change transform only. A path that changes shape is rebuilt from cached results where it can be.
  • One beat lasts 0.1 to 1.3 seconds. Travel time grows with distance.
  • Explode uses a spring with stiffness 64, damping 14.2 and a 0.04 s stagger per assembly.
  • Clamp the frame step to 1/20 s so a slow frame never skips a beat.
  • With reduced motion, runs advance 40 times faster and explode snaps to its end pose.
  • The animation loop stops when the stage is off screen and when nothing moves.

Page:

  • The workbench fits one screen at desktop width: toolbar, stage and readouts in 100svh.
  • At phone width the page stacks and never scrolls sideways.
  • Buttons are at least 44 px tall. The stage takes focus and has keyboard keys for run, step, explode, break and repair.
  • The SVG has role="img" and an aria-label that names every station.
  • An aria-live="polite" region announces the outcome when a run ends.

Check before you finish

  • The one-sentence machine statement is written in the page copy or the build notes.
  • The part count matches the approved tier.
  • Model tests pass, including a sweep over every config combination.
  • The page is the output of the build script. Rebuilding produces no diff.
  • Every config control calls simulate and updates the URL.
  • Opening the URL with ? parameters restores the same config.
  • Exactly one accent colour shows at any moment, and it follows the active part.
  • Every station shows a readable nameplate in both themes and at phone width.
  • The line-end check reports zero loose ends.
  • The scenario sweep runs every config to the end with zero console errors.
  • Desktop and phone screenshots in light and dark show no clipping and no horizontal scroll.
  • The exploded pose stays inside the stage.
  • The simulation sentence is on the page.

Files

  • references/concept.md: invent the machine, the one-sentence test, concept mapping, sizing.
  • references/state-model.md: the model contract, event shape, tests, URL state.
  • references/geometry.md: units, camera, parts list, kit functions, shading, depth keys, nameplates.
  • references/live.md: the beat timeline, the draw loop, sorting, accent, controls, accessibility, layout.
  • references/verify.md: the headless verification loop with a script.
  • templates/model.mjs, templates/model.test.mjs, templates/build.mjs, templates/live.js: a working cache machine. Run node templates/build.mjs to write templates/out.html. Run node --test templates/model.test.mjs for the model tests.
  • kit/iso-kit.mjs, kit/lathe.mjs, kit/tube.mjs: projection, solids, lathe bodies, tubes and the base CSS. Keep kit/LICENSE with the kit.

Inside the AI Engineering from Scratch repo, also see scripts/agent-machine/ and site/test_agent_machine.js for a full hero build with 57 depth-sorted items.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Draws static SVG figures for lessons, READMEs and manuals in the AI Engineering from Scratch look: paper panel, blueprint accent, nine figure kinds, fixed hue meanings, eight arrow styles, and checks for legibility and markup. Trigger phrases: "draw a figure", "blueprint figure", "sequence figure", "state machine figure", "figure for this lesson", "add a diagram to the manual".

日本語の概要は準備中です。原文の説明を表示しています。

rohitg00/ai-engineering-from-scratch6.9万2026年10月13日 更新

Hands-on project tutor for the AI Engineering from Scratch Projects section. Guides a learner through one stage of a real project per session: read the stage lesson, predict, write the code, run the stage grader, reflect, and record progress in PROJECTS-LEARNING.md. Gives hints, never full solutions. Trigger phrases: "build a project", "next project stage", "continue my project", "start the research report agent".

日本語の概要は準備中です。原文の説明を表示しています。

rohitg00/ai-engineering-from-scratch6.9万2026年10月13日 更新

Run the local test evidence check

日本語の概要は準備中です。原文の説明を表示しています。

rohitg00/ai-engineering-from-scratch6.9万2026年10月13日 更新

Phase quiz for AI Engineering from Scratch. Trigger with "quiz me", "test phase", "check my understanding", "do I know phase 3", or `/check-understanding <phase>`.

日本語の概要は準備中です。原文の説明を表示しています。

rohitg00/ai-engineering-from-scratch6.9万2026年10月13日 更新

AI-native tutor and onboarding workflow for the four independent Claude certification tracks in AI Engineering from Scratch. Use when a learner wants to choose a Claude certification, prepare for CCAO-F, CCDV-F, CCAR-F, or CCAR-P, resume a certification path, learn the next lesson interactively, run and verify practical labs, build scored artifacts, take a diagnostic or mock exam, or remediate weak exam domains from GitHub with Claude Code, Codex, ChatGPT, Cursor, or another agent.

日本語の概要は準備中です。原文の説明を表示しています。

rohitg00/ai-engineering-from-scratch6.9万2026年10月13日 更新

Topic router for the AI Engineering from Scratch curriculum. Give it a topic, a question, or a bug you are fighting, and it points at the exact lessons that teach it, plus the right next command. Trigger phrases: "where do I learn", "which lesson covers", "course guide", "I'm stuck on", "what should I do next", "teach me MCP", "teach me Agent Skills", "where do I prepare for a Claude certification"

日本語の概要は準備中です。原文の説明を表示しています。

rohitg00/ai-engineering-from-scratch6.9万2026年10月13日 更新

rohitg00 のスキルをすべて見る

このスキルの問題を報告する