← Back to Skills Marketplace
unclecheng-li

Note Skill

by Unclecheng · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
34
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install note-skill
Description
生成手写笔记本风格的单文件 HTML 学习笔记。当用户需要将技术内容、漏洞分析、知识总结等转化为视觉精美的网页笔记时使用。
README (SKILL.md)

学霸笔记 Skill

生成手写笔记本风格的单文件 HTML 学习笔记,视觉模拟真实笔记本:螺旋装订孔、横线纸、胶带、咖啡渍、手写字体、涂鸦装饰。

⚠️ 硬性约束(P0 级别,必须遵守)

  • 禁止使用 emoji 作为任何图标或装饰符号
  • 所有图标必须使用 Lucide SVG 图标库(通过 CSS class 引入,如 \x3Ci class="lucide-bug">\x3C/i>
  • 包括但不限于:标题前缀、小节图标、便签装饰、涂鸦装饰、日期徽章等
  • 如果需要图标,必须从 references/components.md 的 Lucide 图标表中选取

适用场景

  • 技术笔记、漏洞分析、安全研究记录
  • 知识点总结、课程笔记、读书笔记
  • 需要"手写感"和"个人风格"的内容呈现
  • 社交媒体分享的技术科普内容

不适用场景

  • 正式报告、商业文档(太随意)
  • 需要打印的内容(深色背景浪费墨水)
  • 大量表格数据(手写风格不适合密集表格)

完整工作流

Step 1 · 需求澄清

如果用户未提供完整内容,需澄清以下问题:

  1. 笔记主题:标题是什么?副标题?
  2. 内容大纲:有哪些章节/知识点?
  3. 技术术语:需要高亮的关键词、代码术语?
  4. 视觉元素:需要哪些组件(流程图、对比框、警告框、代码块等)?
  5. 图标主题:需要哪些装饰图标(bug、锁、代码、AI 等)?使用 Lucide SVG 图标。

Step 2 · 拷贝模板

mkdir -p "项目/XXX/notes"
cp "\x3CSKILL_ROOT>/assets/template.html" "项目/XXX/notes/index.html"

立即修改 \x3Ctitle> 标签中的占位符 [必填] 替换为笔记标题

Step 3 · 填充内容

  1. 预检:读取模板的 \x3Cstyle> 块,确认所有可用的组件类名。
  2. 选择布局:从 references/layouts.md 中选择合适的页面布局。
  3. 使用组件:从 references/components.md 中挑选组件(流程图、对比框、攻击链、代码块等)。
  4. 添加入场动画:所有内容元素添加 write-in 类和递增的 animation-delay
  5. 添加便签:在关键位置添加 .side-note 做旁注提醒。
  6. 添加装饰图标必须使用 Lucide SVG 图标\x3Ci class="lucide-xxx">\x3C/i>),绝对禁止使用 emoji。参考 references/components.md 中的图标表。

Step 4 · 对照检查清单自检

生成后,打开 references/checklist.md 逐项检查。

Step 5 · 本地预览

直接在浏览器中打开生成的 HTML 文件即可预览。

Step 6 · 迭代

根据用户反馈修改,调整内容、样式、动画延迟等。


设计原则

  1. 手写感第一:字体用 Kalam/Patrick Hand/Zeyada,模拟真实手写。
  2. 纸质质感:米黄背景 + 横线 + 红色装订线 + 阴影。
  3. 装饰克制:胶带、咖啡渍、涂鸦是点缀,不能喧宾夺主。
  4. 颜色编码:红=警告/强调、蓝=信息/术语、绿=安全/正面、紫=技术/代码。
  5. 动画节奏write-in 动画按内容顺序递增延迟,模拟"边写边出现"。
  6. 便签即旁注.side-note 用于补充说明,旋转角度增加真实感。
  7. 单文件输出:所有 CSS/JS 内联,浏览器直接打开。
  8. 禁止 emoji:不使用 emoji 作为图标。需要图标时,使用 Lucide SVG 图标库(通过 CSS class 引入,如 \x3Ci class="lucide-bug">\x3C/i>)。

资源文件结构

note-skill/
├── SKILL.md                    # 本文件
├── assets/
│   └── template.html           # 基础模板
└── references/
    ├── layouts.md              # 页面布局库
    ├── components.md           # 组件手册
    └── checklist.md            # 质量检查清单

加载顺序:SKILL.md → 读取模板 → 参考 layouts.md → 参考 components.md → 自检 checklist.md

Usage Guidance
Install only if you want an agent to generate styled HTML notes. Be aware that generated pages may contact Google Fonts and unpkg when opened, and consider narrowing the trigger words or removing remote assets if you need offline/private notes.
Capability Assessment
Purpose & Capability
The skill’s purpose is to turn learning, technical, and vulnerability-analysis content into handwritten-style single-page HTML notes; the security-themed components fit that stated scope, though one exploit-like example should be treated as illustrative text rather than guidance to run it.
Instruction Scope
The workflow is mostly scoped to copying and editing a local HTML template, but generic trigger words such as “笔记” and “note” could cause over-broad activation in ordinary note-taking requests.
Install Mechanism
No package install, executable installer, dependency declaration, or privileged setup was found; the only operational command copies the bundled template into a project notes directory.
Credentials
The generated HTML is described as single-file, but it loads Google Fonts and Lucide CSS from third-party CDNs when opened, which is proportionate to the visual design goal but should be disclosed to users.
Persistence & Privilege
No background worker, autorun hook, credential/session access, privilege escalation, destructive file operation, or persistent agent behavior was found.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install note-skill
  3. After installation, invoke the skill by name or use /note-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
学霸笔记 1.0.0 发布:为学习者和技术人员带来手写风格的单文件 HTML 笔记生成工具。 - 支持生成螺旋孔、横线纸、手写字体等实物笔记本风格的 HTML 文件 - 严格限定所有图标仅可使用 Lucide SVG 图标库(禁止使用 emoji) - 丰富组件和装饰元素(如胶带、咖啡渍、便签、涂鸦)任意组合 - 提供详细工作流,包括需求澄清、模板拷贝、内容填充、质量自检 - 适配多种学习场景,强调手写感和个性化呈现
Metadata
Slug note-skill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Note Skill?

生成手写笔记本风格的单文件 HTML 学习笔记。当用户需要将技术内容、漏洞分析、知识总结等转化为视觉精美的网页笔记时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 34 downloads so far.

How do I install Note Skill?

Run "/install note-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Note Skill free?

Yes, Note Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Note Skill support?

Note Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Note Skill?

It is built and maintained by Unclecheng (@unclecheng-li); the current version is v1.0.0.

💬 Comments