[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HSNFH4K0WR7VB9SQHRDNN7":3,"skill-same:01M6HSNFH4K0WR7VB9SQHRDNN7":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M6HSNFH4K0WR7VB9SQHRDNN7","safe-file-operations",null,"防止误删文件的安全操作规范。当涉及文件删除、批量移动、rm -rf、rd \u002Fs \u002Fq 等危险操作时使用此 Skill，避免灾难性误删事故。","welflau\u002Fai-dev-system","welflau","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7010385?v=4","01M6HPTDGF18RFY07M229P8CTM","01M6HPTDMRMZCJPYBFEA9XVVYT",3,"MIT","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fmagicai-hub\u002Fskills\u002Fsafe-file-operations\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26],"safe","file","file operations","operations","safe file operations","安全","rd","文件","rm","2026-11-10 10:12:30",false,"---\nname: safe-file-operations\ndescription: \"防止误删文件的安全操作规范。当涉及文件删除、批量移动、rm -rf、rd \u002Fs \u002Fq 等危险操作时使用此 Skill，避免灾难性误删事故。\"\nversion: 1.0.0\n---\n\n# ? 安全文件操作规范（血泪教训版）\n\n## 事故回顾\n\n2026年4月19日，在 CodeBuddyPlugin 项目中，为了清理 `plugin\u002Fout\u002F` 编译输出目录，\n执行了 `rd \u002Fs \u002Fq` 命令，但由于 **PowerShell 与 cmd 语法混淆**，命令被错误解析，\n导致 **整个项目目录被递归删除**，包括：\n\n- `.git\u002F` — 版本历史全部丢失\n- `plugin\u002Fsrc\u002F` — 所有 TypeScript 源码\n- `server\u002F` — 整个后端代码\n- `package.json`、`tsconfig.json` — 项目配置\n- `node_modules\u002F` — 依赖\n- `build.bat`、`install.bat` 等脚本\n- `plugin\u002Fresources\u002Ficon.svg` — 刚刚精心制作的自定义图标\n\n**整个项目从有到无，不可逆转。**\n\n---\n\n## ? 绝对禁止（NEVER DO）\n\n### 1. 禁止使用 `rd \u002Fs \u002Fq`、`rm -rf`、`Remove-Item -Recurse -Force` 清理目录\n- **永远不要**用这些命令来清理编译输出、临时文件\n- 即使目标路径看起来正确，Shell 语法差异可能导致灾难\n- PowerShell 中 `rd` 是 `Remove-Item` 的别名，行为与 cmd 的 `rd` **不完全相同**\n\n### 2. 禁止在项目根目录附近执行任何递归删除命令\n- 哪怕目标是子目录，一个路径解析错误就会删掉整个项目\n- 尤其是包含空格、特殊字符、或使用变量拼接路径时\n\n### 3. 禁止先删后建的文件操作模式\n- 不要 `delete` + `write`，直接 `write_to_file` 覆盖即可\n- `write_to_file` 本身就是覆盖语义，不需要先删除\n\n---\n\n## ? 正确做法（ALWAYS DO）\n\n### 清理编译输出\n```\n# 正确：使用专用工具，不用终端命令\n- 用 IDE 的 clean 命令\n- 或手动删除 out\u002F 下的 .js 文件（不要删 out\u002F 目录本身）\n- 如果必须用命令，先 `dir` \u002F `ls` 确认目标内容\n```\n\n### 如果确实需要删除目录\n1. **先 `ls` \u002F `dir` 列出内容**，确认是预期的目标\n2. **只删除文件，不删除目录结构**（用 `del \u002Fq out\\*.js` 而非 `rd \u002Fs \u002Fq out`）\n3. **使用 IDE 工具** (`delete_file`) 逐个删除，而非批量终端命令\n4. **绝不在包含 .git 的目录层级使用递归删除**\n\n### 文件修改\n- 修改文件 → `replace_in_file`（精确替换）\n- 重写文件 → `write_to_file`（自动覆盖）\n- 新建文件 → `write_to_file`\n- 删除文件 → `delete_file`（仅限确实要移除的文件）\n\n---\n\n## ⚠️ Shell 陷阱提醒\n\n| 场景 | 危险 | 安全替代 |\n|------|------|----------|\n| 清理 out\u002F | `rd \u002Fs \u002Fq out` | `del \u002Fq out\\*.js` 或 IDE 工具 |\n| 清理 node_modules | `rd \u002Fs \u002Fq node_modules` | `npm ci`（会自动清理重装）|\n| PowerShell 中用 cmd 语法 | 命令被错误解析 | 确认当前 Shell 类型再执行 |\n| 路径含空格 | 未加引号导致截断 | 始终用引号包裹路径 |\n| 变量拼接路径 | 变量为空则删根目录 | 先 echo 路径确认 |\n\n---\n\n## ? 核心原则\n\n> **对破坏性操作保持极度偏执。**\n> \n> 宁可多花 10 秒确认，也不要花 10 小时恢复。\n> \n> 如果一个操作可能删除用户代码，就假设它**一定会**出错。\n> \n> **能用 IDE 工具完成的事，绝不用终端命令。**\n\n---\n\n## 检查清单（执行危险操作前必须过一遍）\n\n- [ ] 我确认了当前 Shell 是 PowerShell 还是 cmd？\n- [ ] 我确认了目标路径是正确的（不是父目录）？\n- [ ] 这个操作如果出错，最坏后果是什么？\n- [ ] 有没有更安全的替代方案（IDE 工具）？\n- [ ] 项目是否有 git 提交\u002F远程备份可以恢复？\n- [ ] 我是否可以用 `replace_in_file` 或 `write_to_file` 代替终端操作？\n","# ? 安全文件操作规范（血泪教训版）\n\n## 事故回顾\n\n2026年4月19日，在 CodeBuddyPlugin 项目中，为了清理 `plugin\u002Fout\u002F` 编译输出目录，\n执行了 `rd \u002Fs \u002Fq` 命令，但由于 **PowerShell 与 cmd 语法混淆**，命令被错误解析，\n导致 **整个项目目录被递归删除**，包括：\n\n- `.git\u002F` — 版本历史全部丢失\n- `plugin\u002Fsrc\u002F` — 所有 TypeScript 源码\n- `server\u002F` — 整个后端代码\n- `package.json`、`tsconfig.json` — 项目配置\n- `node_modules\u002F` — 依赖\n- `build.bat`、`install.bat` 等脚本\n- `plugin\u002Fresources\u002Ficon.svg` — 刚刚精心制作的自定义图标\n\n**整个项目从有到无，不可逆转。**\n\n---\n\n## ? 绝对禁止（NEVER DO）\n\n### 1. 禁止使用 `rd \u002Fs \u002Fq`、`rm -rf`、`Remove-Item -Recurse -Force` 清理目录\n- **永远不要**用这些命令来清理编译输出、临时文件\n- 即使目标路径看起来正确，Shell 语法差异可能导致灾难\n- PowerShell 中 `rd` 是 `Remove-Item` 的别名，行为与 cmd 的 `rd` **不完全相同**\n\n### 2. 禁止在项目根目录附近执行任何递归删除命令\n- 哪怕目标是子目录，一个路径解析错误就会删掉整个项目\n- 尤其是包含空格、特殊字符、或使用变量拼接路径时\n\n### 3. 禁止先删后建的文件操作模式\n- 不要 `delete` + `write`，直接 `write_to_file` 覆盖即可\n- `write_to_file` 本身就是覆盖语义，不需要先删除\n\n---\n\n## ? 正确做法（ALWAYS DO）\n\n### 清理编译输出\n```\n# 正确：使用专用工具，不用终端命令\n- 用 IDE 的 clean 命令\n- 或手动删除 out\u002F 下的 .js 文件（不要删 out\u002F 目录本身）\n- 如果必须用命令，先 `dir` \u002F `ls` 确认目标内容\n```\n\n### 如果确实需要删除目录\n1. **先 `ls` \u002F `dir` 列出内容**，确认是预期的目标\n2. **只删除文件，不删除目录结构**（用 `del \u002Fq out\\*.js` 而非 `rd \u002Fs \u002Fq out`）\n3. **使用 IDE 工具** (`delete_file`) 逐个删除，而非批量终端命令\n4. **绝不在包含 .git 的目录层级使用递归删除**\n\n### 文件修改\n- 修改文件 → `replace_in_file`（精确替换）\n- 重写文件 → `write_to_file`（自动覆盖）\n- 新建文件 → `write_to_file`\n- 删除文件 → `delete_file`（仅限确实要移除的文件）\n\n---\n\n## ⚠️ Shell 陷阱提醒\n\n| 场景 | 危险 | 安全替代 |\n|------|------|----------|\n| 清理 out\u002F | `rd \u002Fs \u002Fq out` | `del \u002Fq out\\*.js` 或 IDE 工具 |\n| 清理 node_modules | `rd \u002Fs \u002Fq node_modules` | `npm ci`（会自动清理重装）|\n| PowerShell 中用 cmd 语法 | 命令被错误解析 | 确认当前 Shell 类型再执行 |\n| 路径含空格 | 未加引号导致截断 | 始终用引号包裹路径 |\n| 变量拼接路径 | 变量为空则删根目录 | 先 echo 路径确认 |\n\n---\n\n## ? 核心原则\n\n> **对破坏性操作保持极度偏执。**\n> \n> 宁可多花 10 秒确认，也不要花 10 小时恢复。\n> \n> 如果一个操作可能删除用户代码，就假设它**一定会**出错。\n> \n> **能用 IDE 工具完成的事，绝不用终端命令。**\n\n---\n\n## 检查清单（执行危险操作前必须过一遍）\n\n- [ ] 我确认了当前 Shell 是 PowerShell 还是 cmd？\n- [ ] 我确认了目标路径是正确的（不是父目录）？\n- [ ] 这个操作如果出错，最坏后果是什么？\n- [ ] 有没有更安全的替代方案（IDE 工具）？\n- [ ] 项目是否有 git 提交\u002F远程备份可以恢复？\n- [ ] 我是否可以用 `replace_in_file` 或 `write_to_file` 代替终端操作？\n",{"name":5,"version":32,"description":7},"1.0.0","main","18d0e63d1313ca87098f614aa7c1e2dcf6de79c7","backend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fmagicai-hub\u002Fskills\u002Fsafe-file-operations",1,"https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system","https:\u002F\u002Fgithub.com\u002Fwelflau","2026-11-12 14:55:20",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add welflau\u002Fai-dev-system --skill safe-file-operations",{"tool":46,"command":47},"bunx","bunx skills add welflau\u002Fai-dev-system --skill safe-file-operations",{"tool":49,"command":50},"pnpm","pnpm dlx skills add welflau\u002Fai-dev-system --skill safe-file-operations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fmagicai-hub\u002Fskills\u002Fsafe-file-operations\u002FSKILL.md",true,[],[55,89,121,146,172,196],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":68,"publishedAt":27},"01M6HSTDP4M3JFXEBK91VFB4PA","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FSKILL.md",[63],{"categoryNo":64,"categoryName":65,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[69,70,71,72,73,74,75,76,77,78,79,80,19,81,82,83,84,85,86,87,88],"web artifacts builder","web","artifacts","artifacts builder","builder","frontend","css","components","react","routing","state management","state","Tailwind","use","single-file","simple","ui components","multi","for","single",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":105,"publishedAt":27},"01M6HSDXH0JSP8R3QTNY9XZ8HN","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FSKILL.md",[96,97,100],{"categoryNo":64,"categoryName":65,"taxonomyType":66,"taxonomyTypeDesc":67},{"categoryNo":98,"categoryName":99,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":101,"categoryName":102,"taxonomyType":103,"taxonomyTypeDesc":104},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[74,106,107,75,70,76,77,108,109,110,71,111,112,113,82,114,115,116,117,118,119,120],"design","frontend design","react components","create","code","examples","applications","landing","ui design","pages","aesthetics","web ui","with","generic","when",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":129,"publishedAt":27},"01M6HSA77QYVP7A72HREGTDN2C","algorithmic-art","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FSKILL.md",[128],{"categoryNo":98,"categoryName":99,"taxonomyType":66,"taxonomyTypeDesc":67},[130,131,132,109,110,133,134,135,136,82,137,138,139,140,118,141,142,143,144,145,120],"algorithmic art","Art","algorithmic","flow","js","work","interactive","generative art","exploration","systems","users","Existing","request","generative","copyright","fields",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":150,"sourceHtmlUrl":151,"categories":152,"keywords":154,"publishedAt":27},"01M6HS9HE0X390Y6RQKTY1YNGJ","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FSKILL.md",[153],{"categoryNo":98,"categoryName":99,"taxonomyType":66,"taxonomyTypeDesc":67},[155,156,157,158,159,160,71,161,162,163,113,164,165,115,166,118,167,168,169,87,170,171],"theme factory","factory","theme","docs","toolkit","generate","SET","fly","slides","styling","artifact","themes","you","fonts","can","apply","new",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":181,"publishedAt":27},"01M6HS74GASM6FJ77F83EY679E","browsing","Use when you need direct browser control - teaches Chrome DevTools Protocol for controlling existing browser sessions, multi-tab management, form automation, and content extraction via use_browser MCP tool","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fsuperpowers-chrome\u002Fskills\u002Fbrowsing\u002FSKILL.md",[178],{"categoryNo":179,"categoryName":180,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000023","Skill与智能体开发",[174,182,183,184,185,186,187,188,189,190,191,82,192,193,194,195,86,167,87,141],"MCP","automation","chrome","sessions","protocol","browser","devtools","chrome devtools","tool","direct","browser control","control","via","form",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":200,"sourceHtmlUrl":201,"categories":202,"keywords":209,"publishedAt":27},"01M6HS6BZT2CKDNQ6YF20DXN4T","slack-gif-creator","Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like \"make me a GIF of X doing Y for Slack.\"","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fslack-gif-creator\u002FSKILL.md",[203,206],{"categoryNo":204,"categoryName":205,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000005","邮件与沟通",{"categoryNo":207,"categoryName":208,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000016","图像与多媒体",[210,211,212,213,214,215,216,217,218,82,219,140,220,221,222,87,142,120],"slack gif creator","slack","gif","creator","validation","Tools","constraints","Animation","knowledge","me","make","Utilities","concepts"]