scan-to-practice
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "scan-to-practice":https://skillpi.com/zh/skills/deepskill-975d1541d42785f31afd13c4193ce02e66f3da9166365e3a718c09928a298893。安装前核对上游来源和版本:https://github.com/parz0val0/scan-to-practice。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
将扫描件或基于图像的学习材料转化为高质量练习产品的方法论。覆盖视觉转录、数据组装、基于答案键的控件与评分、产品设计、动画、验证及长期维护。适用于把扫描的练习题、练习册页面或题库照片转成桌面、网页或移动端的交互式练习,包括文本输入控件、持久化尝试记录和错题回顾等预期用途。
介绍来源: third_party · parz0val0 · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: scan-to-practice
description: A complete methodology for turning scanned or image-based learning materials into high-quality desktop, web, or mobile practice products. Covers visual transcription, data assembly, answer-key-driven controls and grading, product design, animation, validation, and long-term maintenance. Use when a user wants to convert scanned exercises, workbook pages, or question-bank photos into an interactive practice application, including typed answer controls, persistent attempts, and mistake review.Scan-to-Practice: Scanned Materials to Practice Product
When to use this skill
- The user has scanned PDFs, workbook pages, or question-bank photos and wants an interactive text-based practice product.
- The product needs daily plans, progressive difficulty, progress tracking, mistake review, and multilingual explanations.
- Verified answer records need to become in-place choice, true/false, numeral, or free-text practice controls.
- The user wants to evaluate feasibility, architecture, cost, or quality controls before implementation.
Core principles
- Source fidelity over AI invention. Questions and official answers must come from authorized source material. Clearly label generated examples as synthetic or unofficial.
- Fix data before presentation. Correct transcription and structural problems in source data after making a backup. Keep rendering logic focused on presentation.
- Validate the complete dataset. Sampling is useful for progress reports, not for final conclusions. A script finishing successfully does not prove content correctness.
- Confirm consequential decisions. Ask the user to approve transcription scope, answer format, information architecture, and directory structure before large-scale work.
- Clarify visual or animation changes. Users may strongly value distinctive interactions; confirm the intended behavior before replacing or removing them.
Nine-stage pipeline
1. Rights and source audit
2. Library design: structure, difficulty, and schedule
3. Visual transcription: image to text
4. Data assembly and validation
5. Self-contained content format
6. Application architecture
7. Visual system
8. Animation and assets
9. Packaging, verification, and maintenance
Detailed references:
docs/01-project-journey.md— the complete delivery journey and implementation sequencedocs/02-troubleshooting.md— failure modes organized as symptom, root cause, fix, and verificationdocs/03-methodology.md— the reusable pipeline, design system, cost model, and tool checklistdocs/04-answer-interaction.md— answer-key-driven controls, grading state, failure handling, and coverage verification; read this when implementing answer entry or grading
Quick decision card
| Question | Recommended approach |
|---|---|
| Does the PDF contain a text layer? | Test a representative page with PyMuPDF get_text(). An empty result usually means visual transcription is required. |
| Which transcription engine? | Benchmark a capable paid vision model on representative pages. Conventional OCR may fail on dense tables, answer lines, italics, and complex layouts. |
| What should the prompt require? | Complete transcription; preserve numbering, blank lines, and tables; output source text only; do not explain or translate. |
| How should cost be estimated? | Measure tokens, latency, and retry rates on a small sample, then extrapolate. A reference run of 2,584 pages used about 7.3M tokens, CNY 23–42, and 8–12 background hours. |
| What are the major risks? | Reasoning tokens consuming the output budget, two-dimensional layouts collapsing, long documents being truncated, and segmentation based on ordinary body words. |
| How should difficulty be assigned? | Combine domain consensus, published statistics, task cognitive load, and later calibration from user accuracy. |
| Which desktop stack? | Electron is practical for a rich local interface. Use either simple native JavaScript or a modern React-based stack according to team size. |
| How should answer controls be generated? | Parse verified answers by question number, classify the response type, extract options from the same question range, and attach controls only to matching rendered anchors. Report gaps instead of fabricating structure. |
| What visual direction worked? | A restrained paper-inspired theme, low-chroma OKLCH colors, consistent spacing, and deliberate easing such as cubic-bezier(0.16,1,0.3,1). |
| How should validation work? | Layer syntax checks, full-dataset smoke tests, source-consistency assertions, answer-control coverage from production functions, browser-level interaction tests, and screenshot review. |
| What follows a source-data change? | Synchronize every runtime copy, rebuild indexes, and rerun the full verification suite. |
Validated implementation notes
- Visual transcription averaged roughly 10–13 seconds per page in the reference project.
- Disable unnecessary model reasoning when the provider supports it; otherwise reasoning may consume the output budget and return empty transcription.
- Write each completed page to disk immediately and support resumable processing.
- Use structure anchors such as
SECTION,READING PASSAGE N, andWRITING TASK N; never classify a page from ordinary body-text keywords. - Reconstruct maps and plans programmatically from measured row and column anchors rather than manually counting spaces.
- Subset large fonts with
pyftsubset, then verify every required character. - Use lossless image compression such as
oxipngfor distributable assets. - Extract the actual rendering functions for assertions so test logic cannot silently drift away from production behavior.
- Treat the rendered exercise as the visual source of truth and the verified answer key as grading semantics; never create a control for an answer record without a matching question anchor.
- Classify true/false, yes/no, letter, multiple-letter, Roman-numeral, and free-text answers before rendering controls.
- Key persisted attempts by practice ID, section, and question number, and update only the affected control and mistake summary after grading.
- Normalize free-text answers conservatively and test both accepted variants and near-miss negatives.
- Keep animation frames limited to
transformandopacitywhenever possible.
Common traps
- Markdown table column mismatches can drop cells or prevent table parsing; normalize columns before rendering.
- Long underscore sequences may be interpreted as emphasis; use escaped entities or CSS borders for answer lines.
- An unclosed
<details>element can swallow the rest of the document; assert matching opening and closing counts. - CSS
displayrules can override the HTMLhiddenattribute; add explicit[hidden]{display:none}rules where required. - Full-width spaces can break tables, while normal spaces may be essential for diagrams; normalize them separately.
- A global regular expression reused with
test()carrieslastIndexstate and can skip lines. - A
Questions N-Mrange heading is context, not an answerable row; broad number matching can attach controls to the wrong element. - Global option extraction can borrow labels from an unrelated question range, while broad fuzzy matching can mark a wrong free-text answer as correct.
- Batch success counts prove execution, not content quality; inspect boundaries, compare backups, and run content-level assertions.
- Validate the validators against known-good and known-bad fixtures.
Maintenance protocol
When a new failure pattern appears:
- Reproduce it on a concrete source fragment.
- Decide whether it belongs to data, rendering, interaction, or environment.
- Implement a general rule rather than a one-file patch.
- Measure the full-dataset impact.
- Run targeted checks and the full regression suite.
- Record the new pattern in
docs/02-troubleshooting.mdor the appropriate reference.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供从扫描材料到交互式练习产品的完整端到端方法论
- 覆盖教育、培训等高频刚需场景,具有显著效率提升价值
亮点
- 触发词精准覆盖多种输入格式(PDF、照片、题库)和输出需求(桌面/网页/移动端)
- 边界清晰,避免与其他工具混淆
待提升项
-
缺少端到端示例 原报告严重程度:轻微
文档提供了决策卡片和实现要点,但缺少一个完整的端到端执行示例
改进建议:补充一个从扫描 PDF 到生成可运行练习应用的完整示例流程
亮点
- 九阶段流水线结构清晰,逻辑连贯
- 维护协议完善,便于长期迭代
待提升项
-
外部工具链依赖需用户自行配置 原报告严重程度:轻微
部分推荐工具(如 PyMuPDF、oxipng)需要用户在本地环境安装和配置
改进建议:在文档开头添加工具链准备清单和环境配置说明
亮点
- 异常处理机制健全,覆盖推理 token 消耗、布局坍塌等关键风险点
- 验证体系分层设计,确保数据一致性和功能正确性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。