diff --git a/00-Home.md b/00-Home.md new file mode 100644 index 0000000..435c94d --- /dev/null +++ b/00-Home.md @@ -0,0 +1,11 @@ +# Home + +## 入口 +- [[InBox/InBox-目录]] +- [[1Project/项目-目录]] +- [[2Areas/领域-目录]] +- [[3Resources/资源-目录]] +- [[4Archives/归档-目录]] + +## 常用目录 +- [[3Resources/游戏开发/性能优化/性能优化-目录]] diff --git a/1Project/GPU地形/GPU地形-目录.md b/1Project/GPU地形/GPU地形-目录.md new file mode 100644 index 0000000..506868d --- /dev/null +++ b/1Project/GPU地形/GPU地形-目录.md @@ -0,0 +1,11 @@ +--- +tags: + - GPU地形 + - 目录 + - MOC +--- + +- [[GPU Driven Terrain 跟学与实现]] +- [[Houdini PCG]] +- [[地形优化]] + diff --git a/1Project/图文合批/图文合批-目录.md b/1Project/图文合批/图文合批-目录.md new file mode 100644 index 0000000..2094695 --- /dev/null +++ b/1Project/图文合批/图文合批-目录.md @@ -0,0 +1,10 @@ +--- +tags: + - 图文合批 + - 目录 + - MOC +--- + +- [[图文使用不同的Tex2DArr]] +- [[字体字形图片申请]] + diff --git a/1Project/外包/Project_城堡/城堡-目录.md b/1Project/外包/Project_城堡/城堡-目录.md new file mode 100644 index 0000000..96593f5 --- /dev/null +++ b/1Project/外包/Project_城堡/城堡-目录.md @@ -0,0 +1,20 @@ +--- +tags: + - 城堡 + - 外包 + - 目录 + - MOC +--- + +- [[_城堡]] +- [[QA]] +- [[事件系统]] +- [[兵种系统]] +- [[地图系统]] +- [[城堡政务系统]] +- [[家园界面]] +- [[属性系统]] +- [[战斗系统]] +- [[抽卡系统]] +- [[背包系统]] + diff --git a/1Project/构建新框架/MVVM/MVVM-目录.md b/1Project/构建新框架/MVVM/MVVM-目录.md new file mode 100644 index 0000000..6a4cbce --- /dev/null +++ b/1Project/构建新框架/MVVM/MVVM-目录.md @@ -0,0 +1,9 @@ +--- +tags: + - MVVM + - 目录 + - MOC +--- + +- [[欠缺内容]] + diff --git a/1Project/海量渲染战斗/海量渲染战斗-目录.md b/1Project/海量渲染战斗/海量渲染战斗-目录.md new file mode 100644 index 0000000..9b6a12c --- /dev/null +++ b/1Project/海量渲染战斗/海量渲染战斗-目录.md @@ -0,0 +1,12 @@ +--- +tags: + - 海量渲染战斗 + - 目录 + - MOC +--- + +- [[GPU动画]] +- [[批量渲染gpu动画]] +- [[基于GPU蒙皮动画的Spine实现]] +- [[基于GPU动画和ComputeShader的大批量动画渲染Demo(一)之GPU顶点动画]] + diff --git a/1Project/项目-目录.md b/1Project/项目-目录.md new file mode 100644 index 0000000..f10ac51 --- /dev/null +++ b/1Project/项目-目录.md @@ -0,0 +1,17 @@ +--- +tags: + - 项目 + - 目录 + - MOC +--- + +## 入口 +- [[GPU地形/GPU地形-目录]] +- [[图文合批/图文合批-目录]] +- [[海量渲染战斗/海量渲染战斗-目录]] +- [[构建新框架/MVVM/MVVM-目录]] +- [[外包/Project_城堡/城堡-目录]] + +## 单页 +- [[理财]] + diff --git a/2Areas/习惯养成/习惯养成-目录.md b/2Areas/习惯养成/习惯养成-目录.md new file mode 100644 index 0000000..5801eb3 --- /dev/null +++ b/2Areas/习惯养成/习惯养成-目录.md @@ -0,0 +1,12 @@ +--- +tags: + - 习惯养成 + - 目录 + - MOC +--- + +- [[抗压能力]] +- [[拖延症]] +- [[规范日常行为]] +- [[高功能控制欲]] + diff --git a/2Areas/健康/健康-目录.md b/2Areas/健康/健康-目录.md new file mode 100644 index 0000000..353794d --- /dev/null +++ b/2Areas/健康/健康-目录.md @@ -0,0 +1,9 @@ +--- +tags: + - 健康 + - 目录 + - MOC +--- + +- [[运动-拉伸/八段锦/八段锦]] + diff --git a/2Areas/哲学与心理/哲学与心理-目录.md b/2Areas/哲学与心理/哲学与心理-目录.md new file mode 100644 index 0000000..2f9a8e9 --- /dev/null +++ b/2Areas/哲学与心理/哲学与心理-目录.md @@ -0,0 +1,11 @@ +--- +tags: + - 哲学与心理 + - 目录 + - MOC +--- + +- [[他者贡献]] +- [[目的论与原因论]] +- [[打球不敢往里突的人,球技很难增长,人生亦如此]] + diff --git a/2Areas/如何记录笔记/如何记录笔记-目录.md b/2Areas/如何记录笔记/如何记录笔记-目录.md new file mode 100644 index 0000000..bf0a160 --- /dev/null +++ b/2Areas/如何记录笔记/如何记录笔记-目录.md @@ -0,0 +1,14 @@ +--- +tags: + - 笔记方法 + - 目录 + - MOC +--- + +- [[抓捕生活中的灵感]] +- [[段落标记]] +- [[P.A.R.A/笔记如何组织]] +- [[P.A.R.A/操作手册]] +- [[P.A.R.A/如何开启一个项目]] +- [[P.A.R.A/如何结束一个项目]] + diff --git a/2Areas/年度复盘/年度复盘-目录.md b/2Areas/年度复盘/年度复盘-目录.md new file mode 100644 index 0000000..86bf996 --- /dev/null +++ b/2Areas/年度复盘/年度复盘-目录.md @@ -0,0 +1,9 @@ +--- +tags: + - 年度复盘 + - 目录 + - MOC +--- + +- [[2025]] + diff --git a/2Areas/提高效率/提高效率-目录.md b/2Areas/提高效率/提高效率-目录.md new file mode 100644 index 0000000..72984ba --- /dev/null +++ b/2Areas/提高效率/提高效率-目录.md @@ -0,0 +1,10 @@ +--- +tags: + - 效率 + - 目录 + - MOC +--- + +- [[90分钟随机事件法]] +- [[时间体验管理表]] + diff --git a/2Areas/游戏开发/游戏开发-目录.md b/2Areas/游戏开发/游戏开发-目录.md new file mode 100644 index 0000000..37c08b9 --- /dev/null +++ b/2Areas/游戏开发/游戏开发-目录.md @@ -0,0 +1,35 @@ +--- +tags: + - 游戏开发 + - 目录 + - MOC +--- + +## 笔记 +- [[Dispose的一些用法]] +- [[fgui&ugui合批记录]] +- [[pcei速度预估]] +- [[Texture、Texture2D与RenderTexture]] +- [[职业规划]] + +## 开发感悟 +- [[开发感悟/IOC]] +- [[开发感悟/UI框架应该需要些什么]] +- [[开发感悟/接口与抽象类区别]] + +## 战斗编辑器 +- [[战斗编辑器/随想/各个动作组件优劣]] +- [[战斗编辑器/参考文章/3C需要处理事项]] +- [[战斗编辑器/参考文章/EGP框架]] +- [[战斗编辑器/参考文章/游戏知识学习——【战斗系统】]] +- [[战斗编辑器/参考文章/战斗系统 - 3C相关]] +- [[战斗编辑器/参考文章/独立游戏-万字解析游戏战斗系统开发]] +- [[战斗编辑器/参考文章/基于timeline的动作框架]] +- [[战斗编辑器/参考文章/动作游戏拆解/动作游戏拆解]] +- [[战斗编辑器/参考文章/输入框架/游戏输入框架的设计(基于Unity)]] +- [[战斗编辑器/参考文章/写代码的诗人/战斗系统:什么是数据驱动?]] +- [[战斗编辑器/参考文章/写代码的诗人/战斗系统:属性管理]] +- [[战斗编辑器/参考文章/写代码的诗人/战斗系统:技能实现架构]] +- [[战斗编辑器/参考文章/写代码的诗人/战斗系统:状态配置管理(技能配置管理)]] +- [[战斗编辑器/参考文章/写代码的诗人/战斗系统:框架设计—战斗视角的GameObject]] + diff --git a/2Areas/面经/面经-目录.md b/2Areas/面经/面经-目录.md new file mode 100644 index 0000000..3fc1a22 --- /dev/null +++ b/2Areas/面经/面经-目录.md @@ -0,0 +1,9 @@ +--- +tags: + - 面经 + - 目录 + - MOC +--- + +- [[腾讯 网易 完美 字节 游戏客户端 游戏引擎(2020暑期实习岗) 综合笔 面经]] + diff --git a/2Areas/领域-目录.md b/2Areas/领域-目录.md new file mode 100644 index 0000000..81ab93e --- /dev/null +++ b/2Areas/领域-目录.md @@ -0,0 +1,18 @@ +--- +tags: + - Areas + - 目录 + - MOC +--- + +## 入口 +- [[学习]] +- [[健康/健康-目录]] +- [[面经/面经-目录]] +- [[年度复盘/年度复盘-目录]] +- [[如何记录笔记/如何记录笔记-目录]] +- [[提高效率/提高效率-目录]] +- [[习惯养成/习惯养成-目录]] +- [[游戏开发/游戏开发-目录]] +- [[哲学与心理/哲学与心理-目录]] + diff --git a/3Resources/书本/书本-目录.md b/3Resources/书本/书本-目录.md new file mode 100644 index 0000000..3407dda --- /dev/null +++ b/3Resources/书本/书本-目录.md @@ -0,0 +1,9 @@ +--- +tags: + - 书本 + - 目录 + - MOC +--- + +- [[毛选/第一章]] + diff --git a/3Resources/游戏开发/游戏开发-目录.md b/3Resources/游戏开发/游戏开发-目录.md new file mode 100644 index 0000000..3fe4e26 --- /dev/null +++ b/3Resources/游戏开发/游戏开发-目录.md @@ -0,0 +1,38 @@ +--- +tags: + - 游戏开发 + - Resources + - 目录 + - MOC +--- + +## 入口 +- [[性能优化/性能优化-目录]] + +## 渲染/管线 +- [[渲染管线/渲染流程]] +- [[渲染管线/MVP矩阵]] +- [[渲染管线/齐次裁剪空间 NDC坐标]] +- [[渲染管线/UGUI渲染流程]] + +## 渲染效果 +- [[渲染效果/Unity 技术美术Trick —— dither妙用]] +- [[渲染效果/Unity可交互雪地渲染Part5-雪地闪光及SSS]] + +## 资源/打包 +- [[资源/资源导入]] +- [[资源/打包/导航]] +- [[音效资源]] + +## 其他 +- [[CBUFFER]] +- [[Expression]] +- [[Timeline结构及其源码浅析]] +- [[帧同步总结]] +- [[游戏工具包汇总]] +- [[Log插件/Log插件]] + +## 算法 +- [[算法/TopK 问题]] +- [[算法/前中后序遍历]] + diff --git a/3Resources/资源-目录.md b/3Resources/资源-目录.md new file mode 100644 index 0000000..b66d8f5 --- /dev/null +++ b/3Resources/资源-目录.md @@ -0,0 +1,11 @@ +--- +tags: + - Resources + - 目录 + - MOC +--- + +## 入口 +- [[书本/书本-目录]] +- [[游戏开发/游戏开发-目录]] + diff --git a/4Archives/动态图集/动态图集-目录.md b/4Archives/动态图集/动态图集-目录.md new file mode 100644 index 0000000..019fb26 --- /dev/null +++ b/4Archives/动态图集/动态图集-目录.md @@ -0,0 +1,9 @@ +--- +tags: + - 动态图集 + - 目录 + - MOC +--- + +- [[动态图集]] + diff --git a/4Archives/宠物宇宙/宠物宇宙-目录.md b/4Archives/宠物宇宙/宠物宇宙-目录.md new file mode 100644 index 0000000..32100d8 --- /dev/null +++ b/4Archives/宠物宇宙/宠物宇宙-目录.md @@ -0,0 +1,10 @@ +--- +tags: + - 宠物宇宙 + - 目录 + - MOC +--- + +- [[用户卡及游戏信息处理过程设计文档]] +- [[地图编辑器/已经做完的优化]] + diff --git a/4Archives/归档-目录.md b/4Archives/归档-目录.md new file mode 100644 index 0000000..662a7d9 --- /dev/null +++ b/4Archives/归档-目录.md @@ -0,0 +1,12 @@ +--- +tags: + - Archives + - 目录 + - MOC +--- + +## 入口 +- [[宠物宇宙/宠物宇宙-目录]] +- [[动态图集/动态图集-目录]] +- [[租房相关/租房相关-目录]] + diff --git a/4Archives/租房相关/租房相关-目录.md b/4Archives/租房相关/租房相关-目录.md new file mode 100644 index 0000000..7f7cfaf --- /dev/null +++ b/4Archives/租房相关/租房相关-目录.md @@ -0,0 +1,10 @@ +--- +tags: + - 租房 + - 目录 + - MOC +--- + +- [[租新房注意事项]] +- [[讨回押金处理流程]] + diff --git a/InBox/InBox-目录.md b/InBox/InBox-目录.md new file mode 100644 index 0000000..97f28f5 --- /dev/null +++ b/InBox/InBox-目录.md @@ -0,0 +1,17 @@ +--- +tags: + - InBox + - 目录 + - MOC +--- + +## 待处理 +- [[unity-csharp-patch]] +- [[介绍状态同步战斗玩法的设计和实现]] + +## 处理规则(建议) +- 能落地到项目:移动到 `1Project/` +- 属于长期关注领域:移动到 `2Areas/` +- 纯资料/文章/摘录:移动到 `3Resources/` +- 过期资料:移动到 `4Archives/` + diff --git a/InBox/unity-csharp-patch.md b/InBox/unity-csharp-patch.md index 7369a10..b1c47d1 100644 --- a/InBox/unity-csharp-patch.md +++ b/InBox/unity-csharp-patch.md @@ -1 +1,11 @@ -[kandreyc/unity-csharp-patch:该项目的目标是解锁 Unity 中最新的 C# 功能](https://github.com/kandreyc/unity-csharp-patch) \ No newline at end of file +--- +type: clip +created: 2025-08-05 +source: https://github.com/kandreyc/unity-csharp-patch +tags: + - Unity + - CSharp + - InBox +--- + +- [kandreyc/unity-csharp-patch:该项目的目标是解锁 Unity 中最新的 C# 功能](https://github.com/kandreyc/unity-csharp-patch) diff --git a/InBox/介绍状态同步战斗玩法的设计和实现.md b/InBox/介绍状态同步战斗玩法的设计和实现.md index 805b0d8..b5dae83 100644 --- a/InBox/介绍状态同步战斗玩法的设计和实现.md +++ b/InBox/介绍状态同步战斗玩法的设计和实现.md @@ -1 +1,11 @@ -[介绍状态同步战斗玩法的设计和实现(以移动举例)](https://mp.weixin.qq.com/s/cNWUHBjR8GJvtGKIME9ZBg) \ No newline at end of file +--- +type: clip +created: 2025-08-05 +source: https://mp.weixin.qq.com/s/cNWUHBjR8GJvtGKIME9ZBg +tags: + - 战斗 + - 状态同步 + - InBox +--- + +- [介绍状态同步战斗玩法的设计和实现(以移动举例)](https://mp.weixin.qq.com/s/cNWUHBjR8GJvtGKIME9ZBg) diff --git a/copilot-custom-prompts/Emojify.md b/copilot-custom-prompts/Emojify.md new file mode 100644 index 0000000..ff69cb7 --- /dev/null +++ b/copilot-custom-prompts/Emojify.md @@ -0,0 +1,15 @@ +--- +copilot-command-context-menu-enabled: true +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 40 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Add relevant emojis to enhance the text below. Follow these rules: + 1. Insert emojis at natural breaks in the text + 2. Never place two emojis next to each other + 3. Keep all original text unchanged + 4. Choose emojis that match the context and tone + Return only the emojified text. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Explain like I am 5.md b/copilot-custom-prompts/Explain like I am 5.md new file mode 100644 index 0000000..41f1c6c --- /dev/null +++ b/copilot-custom-prompts/Explain like I am 5.md @@ -0,0 +1,14 @@ +--- +copilot-command-context-menu-enabled: false +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 120 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Explain the text below in simple terms that a 5-year-old would understand: + 1. Use basic vocabulary + 2. Include simple analogies + 3. Break down complex concepts + Return only the simplified explanation. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Fix grammar and spelling.md b/copilot-custom-prompts/Fix grammar and spelling.md new file mode 100644 index 0000000..0e547d0 --- /dev/null +++ b/copilot-custom-prompts/Fix grammar and spelling.md @@ -0,0 +1,10 @@ +--- +copilot-command-context-menu-enabled: true +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 0 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Fix the grammar and spelling of the text below. Preserve all formatting, line breaks, and special characters. Do not add or remove any content. Return only the corrected text. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Generate glossary.md b/copilot-custom-prompts/Generate glossary.md new file mode 100644 index 0000000..de3d414 --- /dev/null +++ b/copilot-custom-prompts/Generate glossary.md @@ -0,0 +1,10 @@ +--- +copilot-command-context-menu-enabled: false +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 80 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Create a glossary of important terms, concepts, and phrases from the text below. Format each entry as "Term: Definition". Sort entries alphabetically. Return only the glossary. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Generate table of contents.md b/copilot-custom-prompts/Generate table of contents.md new file mode 100644 index 0000000..2c35602 --- /dev/null +++ b/copilot-custom-prompts/Generate table of contents.md @@ -0,0 +1,10 @@ +--- +copilot-command-context-menu-enabled: false +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 70 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Generate a hierarchical table of contents for the text below. Use appropriate heading levels (H1, H2, H3, etc.). Include page numbers if present. Return only the table of contents. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Make longer.md b/copilot-custom-prompts/Make longer.md new file mode 100644 index 0000000..79b2304 --- /dev/null +++ b/copilot-custom-prompts/Make longer.md @@ -0,0 +1,14 @@ +--- +copilot-command-context-menu-enabled: true +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 60 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Expand the text below to twice its length by: + 1. Adding relevant details and examples + 2. Elaborating on key points + 3. Maintaining the original tone and style + Return only the expanded text. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Make shorter.md b/copilot-custom-prompts/Make shorter.md new file mode 100644 index 0000000..05bbea7 --- /dev/null +++ b/copilot-custom-prompts/Make shorter.md @@ -0,0 +1,14 @@ +--- +copilot-command-context-menu-enabled: true +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 50 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Reduce the text below to half its length while preserving these elements: + 1. Main ideas and key points + 2. Essential details + 3. Original tone and style + Return only the shortened text. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Remove URLs.md b/copilot-custom-prompts/Remove URLs.md new file mode 100644 index 0000000..451de6b --- /dev/null +++ b/copilot-custom-prompts/Remove URLs.md @@ -0,0 +1,10 @@ +--- +copilot-command-context-menu-enabled: false +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 90 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Remove all URLs from the text below. Preserve all other content and formatting. URLs may be in various formats (http, https, www). Return only the text with URLs removed. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Rewrite as press release.md b/copilot-custom-prompts/Rewrite as press release.md new file mode 100644 index 0000000..7c85292 --- /dev/null +++ b/copilot-custom-prompts/Rewrite as press release.md @@ -0,0 +1,14 @@ +--- +copilot-command-context-menu-enabled: false +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 130 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Transform the text below into a professional press release: + 1. Use formal, journalistic style + 2. Include headline and dateline + 3. Follow inverted pyramid structure + Return only the press release format. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Rewrite as tweet thread.md b/copilot-custom-prompts/Rewrite as tweet thread.md new file mode 100644 index 0000000..95f7e5b --- /dev/null +++ b/copilot-custom-prompts/Rewrite as tweet thread.md @@ -0,0 +1,20 @@ +--- +copilot-command-context-menu-enabled: false +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 110 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Convert the text below into a Twitter thread following these rules: + 1. Each tweet must be under 240 characters + 2. Start with "THREAD START" on its own line + 3. Separate tweets with " + +--- + +" + 4. End with "THREAD END" on its own line + 5. Make content engaging and clear + Return only the formatted thread. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Rewrite as tweet.md b/copilot-custom-prompts/Rewrite as tweet.md new file mode 100644 index 0000000..f235c01 --- /dev/null +++ b/copilot-custom-prompts/Rewrite as tweet.md @@ -0,0 +1,14 @@ +--- +copilot-command-context-menu-enabled: false +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 100 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Rewrite the text below as a single tweet with these requirements: + 1. Maximum 280 characters + 2. Use concise, impactful language + 3. Maintain the core message + Return only the tweet text. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Simplify.md b/copilot-custom-prompts/Simplify.md new file mode 100644 index 0000000..dd7a0ef --- /dev/null +++ b/copilot-custom-prompts/Simplify.md @@ -0,0 +1,10 @@ +--- +copilot-command-context-menu-enabled: true +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 30 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Simplify the text below to a 6th-grade reading level (ages 11-12). Use simple sentences, common words, and clear explanations. Maintain the original key concepts. Return only the simplified text. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Summarize.md b/copilot-custom-prompts/Summarize.md new file mode 100644 index 0000000..9511146 --- /dev/null +++ b/copilot-custom-prompts/Summarize.md @@ -0,0 +1,10 @@ +--- +copilot-command-context-menu-enabled: true +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 20 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Create a bullet-point summary of the text below. Each bullet point should capture a key point. Return only the bullet-point summary. + +{copilot-selection} \ No newline at end of file diff --git a/copilot-custom-prompts/Translate to Chinese.md b/copilot-custom-prompts/Translate to Chinese.md new file mode 100644 index 0000000..38259de --- /dev/null +++ b/copilot-custom-prompts/Translate to Chinese.md @@ -0,0 +1,14 @@ +--- +copilot-command-context-menu-enabled: true +copilot-command-slash-enabled: false +copilot-command-context-menu-order: 10 +copilot-command-model-key: "" +copilot-command-last-used: 0 +--- +Translate the text below into Chinese: + 1. Preserve the meaning and tone + 2. Maintain appropriate cultural context + 3. Keep formatting and structure + Return only the translated text. + +{copilot-selection} \ No newline at end of file diff --git a/skills/obsidian-auto-cards/SKILL.md b/skills/obsidian-auto-cards/SKILL.md new file mode 100644 index 0000000..96c5814 --- /dev/null +++ b/skills/obsidian-auto-cards/SKILL.md @@ -0,0 +1,136 @@ +--- +name: obsidian-auto-cards +description: 从当前笔记/文件夹自动提取知识点,在同级创建“卡片/”并生成原子卡片(可选生成卡片目录)。适用于整理 Obsidian 笔记、把长文拆成可复用知识卡。 +--- + +# Obsidian 自动卡片生成 Skill(提示词) + +你是一个 Obsidian 笔记整理助手。你的目标是在**不破坏原笔记**的前提下,把笔记中的“知识点”抽取为可复用的**原子卡片**。 + +## 作用范围与安全边界 + +- 只在用户指定的目录下工作。 +- 只创建/更新该目录下的 `卡片/` 子文件夹内容,以及可选的 `卡片/卡片-目录.md`。 +- **不要**改动 `.obsidian/`、插件配置、工作区布局、已有 `.base` 文件(除非用户明确要求)。 +- 默认不移动/重命名原始笔记文件。 + +## 触发方式 + +当用户说以下任意一句时启用本技能: +- “生成卡片” +- “从这篇笔记生成卡片” +- “整理这个文件夹,自动生成卡片” + +## 需要的输入(尽量少问) + +优先从上下文推断;推断失败时只问 1 个问题: + +1) 目标:单文件还是整个文件夹? +- 单文件:给出 `note_path` +- 文件夹:给出 `folder_path`(递归处理其下所有 `.md`,但排除 `卡片/`) + +可选参数(用户没说就用默认): +- `cards_folder_name`:默认 `卡片` +- `max_cards_per_note`:默认 `12` +- `overwrite`:默认 `false`(若卡片已存在则跳过或仅补充“来源”) +- `create_index`:默认 `true` + +## 输出要求(卡片质量) + +每张卡片必须满足: +- **一个卡片只讲一个知识点**(原子性)。 +- **可读 + 可检索**:标题清晰;包含关键词/标签;有来源回链。 +- **可复用**:优先写成“定义 + 要点 + 示例/坑点”结构。 +- 不要把整篇文章复制进卡片;保持短小精悍。 + +## 知识点自动检索规则(从强到弱) + +从笔记中按优先级提取候选知识点: +1) “术语/概念定义”:形如 `X 是…`、`X:…`、`定义/概念/原理` 小节。 +2) “对比与结论”:形如 `区别/优缺点/适用场景/结论` 小节。 +3) “方法/步骤/流程”:步骤列表、流程图说明、伪代码。 +4) “坑点/注意事项”:包含 `注意/坑/陷阱/误区/常见问题` 的段落或列表项。 +5) “关键公式/参数/阈值”:数学块、关键配置项列表。 + +抽取时保留最少必要上下文(最多 5~10 行等价信息),并把原文细节留在来源笔记中。 + +## 目录与文件组织规则 + +### 卡片文件夹 + +- 对于单文件 `X/笔记.md`:在同目录 `X/卡片/` 创建卡片。 +- 对于文件夹 `X/`:在 `X/卡片/` 创建卡片;扫描 `X/` 下所有 `.md`(递归),但: + - 排除 `X/卡片/` 下的文件 + - 排除 `*-目录.md`、`00-Home.md`(除非用户要求) + +### 卡片命名 + +文件名优先用知识点标题: +- `卡片/<知识点标题>.md` +- 若同名冲突:追加来源笔记名或编号:`<标题>(<来源笔记>)` 或 `<标题>-2` +- 过滤非法文件名字符:`\\ / : * ? \" < > |` + +## 卡片模板(必须用这个) + +```markdown +--- +type: card +created: {{yyyy-MM-dd}} +source: [[<来源笔记相对路径或文件名>]] +source_section: "<可选:标题/小节>" +tags: + - 卡片 + - <可选:从来源 frontmatter 继承的 tag> +--- + +## 定义 +一句话说清楚它是什么/解决什么问题。 + +## 要点 +- 关键点 1 +- 关键点 2 + +## 示例 / 用法(可选) +最小例子、伪代码或使用场景。 + +## 注意 / 坑(可选) +- 常见误区或边界条件。 +``` + +## 去重与更新策略(默认保守) + +- 若 `卡片/<标题>.md` 已存在: + - `overwrite=false`:不覆盖正文;只在末尾追加一条 `source` 或补充缺失的 frontmatter 字段(尽量不打扰用户写的内容)。 + - 用户明确说“覆盖/重生成”才允许重写。 + +## 生成卡片目录(可选,默认开) + +在 `卡片/卡片-目录.md` 生成/更新目录: + +```markdown +--- +tags: + - 目录 + - 卡片 +--- + +# 卡片目录 + +```dataview +LIST +FROM "(这里放卡片文件夹路径)" +WHERE contains(tags, "卡片") +SORT file.name ASC +``` +``` + +如果用户不使用 Dataview,就改成纯 wikilink 列表。 + +## 执行步骤(你必须按这个流程做) + +1) 确定目标(单文件 or 文件夹)与 `卡片/` 路径;必要时创建文件夹。 +2) 扫描来源笔记,按“知识点检索规则”提取候选列表,并做去重。 +3) 逐个生成卡片文件(应用模板、写入来源回链与标签)。 +4) 可选:生成/更新 `卡片-目录.md`。 +5) 最终汇报:生成了多少张卡片、写到了哪些路径;若有跳过/冲突也要列出原因。 + diff --git a/卡片盒skill.md b/卡片盒skill.md new file mode 100644 index 0000000..e69de29 diff --git a/查询数据skill.md b/查询数据skill.md new file mode 100644 index 0000000..e69de29