Edu Solid Geometry

把一道立体几何题解成一个自包含的交互教学网页:左侧 MathJax 分步解析, 右侧 Three.js 可交互 3D 模型(分步高亮 + 镜头切换)。支持三种入口——给定文字题目、 随机出题、上传题目图片识别后解题。覆盖正方体/长方体、棱锥/棱柱、圆柱/圆锥上的线面角、 二面角、异面直线夹角、点到平面距离、体积等题型,统一用"建系+向量法",并由 sympy 精确 计算驱动(答案、3D 坐标、步骤数值同源一致)。其他 agent 也可调用本技能生成此类网页。 触发词:立体几何, 线面角, 二面角, 异面直线, 点到平面距离, 正四棱锥, 正方体求角, 解这道几何题, 随机出一道立体几何题, 这张图里的立体几何题; solid geometry, line-plane angle, dihedral angle, angle between skew lines, distance to plane, interactive geometry solution page.

341 stars 39 forksImages, Video & Audio

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add mingchen666/Reviva --skill edu-solid-geometry
Manual install
git clone --depth 1 https://github.com/mingchen666/Reviva.git /tmp/Reviva
mkdir -p ~/.claude/skills
cp -r /tmp/Reviva/electron/builtin-assets/skills/edu-solid-geometry ~/.claude/skills/edu-solid-geometry

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 立体几何解题 → 交互网页

## 这个技能产出什么
一个可直接用浏览器打开的单页 HTML:左侧题面/答案/分步解析(公式用 MathJax),
右侧是题目对应的 3D 模型(Three.js,可旋转缩放,分步高亮关键元素并切换镜头)。
形态与 `template/lesson.html` 一致。

## 3D 可视化质量要求
立体几何图必须先像一个正确的立体图形,再谈解题步骤。生成 `model` 时优先提供:

- `faces`:低透明度实体面。不要只画线框。
- `edges`:骨架棱;背面/隐藏棱标记 `hidden:true` 或 `dashed:true`。
- `elements`:分步强调用的目标线、目标面、法向量、投影线、截面线、角标、长度标注。
- `cameraPos`:每一步都给合理镜头,默认视角应能一眼看出空间结构。

常见三维结构必须使用确定性拓扑与坐标:
- 正方体/长方体:用 `bodies.cuboid` + `geometry_kernel.cuboid/cube`。
- 三棱锥/正四面体:用 `bodies.tri_pyramid` + `geometry_kernel.regular_tetrahedron` 或题面坐标。
- 四棱锥:用 `bodies.quad_pyramid` + `geometry_kernel.regular_quad_pyramid`。
- 棱柱:用 `bodies.prism`。

不要让模型临时想象哪些边/面存在。点、边、面、辅助线、垂足、投影、角标都应来自同一份 problem spec 和 kernel 计算结果。

## 依赖(重要)
计算核心 `lib/geometry_kernel.py` 依赖 **sympy**。运行脚本前先确认有一个能 import sympy 的
`python3`:跑 `python3 -c "import sympy"`。

**缺库时的处理(Reviva 内置默认)**:若 import 报错(sympy 或后续用到的任何库都同理),
可以自动尝试安装(`python3 -m pip install <库名>`),或换一个已装该库的解释器。
下文命令里的 `python3` 均指这个能跑通依赖的解释器。

## 工作流程

### 第 1 步:得到 problem spec(三入口归一)
把题目整理成结构化 spec(格式见 `references/problem-schema.md`):几何体类型与尺寸、
已知构造点/条件、所求类型与对象、**语言**。
- **文字题目**:直接抽取。
- **图片**:用视觉读图抽取,并**把识别到的题目回显给用户确认**(题面/几何体/尺寸/所求/语言)后再继续。
- **随机出题**:选定几何体与题型,用 kernel 随机参数求解,答案不规整就重抽。

> **输出语言跟随提示词语言**:英文提示 → 英文网页,中文 → 中文。spec 里记下 `language`。

### 第 2 步:用 kernel 精确计算(不要心算)
按 `references/conventions.md` 的建系约定与解法配方,调用 `lib/geometry_kernel.py`:
得到精确坐标、关键向量、法向量、最终答案,以及各步骤要展示的中间量(均为 LaTeX 字符串)。
顶点的 three.js 坐标用 `kernel.to_three(points, scale)` 得到。
Read the full skill on GitHub

Details

Skill name
edu-solid-geometry
Path
electron/builtin-assets/skills/edu-solid-geometry/SKILL.md
Repo updated
15 November 2026

FAQ

What does the Edu Solid Geometry skill do?

把一道立体几何题解成一个自包含的交互教学网页:左侧 MathJax 分步解析, 右侧 Three.js 可交互 3D 模型(分步高亮 + 镜头切换)。支持三种入口——给定文字题目、 随机出题、上传题目图片识别后解题。覆盖正方体/长方体、棱锥/棱柱、圆柱/圆锥上的线面角、 二面角、异面直线夹角、点到平面距离、体积等题型,统一用"建系+向量法",并由 sympy 精确 计算驱动(答案、3D 坐标、步骤数值同源一致)。其他 agent 也可调用本技能生成此类网页。 触发词:立体几何, 线面角, 二面角, 异面直线, 点到平面距离, 正四棱锥, 正方体求角, 解这道几何题, 随机出一道立体几何题, 这张图里的立体几何题; solid geometry, line-plane angle, dihedral angle, angle between skew lines, distance to plane, interactive geometry solution page.

How do I install the Edu Solid Geometry skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add mingchen666/Reviva --skill edu-solid-geometry. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Edu Solid Geometry popular?

It lives in mingchen666/Reviva, which has 341 GitHub stars and 39 forks.

Related skills

Web Access

341

mingchen666/Reviva

所有联网操作必须通过此 skill 处理,包括:搜索、网页抓取、登录后操作、网络交互等。 触发场景:用户要求搜索信息、查看网页内容、访问需要登录的网站、操作网页界面、抓取社交媒体内容(小红书、微博、推特等)、读取动态渲染页面、以及任何需要真实浏览器环境的网络任务。

Other39

AI Animation Skill

341

mingchen666/Reviva

将科普内容文本转换为可视化PPT风格网页的完整工作流。当用户输入科普内容并希望生成演示页面时触发。支持两种模式:(1) 默认模式:将科普内容生成为仿PPT轮播的单页HTML动画网页;(2) 流程图模式:使用Animation模板将已生成的AI_Animation.html按平面UI样式重构。模板已内置于Skill中。触发词包括"生成PPT"、"生成演示网页"、"生成流程图"等。

Frontend & Design39

Bili Note

341

mingchen666/Reviva

Turn Bilibili videos that are already registered and parsed in MindSpace, or Bilibili opus/article posts, into evidence-linked Markdown learning notes. Use whenever the user asks to 提取、提炼、总结、整理 B站/Bilibili 视频、课程、动态、图文或专栏,保存学习笔记,结合评论区补充观点,或从已解析视频中查找带时间戳的内容和关键画面。Video tasks require an authorized mediaId from the current attachment context; this skill never installs or runs its own ASR models.

Productivity & Notes39

Geometry Assistant

341

mingchen666/Reviva

Use when rendering high-school solid-geometry problem data into an interactive 3D standalone HTML artifact with known-condition highlights, step-by-step constructions, faces, polygons, line-plane angles, or dihedral angles.

Images, Video & Audio39

Edu Physics Video

341

mingchen666/Reviva

Use when asked to make an explainer / walkthrough video (讲解视频、解题视频、例题精讲、微课) for a physics problem (物理题: mechanics/力学 受力分析 牛顿定律 斜面 传送带 板块 平抛 圆周 能量 动量, optics/光学 折射, electromagnetism/电磁 带电粒子), from a problem screenshot or text, with Chinese voice-over (GLM-TTS / 智谱 TTS), bilingual zh+en subtitles and blueprint-style canvas animation where the motion follows the real solution — delivered as a browser preview (index.html) first, MP4 export only if the user wants it.

Images, Video & Audio39

Math Explainer

341

mingchen666/Reviva

Generate math explanation videos (animated with Manim) and interactive web pages from a user's request. Use when the user asks to explain, teach, visualize, or animate a math/physics concept, wants a "math video", "讲解视频", "数学动画", "动画演示", a Manim animation, an interactive math demo, an interactive webpage/可视化/网页演示, or to turn a formula/theorem/problem into a visual explainer. By default produces BOTH a Manim-rendered MP4 video and a paired self-contained interactive HTML page sharing the same concept, notation, parameters, and palette. Covers planning the script, writing Manim scenes, rendering

Images, Video & Audio39

Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.