@rotifer/playground 0.5.0-alpha.2 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/CHANGELOG.md +159 -15
  2. package/LICENSE +1 -1
  3. package/README.md +51 -23
  4. package/README.zh.md +54 -25
  5. package/dist/cloud/auth.d.ts +7 -1
  6. package/dist/cloud/auth.d.ts.map +1 -1
  7. package/dist/cloud/auth.js +65 -1
  8. package/dist/cloud/auth.js.map +1 -1
  9. package/dist/cloud/client.d.ts +4 -1
  10. package/dist/cloud/client.d.ts.map +1 -1
  11. package/dist/cloud/client.js +16 -3
  12. package/dist/cloud/client.js.map +1 -1
  13. package/dist/cloud/types.d.ts +6 -1
  14. package/dist/cloud/types.d.ts.map +1 -1
  15. package/dist/cloud/types.js.map +1 -1
  16. package/dist/commands/agent-create.d.ts.map +1 -1
  17. package/dist/commands/agent-create.js +66 -3
  18. package/dist/commands/agent-create.js.map +1 -1
  19. package/dist/commands/agent-run.d.ts.map +1 -1
  20. package/dist/commands/agent-run.js +296 -32
  21. package/dist/commands/agent-run.js.map +1 -1
  22. package/dist/commands/arena-list.js +8 -2
  23. package/dist/commands/arena-list.js.map +1 -1
  24. package/dist/commands/arena-submit.d.ts.map +1 -1
  25. package/dist/commands/arena-submit.js +45 -17
  26. package/dist/commands/arena-submit.js.map +1 -1
  27. package/dist/commands/arena-watch.js +8 -2
  28. package/dist/commands/arena-watch.js.map +1 -1
  29. package/dist/commands/compile.d.ts.map +1 -1
  30. package/dist/commands/compile.js +9 -3
  31. package/dist/commands/compile.js.map +1 -1
  32. package/dist/commands/init.d.ts.map +1 -1
  33. package/dist/commands/init.js +13 -3
  34. package/dist/commands/init.js.map +1 -1
  35. package/dist/commands/login.d.ts.map +1 -1
  36. package/dist/commands/login.js +23 -16
  37. package/dist/commands/login.js.map +1 -1
  38. package/dist/commands/network.js +4 -4
  39. package/dist/commands/network.js.map +1 -1
  40. package/dist/commands/publish.d.ts.map +1 -1
  41. package/dist/commands/publish.js +200 -44
  42. package/dist/commands/publish.js.map +1 -1
  43. package/dist/commands/test.d.ts.map +1 -1
  44. package/dist/commands/test.js +209 -23
  45. package/dist/commands/test.js.map +1 -1
  46. package/dist/commands/wrap.d.ts.map +1 -1
  47. package/dist/commands/wrap.js +17 -1
  48. package/dist/commands/wrap.js.map +1 -1
  49. package/dist/index.js +0 -0
  50. package/dist/runtime/network-gateway.d.ts +53 -0
  51. package/dist/runtime/network-gateway.d.ts.map +1 -0
  52. package/dist/runtime/network-gateway.js +147 -0
  53. package/dist/runtime/network-gateway.js.map +1 -0
  54. package/dist/utils/binding.d.ts +25 -0
  55. package/dist/utils/binding.d.ts.map +1 -1
  56. package/dist/utils/binding.js.map +1 -1
  57. package/dist/utils/open-browser.d.ts +10 -0
  58. package/dist/utils/open-browser.d.ts.map +1 -0
  59. package/dist/utils/open-browser.js +23 -0
  60. package/dist/utils/open-browser.js.map +1 -0
  61. package/genes/academic-writer/.cloud-manifest.json +6 -0
  62. package/genes/academic-writer/.gene-manifest.json +8 -0
  63. package/genes/academic-writer/SKILL.md +274 -0
  64. package/genes/academic-writer/phenotype.json +28 -0
  65. package/genes/ai-components/.cloud-manifest.json +6 -0
  66. package/genes/ai-components/.gene-manifest.json +8 -0
  67. package/genes/ai-components/SKILL.md +381 -0
  68. package/genes/ai-components/phenotype.json +28 -0
  69. package/genes/algorithmic-art/.cloud-manifest.json +6 -0
  70. package/genes/algorithmic-art/.gene-manifest.json +8 -0
  71. package/genes/algorithmic-art/SKILL.md +405 -0
  72. package/genes/algorithmic-art/phenotype.json +28 -0
  73. package/genes/answer-synthesizer/.cloud-manifest.json +6 -0
  74. package/genes/answer-synthesizer/index.ts +194 -0
  75. package/genes/answer-synthesizer/phenotype.json +61 -0
  76. package/genes/api-designer/.cloud-manifest.json +6 -0
  77. package/genes/api-designer/.gene-manifest.json +8 -0
  78. package/genes/api-designer/SKILL.md +456 -0
  79. package/genes/api-designer/phenotype.json +28 -0
  80. package/genes/auto-coder/.cloud-manifest.json +6 -0
  81. package/genes/auto-coder/.gene-manifest.json +8 -0
  82. package/genes/auto-coder/SKILL.md +400 -0
  83. package/genes/auto-coder/phenotype.json +28 -0
  84. package/genes/auto-writer/.cloud-manifest.json +6 -0
  85. package/genes/auto-writer/.gene-manifest.json +8 -0
  86. package/genes/auto-writer/SKILL.md +361 -0
  87. package/genes/auto-writer/phenotype.json +28 -0
  88. package/genes/brand-personality/.cloud-manifest.json +6 -0
  89. package/genes/brand-personality/.gene-manifest.json +8 -0
  90. package/genes/brand-personality/SKILL.md +549 -0
  91. package/genes/brand-personality/phenotype.json +28 -0
  92. package/genes/business-writer/.cloud-manifest.json +6 -0
  93. package/genes/business-writer/.gene-manifest.json +8 -0
  94. package/genes/business-writer/SKILL.md +448 -0
  95. package/genes/business-writer/phenotype.json +28 -0
  96. package/genes/citation-manager/.cloud-manifest.json +6 -0
  97. package/genes/citation-manager/.gene-manifest.json +8 -0
  98. package/genes/citation-manager/SKILL.md +279 -0
  99. package/genes/citation-manager/index.ts +162 -0
  100. package/genes/citation-manager/package.json +1 -0
  101. package/genes/citation-manager/phenotype.json +50 -0
  102. package/genes/code-complexity/.cloud-manifest.json +6 -0
  103. package/genes/code-complexity/README.md +35 -0
  104. package/genes/code-complexity/index.ts +101 -0
  105. package/genes/code-complexity/phenotype.json +34 -0
  106. package/genes/copywriter/.cloud-manifest.json +6 -0
  107. package/genes/copywriter/.gene-manifest.json +8 -0
  108. package/genes/copywriter/SKILL.md +329 -0
  109. package/genes/copywriter/phenotype.json +28 -0
  110. package/genes/creative-writer/.cloud-manifest.json +6 -0
  111. package/genes/creative-writer/.gene-manifest.json +8 -0
  112. package/genes/creative-writer/SKILL.md +356 -0
  113. package/genes/creative-writer/phenotype.json +28 -0
  114. package/genes/data-modeler/.cloud-manifest.json +6 -0
  115. package/genes/data-modeler/.gene-manifest.json +8 -0
  116. package/genes/data-modeler/SKILL.md +486 -0
  117. package/genes/data-modeler/phenotype.json +28 -0
  118. package/genes/debugger/.cloud-manifest.json +6 -0
  119. package/genes/debugger/.gene-manifest.json +8 -0
  120. package/genes/debugger/SKILL.md +416 -0
  121. package/genes/debugger/phenotype.json +28 -0
  122. package/genes/design-tokens/.cloud-manifest.json +6 -0
  123. package/genes/design-tokens/.gene-manifest.json +8 -0
  124. package/genes/design-tokens/SKILL.md +222 -0
  125. package/genes/design-tokens/index.ts +128 -0
  126. package/genes/design-tokens/package.json +1 -0
  127. package/genes/design-tokens/phenotype.json +1 -0
  128. package/genes/devops-automator/.cloud-manifest.json +6 -0
  129. package/genes/devops-automator/.gene-manifest.json +8 -0
  130. package/genes/devops-automator/SKILL.md +490 -0
  131. package/genes/devops-automator/phenotype.json +28 -0
  132. package/genes/doc-coauthoring/.cloud-manifest.json +6 -0
  133. package/genes/doc-coauthoring/.gene-manifest.json +8 -0
  134. package/genes/doc-coauthoring/SKILL.md +375 -0
  135. package/genes/doc-coauthoring/phenotype.json +28 -0
  136. package/genes/doc-retrieval/.cloud-manifest.json +6 -0
  137. package/genes/doc-retrieval/index.ts +134 -0
  138. package/genes/doc-retrieval/phenotype.json +54 -0
  139. package/genes/docs-writer/.cloud-manifest.json +6 -0
  140. package/genes/docs-writer/.gene-manifest.json +8 -0
  141. package/genes/docs-writer/SKILL.md +492 -0
  142. package/genes/docs-writer/phenotype.json +28 -0
  143. package/genes/evolve-life/.cloud-manifest.json +6 -0
  144. package/genes/evolve-life/.compile-result.json +12 -0
  145. package/genes/evolve-life/README.md +52 -0
  146. package/genes/evolve-life/gene.ir.wasm +0 -0
  147. package/genes/evolve-life/gene.wasm +0 -0
  148. package/genes/evolve-life/index.ts +255 -0
  149. package/genes/evolve-life/phenotype.json +129 -0
  150. package/genes/evolve-life-bitwise/.cloud-manifest.json +6 -0
  151. package/genes/evolve-life-bitwise/.compile-result.json +12 -0
  152. package/genes/evolve-life-bitwise/gene.ir.wasm +0 -0
  153. package/genes/evolve-life-bitwise/gene.wasm +0 -0
  154. package/genes/evolve-life-bitwise/index.ts +273 -0
  155. package/genes/evolve-life-bitwise/phenotype.json +129 -0
  156. package/genes/evolve-life-sparse/.cloud-manifest.json +6 -0
  157. package/genes/evolve-life-sparse/.compile-result.json +12 -0
  158. package/genes/evolve-life-sparse/gene.ir.wasm +0 -0
  159. package/genes/evolve-life-sparse/gene.wasm +0 -0
  160. package/genes/evolve-life-sparse/index.ts +236 -0
  161. package/genes/evolve-life-sparse/phenotype.json +129 -0
  162. package/genes/fact-checker/.cloud-manifest.json +6 -0
  163. package/genes/fact-checker/.gene-manifest.json +8 -0
  164. package/genes/fact-checker/SKILL.md +373 -0
  165. package/genes/fact-checker/phenotype.json +28 -0
  166. package/genes/genesis-code-format/.cloud-manifest.json +6 -0
  167. package/genes/genesis-code-format/package.json +1 -0
  168. package/genes/genesis-code-format/phenotype.json +1 -0
  169. package/genes/genesis-file-read/.cloud-manifest.json +6 -0
  170. package/genes/genesis-file-read/index.ts +11 -1
  171. package/genes/genesis-file-read/package.json +1 -0
  172. package/genes/genesis-file-read/phenotype.json +1 -0
  173. package/genes/genesis-l0-constraint/.cloud-manifest.json +6 -0
  174. package/genes/genesis-l0-constraint/package.json +1 -0
  175. package/genes/genesis-l0-constraint/phenotype.json +1 -0
  176. package/genes/genesis-web-search/.cloud-manifest.json +2 -2
  177. package/genes/genesis-web-search/package.json +1 -0
  178. package/genes/genesis-web-search/phenotype.json +1 -0
  179. package/genes/genesis-web-search-lite/.cloud-manifest.json +6 -0
  180. package/genes/genesis-web-search-lite/package.json +1 -0
  181. package/genes/genesis-web-search-lite/phenotype.json +1 -0
  182. package/genes/git-workflow/.cloud-manifest.json +6 -0
  183. package/genes/git-workflow/.gene-manifest.json +8 -0
  184. package/genes/git-workflow/SKILL.md +407 -0
  185. package/genes/git-workflow/phenotype.json +28 -0
  186. package/genes/grammar-checker/.cloud-manifest.json +6 -0
  187. package/genes/grammar-checker/.gene-manifest.json +8 -0
  188. package/genes/grammar-checker/SKILL.md +194 -0
  189. package/genes/grammar-checker/index.ts +168 -0
  190. package/genes/grammar-checker/package.json +1 -0
  191. package/genes/grammar-checker/phenotype.json +52 -0
  192. package/genes/json-validator/.cloud-manifest.json +6 -0
  193. package/genes/json-validator/README.md +42 -0
  194. package/genes/json-validator/index.ts +112 -0
  195. package/genes/json-validator/phenotype.json +42 -0
  196. package/genes/license-advisor/.cloud-manifest.json +6 -0
  197. package/genes/license-advisor/.gene-manifest.json +8 -0
  198. package/genes/license-advisor/SKILL.md +117 -0
  199. package/genes/license-advisor/phenotype.json +28 -0
  200. package/genes/logic-architect/.cloud-manifest.json +6 -0
  201. package/genes/logic-architect/.gene-manifest.json +8 -0
  202. package/genes/logic-architect/SKILL.md +451 -0
  203. package/genes/logic-architect/phenotype.json +28 -0
  204. package/genes/markdown-formatter/.cloud-manifest.json +6 -0
  205. package/genes/markdown-formatter/README.md +34 -0
  206. package/genes/markdown-formatter/index.ts +86 -0
  207. package/genes/markdown-formatter/phenotype.json +32 -0
  208. package/genes/orch/.cloud-manifest.json +6 -0
  209. package/genes/orch/.gene-manifest.json +8 -0
  210. package/genes/orch/SKILL.md +504 -0
  211. package/genes/orch/phenotype.json +28 -0
  212. package/genes/particle-barneshut/.cloud-manifest.json +6 -0
  213. package/genes/particle-barneshut/.compile-result.json +12 -0
  214. package/genes/particle-barneshut/README.md +55 -0
  215. package/genes/particle-barneshut/gene.ir.wasm +0 -0
  216. package/genes/particle-barneshut/gene.wasm +0 -0
  217. package/genes/particle-barneshut/index.ts +486 -0
  218. package/genes/particle-barneshut/phenotype.json +137 -0
  219. package/genes/particle-brute/.cloud-manifest.json +6 -0
  220. package/genes/particle-brute/.compile-result.json +12 -0
  221. package/genes/particle-brute/README.md +55 -0
  222. package/genes/particle-brute/gene.ir.wasm +0 -0
  223. package/genes/particle-brute/gene.wasm +0 -0
  224. package/genes/particle-brute/index.ts +277 -0
  225. package/genes/particle-brute/phenotype.json +137 -0
  226. package/genes/particle-spatial/.cloud-manifest.json +6 -0
  227. package/genes/particle-spatial/.compile-result.json +12 -0
  228. package/genes/particle-spatial/README.md +53 -0
  229. package/genes/particle-spatial/gene.ir.wasm +0 -0
  230. package/genes/particle-spatial/gene.wasm +0 -0
  231. package/genes/particle-spatial/index.ts +352 -0
  232. package/genes/particle-spatial/phenotype.json +137 -0
  233. package/genes/performance-optimizer/.cloud-manifest.json +6 -0
  234. package/genes/performance-optimizer/.gene-manifest.json +8 -0
  235. package/genes/performance-optimizer/SKILL.md +480 -0
  236. package/genes/performance-optimizer/phenotype.json +28 -0
  237. package/genes/plagiarism-checker/.cloud-manifest.json +6 -0
  238. package/genes/plagiarism-checker/.gene-manifest.json +8 -0
  239. package/genes/plagiarism-checker/SKILL.md +342 -0
  240. package/genes/plagiarism-checker/phenotype.json +28 -0
  241. package/genes/product-manager/.cloud-manifest.json +6 -0
  242. package/genes/product-manager/.gene-manifest.json +8 -0
  243. package/genes/product-manager/SKILL.md +249 -0
  244. package/genes/product-manager/phenotype.json +28 -0
  245. package/genes/project-reviewer/.cloud-manifest.json +6 -0
  246. package/genes/project-reviewer/.gene-manifest.json +8 -0
  247. package/genes/project-reviewer/SKILL.md +312 -0
  248. package/genes/project-reviewer/phenotype.json +28 -0
  249. package/genes/prompt-engineer/.cloud-manifest.json +6 -0
  250. package/genes/prompt-engineer/.gene-manifest.json +8 -0
  251. package/genes/prompt-engineer/SKILL.md +411 -0
  252. package/genes/prompt-engineer/phenotype.json +28 -0
  253. package/genes/readability-analyzer/.cloud-manifest.json +6 -0
  254. package/genes/readability-analyzer/.gene-manifest.json +8 -0
  255. package/genes/readability-analyzer/SKILL.md +357 -0
  256. package/genes/readability-analyzer/index.ts +123 -0
  257. package/genes/readability-analyzer/package.json +1 -0
  258. package/genes/readability-analyzer/phenotype.json +35 -0
  259. package/genes/rotifer-protocol/SKILL.md +121 -0
  260. package/genes/security-auditor/.cloud-manifest.json +6 -0
  261. package/genes/security-auditor/.gene-manifest.json +8 -0
  262. package/genes/security-auditor/SKILL.md +494 -0
  263. package/genes/security-auditor/phenotype.json +28 -0
  264. package/genes/seo-optimizer/.cloud-manifest.json +6 -0
  265. package/genes/seo-optimizer/.gene-manifest.json +8 -0
  266. package/genes/seo-optimizer/SKILL.md +327 -0
  267. package/genes/seo-optimizer/index.ts +206 -0
  268. package/genes/seo-optimizer/package.json +1 -0
  269. package/genes/seo-optimizer/phenotype.json +1 -0
  270. package/genes/source-linker/.cloud-manifest.json +6 -0
  271. package/genes/source-linker/index.ts +88 -0
  272. package/genes/source-linker/phenotype.json +45 -0
  273. package/genes/style-optimizer/.cloud-manifest.json +6 -0
  274. package/genes/style-optimizer/.gene-manifest.json +8 -0
  275. package/genes/style-optimizer/SKILL.md +285 -0
  276. package/genes/style-optimizer/phenotype.json +28 -0
  277. package/genes/tech-lead/.cloud-manifest.json +6 -0
  278. package/genes/tech-lead/.gene-manifest.json +8 -0
  279. package/genes/tech-lead/SKILL.md +451 -0
  280. package/genes/tech-lead/phenotype.json +28 -0
  281. package/genes/test-wrap/.cloud-manifest.json +6 -0
  282. package/genes/test-wrap/.gene-manifest.json +8 -0
  283. package/genes/test-wrap/phenotype.json +28 -0
  284. package/genes/testing-strategist/.cloud-manifest.json +6 -0
  285. package/genes/testing-strategist/.gene-manifest.json +8 -0
  286. package/genes/testing-strategist/SKILL.md +500 -0
  287. package/genes/testing-strategist/phenotype.json +28 -0
  288. package/genes/text-summarizer/.cloud-manifest.json +6 -0
  289. package/genes/text-summarizer/README.md +34 -0
  290. package/genes/text-summarizer/index.ts +122 -0
  291. package/genes/text-summarizer/phenotype.json +32 -0
  292. package/genes/tone-analyzer/.cloud-manifest.json +6 -0
  293. package/genes/tone-analyzer/.gene-manifest.json +8 -0
  294. package/genes/tone-analyzer/SKILL.md +410 -0
  295. package/genes/tone-analyzer/phenotype.json +28 -0
  296. package/genes/translator/.cloud-manifest.json +6 -0
  297. package/genes/translator/.gene-manifest.json +8 -0
  298. package/genes/translator/SKILL.md +355 -0
  299. package/genes/translator/phenotype.json +28 -0
  300. package/genes/ui-components/.cloud-manifest.json +6 -0
  301. package/genes/ui-components/.gene-manifest.json +8 -0
  302. package/genes/ui-components/SKILL.md +467 -0
  303. package/genes/ui-components/phenotype.json +28 -0
  304. package/genes/uiux-designer/.cloud-manifest.json +6 -0
  305. package/genes/uiux-designer/.gene-manifest.json +8 -0
  306. package/genes/uiux-designer/SKILL.md +353 -0
  307. package/genes/uiux-designer/phenotype.json +28 -0
  308. package/genes/url-extractor/.cloud-manifest.json +6 -0
  309. package/genes/url-extractor/README.md +37 -0
  310. package/genes/url-extractor/index.ts +86 -0
  311. package/genes/url-extractor/phenotype.json +48 -0
  312. package/genes/ux-patterns/.cloud-manifest.json +6 -0
  313. package/genes/ux-patterns/.gene-manifest.json +8 -0
  314. package/genes/ux-patterns/SKILL.md +872 -0
  315. package/genes/ux-patterns/phenotype.json +28 -0
  316. package/genes/web3-components/.cloud-manifest.json +6 -0
  317. package/genes/web3-components/.gene-manifest.json +8 -0
  318. package/genes/web3-components/SKILL.md +390 -0
  319. package/genes/web3-components/phenotype.json +28 -0
  320. package/package.json +6 -5
@@ -0,0 +1,373 @@
1
+ ---
2
+ name: fact-checker
3
+ description: Verify facts, claims, and sources in written content. Ensure accuracy and credibility of information. Use when writing news, reports, or any content where factual accuracy is critical.
4
+ ---
5
+
6
+ # Fact Checker (事实核查师)
7
+
8
+ **Goal**: 验证内容中的事实、声明和来源,确保信息准确可信。
9
+
10
+ ---
11
+
12
+ ## 1. 核查原则
13
+
14
+ ### 核心原则
15
+
16
+ ```markdown
17
+ ## 三重验证
18
+
19
+ 每个关键事实至少需要:
20
+ 1. 原始来源确认
21
+ 2. 独立来源交叉验证
22
+ 3. 专家/权威意见
23
+
24
+ ## 怀疑态度
25
+
26
+ - 对惊人声明保持警惕
27
+ - 越不寻常的声明需要越强的证据
28
+ - 区分事实与观点
29
+ ```
30
+
31
+ ### 需要核查的内容
32
+
33
+ ```markdown
34
+ ## 必须核查
35
+
36
+ 1. 统计数据和数字
37
+ 2. 引用的言论
38
+ 3. 日期和时间
39
+ 4. 人名和头衔
40
+ 5. 事件细节
41
+ 6. 科学声明
42
+ 7. 历史事实
43
+
44
+ ## 示例问题
45
+
46
+ - "研究表明..." → 什么研究?谁做的?
47
+ - "专家说..." → 什么专家?有资质吗?
48
+ - "90%的人..." → 数据来源?样本量?
49
+ ```
50
+
51
+ ---
52
+
53
+ ## 2. 来源评估
54
+
55
+ ### 来源可信度层级
56
+
57
+ | 层级 | 来源类型 | 可信度 |
58
+ |------|----------|--------|
59
+ | 1级 | 原始文件、官方记录 | 最高 |
60
+ | 2级 | 学术期刊、权威机构 | 高 |
61
+ | 3级 | 主流媒体、专业报道 | 中高 |
62
+ | 4级 | 行业网站、专家博客 | 中 |
63
+ | 5级 | 社交媒体、匿名来源 | 低 |
64
+
65
+ ### 来源评估标准
66
+
67
+ ```markdown
68
+ ## CRAAP 测试
69
+
70
+ C - Currency(时效性)
71
+ - 何时发布/更新?
72
+ - 信息是否过时?
73
+
74
+ R - Relevance(相关性)
75
+ - 与主题相关吗?
76
+ - 面向什么受众?
77
+
78
+ A - Authority(权威性)
79
+ - 作者是谁?
80
+ - 有什么资质?
81
+ - 机构是否权威?
82
+
83
+ A - Accuracy(准确性)
84
+ - 有证据支持吗?
85
+ - 可以验证吗?
86
+ - 有参考来源吗?
87
+
88
+ P - Purpose(目的)
89
+ - 目的是什么?
90
+ - 有偏见吗?
91
+ - 是广告/宣传吗?
92
+ ```
93
+
94
+ ### 识别可疑来源
95
+
96
+ ```markdown
97
+ ## 警告信号
98
+
99
+ ❌ 无作者署名
100
+ ❌ 无发布日期
101
+ ❌ 无参考来源
102
+ ❌ 只有一方观点
103
+ ❌ 情绪化语言
104
+ ❌ 与权威来源矛盾
105
+ ❌ 无联系方式
106
+ ❌ 域名可疑
107
+ ```
108
+
109
+ ---
110
+
111
+ ## 3. 数据核查
112
+
113
+ ### 统计数据验证
114
+
115
+ ```markdown
116
+ ## 检查要点
117
+
118
+ 1. 数据来源
119
+ - 原始出处是哪里?
120
+ - 机构是否权威?
121
+
122
+ 2. 样本信息
123
+ - 样本量多大?
124
+ - 如何选取样本?
125
+ - 是否有代表性?
126
+
127
+ 3. 时间范围
128
+ - 数据何时收集?
129
+ - 是否仍然有效?
130
+
131
+ 4. 定义明确
132
+ - 指标如何定义?
133
+ - 测量方法是什么?
134
+
135
+ ## 常见数据误用
136
+
137
+ - 相关性当因果
138
+ - 样本偏差
139
+ - 选择性数据
140
+ - 误导性图表
141
+ ```
142
+
143
+ ### 数字验证
144
+
145
+ ```markdown
146
+ ## 基本验证
147
+
148
+ 1. 数量级检查
149
+ - 这个数字合理吗?
150
+ - 与常识是否符合?
151
+
152
+ 2. 计算验证
153
+ - 百分比计算正确吗?
154
+ - 增长率计算正确吗?
155
+
156
+ 3. 单位确认
157
+ - 单位是否正确?
158
+ - 是否有单位混淆?
159
+
160
+ ## 示例
161
+
162
+ 声明:"中国人口14亿"
163
+ 验证:✓ 符合已知数据
164
+
165
+ 声明:"这家公司年增长1000%"
166
+ 质疑:如此高增长需要更多证据
167
+ ```
168
+
169
+ ---
170
+
171
+ ## 4. 引语核查
172
+
173
+ ### 验证引语
174
+
175
+ ```markdown
176
+ ## 检查步骤
177
+
178
+ 1. 确认发言人
179
+ - 发言人是谁?
180
+ - 确实说过这话吗?
181
+
182
+ 2. 核对原文
183
+ - 找到原始来源
184
+ - 对比完整语境
185
+
186
+ 3. 检查上下文
187
+ - 是否断章取义?
188
+ - 语境是否改变意思?
189
+
190
+ ## 常见问题
191
+
192
+ - 虚假引语
193
+ - 断章取义
194
+ - 翻译错误
195
+ - 时间错误(把旧引语当新闻)
196
+ ```
197
+
198
+ ### 识别错误引语
199
+
200
+ ```markdown
201
+ ## 警告信号
202
+
203
+ - 来源模糊:"有人说"
204
+ - 无法验证的私人对话
205
+ - 与已知立场矛盾
206
+ - 过于完美的措辞
207
+ - 无日期/场合信息
208
+ ```
209
+
210
+ ---
211
+
212
+ ## 5. 图片/视频核查
213
+
214
+ ### 反向图片搜索
215
+
216
+ ```markdown
217
+ ## 工具
218
+
219
+ - Google 图片搜索
220
+ - TinEye
221
+ - Yandex Images
222
+ - 百度识图
223
+
224
+ ## 检查内容
225
+
226
+ 1. 图片首次出现时间
227
+ 2. 原始来源
228
+ 3. 是否被篡改
229
+ 4. 图片实际内容 vs 声称内容
230
+ ```
231
+
232
+ ### 视频核查
233
+
234
+ ```markdown
235
+ ## 检查要点
236
+
237
+ 1. 元数据分析
238
+ 2. 地理位置验证
239
+ 3. 天气/时间验证
240
+ 4. 视频帧分析
241
+ 5. 音频分析
242
+
243
+ ## 工具
244
+
245
+ - InVID(视频验证插件)
246
+ - YouTube DataViewer
247
+ ```
248
+
249
+ ---
250
+
251
+ ## 6. 核查流程
252
+
253
+ ### 标准流程
254
+
255
+ ```markdown
256
+ ## 步骤
257
+
258
+ 1. 识别声明
259
+ - 标记需要核查的内容
260
+ - 区分事实与观点
261
+
262
+ 2. 寻找来源
263
+ - 找到原始来源
264
+ - 寻找独立来源
265
+
266
+ 3. 验证来源
267
+ - 评估来源可信度
268
+ - 检查来源动机
269
+
270
+ 4. 交叉验证
271
+ - 多个独立来源对比
272
+ - 识别矛盾信息
273
+
274
+ 5. 做出判断
275
+ - 事实/错误/无法验证
276
+ - 记录验证过程
277
+
278
+ 6. 记录结果
279
+ - 保存证据
280
+ - 标注来源
281
+ ```
282
+
283
+ ### 核查报告模板
284
+
285
+ ```markdown
286
+ ## 声明核查报告
287
+
288
+ **声明内容**:[待核查声明]
289
+
290
+ **核查结果**:✓ 事实 / ✗ 错误 / ? 无法验证
291
+
292
+ **证据来源**:
293
+ 1. [来源1及链接]
294
+ 2. [来源2及链接]
295
+
296
+ **分析**:
297
+ [详细分析]
298
+
299
+ **结论**:
300
+ [最终判断及理由]
301
+ ```
302
+
303
+ ---
304
+
305
+ ## 7. 检查清单
306
+
307
+ ```markdown
308
+ ## Fact-Checking Checklist
309
+
310
+ ### 来源
311
+ - [ ] 找到原始来源
312
+ - [ ] 来源可信
313
+ - [ ] 有多个独立来源
314
+ - [ ] 来源可访问
315
+
316
+ ### 数据
317
+ - [ ] 数据来源明确
318
+ - [ ] 数字合理
319
+ - [ ] 统计方法正确
320
+ - [ ] 数据时效性
321
+
322
+ ### 引语
323
+ - [ ] 确认发言人
324
+ - [ ] 核对原文
325
+ - [ ] 检查上下文
326
+ - [ ] 时间正确
327
+
328
+ ### 媒体
329
+ - [ ] 图片来源验证
330
+ - [ ] 未经篡改
331
+ - [ ] 内容与描述一致
332
+
333
+ ### 记录
334
+ - [ ] 核查过程记录
335
+ - [ ] 来源链接保存
336
+ - [ ] 不确定处标注
337
+ ```
338
+
339
+ ---
340
+
341
+ ## Quick Reference
342
+
343
+ ### 快速核查问题
344
+
345
+ ```markdown
346
+ 1. 这是事实还是观点?
347
+ 2. 来源是谁?可信吗?
348
+ 3. 有独立来源验证吗?
349
+ 4. 数据合理吗?
350
+ 5. 有遗漏的上下文吗?
351
+ 6. 是否最新信息?
352
+ ```
353
+
354
+ ### 常见误导手法
355
+
356
+ | 手法 | 识别 |
357
+ |------|------|
358
+ | 断章取义 | 查找完整语境 |
359
+ | 虚假来源 | 验证来源存在 |
360
+ | 过时信息 | 检查日期 |
361
+ | 选择性数据 | 查找完整数据 |
362
+ | 误导性标题 | 阅读正文 |
363
+ | 假专家 | 验证资质 |
364
+
365
+ ### 核查工具速查
366
+
367
+ | 用途 | 工具 |
368
+ |------|------|
369
+ | 综合 | Snopes, FactCheck.org |
370
+ | 图片 | Google Images, TinEye |
371
+ | 视频 | InVID, YouTube DataViewer |
372
+ | 网站 | Wayback Machine, WHOIS |
373
+ | 论文 | Google Scholar, PubMed |
@@ -0,0 +1,28 @@
1
+ {
2
+ "domain": "content.factcheck",
3
+ "description": "Verify facts, claims, and sources in written content. Ensure accuracy and credibility of information. Use when writing news, reports, or any content where factual accuracy is critical.",
4
+ "inputSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "prompt": {
8
+ "type": "string"
9
+ }
10
+ },
11
+ "required": []
12
+ },
13
+ "outputSchema": {
14
+ "type": "object",
15
+ "properties": {
16
+ "result": {
17
+ "type": "string"
18
+ }
19
+ }
20
+ },
21
+ "dependencies": [],
22
+ "version": "0.1.0",
23
+ "author": "rotifer-team",
24
+ "createdAt": 1771939404880,
25
+ "fidelity": "Wrapped",
26
+ "transparency": "Open",
27
+ "source": "skill"
28
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "cloud_id": "68bf602d-1495-4a13-9165-0f6edaf16352",
3
+ "owner": "Rotifer Protocol",
4
+ "version": "0.1.0",
5
+ "published_at": "2026-03-17T14:12:49.078Z"
6
+ }
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "domain": "tooling",
3
+ "description": "Format source code according to language-specific conventions. Supports TypeScript, JavaScript, JSON, Markdown, and Rust.",
3
4
  "inputSchema": {
4
5
  "type": "object",
5
6
  "properties": {
@@ -0,0 +1,6 @@
1
+ {
2
+ "cloud_id": "59edda66-9df0-4b62-83f5-c2db1975a541",
3
+ "owner": "Rotifer Protocol",
4
+ "version": "0.1.0",
5
+ "published_at": "2026-03-17T14:12:50.917Z"
6
+ }
@@ -19,7 +19,17 @@ interface FileReadOutput {
19
19
  */
20
20
  export async function express(input: FileReadInput): Promise<FileReadOutput> {
21
21
  const encoding = input.encoding ?? "utf-8";
22
- const buffer = readFileSync(input.path);
22
+
23
+ let buffer: Buffer;
24
+ try {
25
+ buffer = readFileSync(input.path);
26
+ } catch (err: any) {
27
+ return {
28
+ content: `[error] ${err.code ?? "UNKNOWN"}: ${err.message}`,
29
+ size: 0,
30
+ encoding,
31
+ };
32
+ }
23
33
 
24
34
  const content = encoding === "base64"
25
35
  ? buffer.toString("base64")
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "domain": "filesystem",
3
+ "description": "Read file contents from the local filesystem with configurable encoding. Returns content, size, and encoding metadata.",
3
4
  "inputSchema": {
4
5
  "type": "object",
5
6
  "properties": {
@@ -0,0 +1,6 @@
1
+ {
2
+ "cloud_id": "c7850d0e-2956-4d24-8bf7-155d6fe607da",
3
+ "owner": "Rotifer Protocol",
4
+ "version": "0.1.0",
5
+ "published_at": "2026-03-17T14:12:52.884Z"
6
+ }
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "domain": "safety",
3
+ "description": "Validate a Gene against L0 safety constraints including memory limits, fuel budgets, and host function permissions.",
3
4
  "inputSchema": {
4
5
  "type": "object",
5
6
  "properties": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "cloud_id": "6fb2ebac-a229-4e4c-95d8-9b7ce751d8bf",
3
- "owner": "web3coderman-dev",
3
+ "owner": "Rotifer Protocol",
4
4
  "version": "0.1.0",
5
- "published_at": "2026-02-23T06:06:00.000Z"
5
+ "published_at": "2026-03-17T14:12:56.761Z"
6
6
  }
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "domain": "search",
3
+ "description": "Search the web and return structured results with titles, URLs, and snippets. Supports configurable result count.",
3
4
  "inputSchema": {
4
5
  "type": "object",
5
6
  "properties": {
@@ -0,0 +1,6 @@
1
+ {
2
+ "cloud_id": "247f642a-8f45-418f-852b-38c0d5699270",
3
+ "owner": "Rotifer Protocol",
4
+ "version": "0.1.0",
5
+ "published_at": "2026-03-17T14:12:54.670Z"
6
+ }
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "domain": "search",
3
+ "description": "Lightweight web search returning a single best-match answer with source attribution.",
3
4
  "inputSchema": {
4
5
  "type": "object",
5
6
  "properties": {
@@ -0,0 +1,6 @@
1
+ {
2
+ "cloud_id": "5a697b64-68a4-4533-b115-a838ac107e1e",
3
+ "owner": "Rotifer Protocol",
4
+ "version": "0.1.0",
5
+ "published_at": "2026-03-17T14:12:58.588Z"
6
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "geneId": "d9d24575a8e82c688691e161bb37924ad2c412fdef5b3fdedd35cb7ad9c228d9",
3
+ "name": "git-workflow",
4
+ "domain": "devops.git",
5
+ "fidelity": "Wrapped",
6
+ "wrappedAt": "2026-02-24T13:23:34.661Z",
7
+ "fromSkill": "../.cursor/skills/git-workflow/SKILL.md"
8
+ }