bobo-ai-cli 1.0.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.
- package/LICENSE +21 -0
- package/README.md +216 -0
- package/dist/agent.d.ts +9 -0
- package/dist/agent.js +144 -0
- package/dist/agent.js.map +1 -0
- package/dist/config.d.ts +15 -0
- package/dist/config.js +76 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +366 -0
- package/dist/index.js.map +1 -0
- package/dist/knowledge-commands.d.ts +2 -0
- package/dist/knowledge-commands.js +40 -0
- package/dist/knowledge-commands.js.map +1 -0
- package/dist/knowledge.d.ts +17 -0
- package/dist/knowledge.js +112 -0
- package/dist/knowledge.js.map +1 -0
- package/dist/memory.d.ts +17 -0
- package/dist/memory.js +215 -0
- package/dist/memory.js.map +1 -0
- package/dist/planner.d.ts +22 -0
- package/dist/planner.js +130 -0
- package/dist/planner.js.map +1 -0
- package/dist/project.d.ts +25 -0
- package/dist/project.js +117 -0
- package/dist/project.js.map +1 -0
- package/dist/rules-commands.d.ts +2 -0
- package/dist/rules-commands.js +51 -0
- package/dist/rules-commands.js.map +1 -0
- package/dist/skills.d.ts +28 -0
- package/dist/skills.js +349 -0
- package/dist/skills.js.map +1 -0
- package/dist/structured/loader.d.ts +19 -0
- package/dist/structured/loader.js +147 -0
- package/dist/structured/loader.js.map +1 -0
- package/dist/structured/paths.d.ts +2 -0
- package/dist/structured/paths.js +14 -0
- package/dist/structured/paths.js.map +1 -0
- package/dist/structured/project-scaffold.d.ts +7 -0
- package/dist/structured/project-scaffold.js +60 -0
- package/dist/structured/project-scaffold.js.map +1 -0
- package/dist/structured/render-markdown.d.ts +37 -0
- package/dist/structured/render-markdown.js +47 -0
- package/dist/structured/render-markdown.js.map +1 -0
- package/dist/structured/render-table.d.ts +1 -0
- package/dist/structured/render-table.js +15 -0
- package/dist/structured/render-table.js.map +1 -0
- package/dist/structured/search.d.ts +10 -0
- package/dist/structured/search.js +104 -0
- package/dist/structured/search.js.map +1 -0
- package/dist/structured/skill-runner.d.ts +15 -0
- package/dist/structured/skill-runner.js +60 -0
- package/dist/structured/skill-runner.js.map +1 -0
- package/dist/structured/types.d.ts +212 -0
- package/dist/structured/types.js +97 -0
- package/dist/structured/types.js.map +1 -0
- package/dist/structured-skills-commands.d.ts +3 -0
- package/dist/structured-skills-commands.js +126 -0
- package/dist/structured-skills-commands.js.map +1 -0
- package/dist/structured-template-commands.d.ts +2 -0
- package/dist/structured-template-commands.js +34 -0
- package/dist/structured-template-commands.js.map +1 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.js +450 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/ui.d.ts +19 -0
- package/dist/ui.js +72 -0
- package/dist/ui.js.map +1 -0
- package/dist/web.d.ts +4 -0
- package/dist/web.js +124 -0
- package/dist/web.js.map +1 -0
- package/knowledge/advanced-patterns.md +70 -0
- package/knowledge/agent-directives.md +74 -0
- package/knowledge/dream.md +36 -0
- package/knowledge/engineering.md +46 -0
- package/knowledge/error-catalog.md +33 -0
- package/knowledge/index.json +170 -0
- package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -0
- package/knowledge/memory/engineering-patterns.md +134 -0
- package/knowledge/memory/feedback_root_structure.md +16 -0
- package/knowledge/memory/project-contexts.md +69 -0
- package/knowledge/memory/tools-and-services.md +85 -0
- package/knowledge/rules/agents.md +62 -0
- package/knowledge/rules/blocking-rules.md +323 -0
- package/knowledge/rules/cache-management.md +379 -0
- package/knowledge/rules/capability-evolution.md +132 -0
- package/knowledge/rules/coding.md +126 -0
- package/knowledge/rules/engineering-workflows.md +225 -0
- package/knowledge/rules/evomap-content-guidelines.md +354 -0
- package/knowledge/rules/evomap-guide.md +224 -0
- package/knowledge/rules/git.md +31 -0
- package/knowledge/rules/hooks.md +106 -0
- package/knowledge/rules/performance.md +101 -0
- package/knowledge/rules/remotion-auto-production.md +1120 -0
- package/knowledge/rules/security.md +46 -0
- package/knowledge/rules/testing.md +32 -0
- package/knowledge/rules/work-mode.md +208 -0
- package/knowledge/rules.md +62 -0
- package/knowledge/skills/Skill_Seekers.md +1722 -0
- package/knowledge/skills/ab-test-setup.md +557 -0
- package/knowledge/skills/agent-sdk-dev.md +238 -0
- package/knowledge/skills/agent-tools.md +136 -0
- package/knowledge/skills/analytics-tracking.md +597 -0
- package/knowledge/skills/artifacts-builder.md +89 -0
- package/knowledge/skills/asana.md +13 -0
- package/knowledge/skills/backend-expert.md +97 -0
- package/knowledge/skills/brand-voice.md +481 -0
- package/knowledge/skills/browser-use.md +419 -0
- package/knowledge/skills/cache-optimization-skill.md +179 -0
- package/knowledge/skills/canvas-design.md +147 -0
- package/knowledge/skills/citation-validator.md +203 -0
- package/knowledge/skills/clangd-lsp.md +52 -0
- package/knowledge/skills/code-review-expert.md +85 -0
- package/knowledge/skills/code-review.md +280 -0
- package/knowledge/skills/code-simplifier.md +13 -0
- package/knowledge/skills/commit-commands.md +258 -0
- package/knowledge/skills/competitor-alternatives.md +795 -0
- package/knowledge/skills/content-atomizer.md +910 -0
- package/knowledge/skills/content-research-writer.md +605 -0
- package/knowledge/skills/context-optimization-suite.md +162 -0
- package/knowledge/skills/context7.md +13 -0
- package/knowledge/skills/copy-editing.md +494 -0
- package/knowledge/skills/copywriting.md +510 -0
- package/knowledge/skills/csharp-lsp.md +40 -0
- package/knowledge/skills/decision-making-framework.md +154 -0
- package/knowledge/skills/developer-growth-analysis.md +335 -0
- package/knowledge/skills/direct-response-copy.md +2336 -0
- package/knowledge/skills/docker-expert.md +229 -0
- package/knowledge/skills/document-skills.md +13 -0
- package/knowledge/skills/documentation-expert.md +126 -0
- package/knowledge/skills/email-sequence.md +1061 -0
- package/knowledge/skills/email-sequences.md +910 -0
- package/knowledge/skills/example-plugin.md +72 -0
- package/knowledge/skills/explanatory-output-style.md +82 -0
- package/knowledge/skills/feature-dev.md +458 -0
- package/knowledge/skills/file-organizer.md +466 -0
- package/knowledge/skills/firebase.disabled.md +13 -0
- package/knowledge/skills/form-cro.md +488 -0
- package/knowledge/skills/free-tool-strategy.md +636 -0
- package/knowledge/skills/frontend-design-offical.md +55 -0
- package/knowledge/skills/frontend-design.md +41 -0
- package/knowledge/skills/frontend-expert.md +93 -0
- package/knowledge/skills/github.md +13 -0
- package/knowledge/skills/gitlab.md +13 -0
- package/knowledge/skills/gopls-lsp.md +32 -0
- package/knowledge/skills/got-controller.md +218 -0
- package/knowledge/skills/greptile.md +72 -0
- package/knowledge/skills/hookify.md +376 -0
- package/knowledge/skills/image-editor.md +189 -0
- package/knowledge/skills/image-enhancer.md +109 -0
- package/knowledge/skills/jdtls-lsp.md +49 -0
- package/knowledge/skills/json-canvas.md +654 -0
- package/knowledge/skills/keyword-research.md +559 -0
- package/knowledge/skills/kotlin-lsp.md +28 -0
- package/knowledge/skills/laravel-boost.md +13 -0
- package/knowledge/skills/launch-strategy.md +394 -0
- package/knowledge/skills/lead-magnet.md +393 -0
- package/knowledge/skills/learning-output-style.md +106 -0
- package/knowledge/skills/linear.md +13 -0
- package/knowledge/skills/lua-lsp.md +47 -0
- package/knowledge/skills/marketing-ideas.md +720 -0
- package/knowledge/skills/marketing-psychology.md +534 -0
- package/knowledge/skills/mcp-builder.md +369 -0
- package/knowledge/skills/meeting-insights-analyzer.md +347 -0
- package/knowledge/skills/memory-evolution-system.md +172 -0
- package/knowledge/skills/multi-lens-thinking.md +407 -0
- package/knowledge/skills/nano-banana-pro.md +116 -0
- package/knowledge/skills/newsletter.md +736 -0
- package/knowledge/skills/notebooklm.md +296 -0
- package/knowledge/skills/obsidian-bases.md +634 -0
- package/knowledge/skills/obsidian-markdown.md +651 -0
- package/knowledge/skills/onboarding-cro.md +494 -0
- package/knowledge/skills/orchestrator.md +681 -0
- package/knowledge/skills/page-cro.md +379 -0
- package/knowledge/skills/paid-ads.md +624 -0
- package/knowledge/skills/paywall-upgrade-cro.md +651 -0
- package/knowledge/skills/php-lsp.md +36 -0
- package/knowledge/skills/planning-with-files.md +193 -0
- package/knowledge/skills/playwright.md +13 -0
- package/knowledge/skills/plugin-dev.md +434 -0
- package/knowledge/skills/popup-cro.md +520 -0
- package/knowledge/skills/positioning-angles.md +330 -0
- package/knowledge/skills/pr-review-toolkit.md +359 -0
- package/knowledge/skills/pricing-strategy.md +777 -0
- package/knowledge/skills/programmatic-seo.md +714 -0
- package/knowledge/skills/pyright-lsp.md +43 -0
- package/knowledge/skills/quality-assurance-framework.md +168 -0
- package/knowledge/skills/question-refiner.md +160 -0
- package/knowledge/skills/ralph-loop.md +205 -0
- package/knowledge/skills/refactoring-expert.md +103 -0
- package/knowledge/skills/referral-program.md +668 -0
- package/knowledge/skills/research-executor.md +164 -0
- package/knowledge/skills/review-with-security.md +12 -0
- package/knowledge/skills/rust-analyzer-lsp.md +50 -0
- package/knowledge/skills/schema-markup.md +647 -0
- package/knowledge/skills/security-audit-expert.md +124 -0
- package/knowledge/skills/security-expert.md +140 -0
- package/knowledge/skills/security-guidance.md +13 -0
- package/knowledge/skills/seedance-prompt.md +139 -0
- package/knowledge/skills/self-evolution.md +1160 -0
- package/knowledge/skills/seo-audit.md +432 -0
- package/knowledge/skills/seo-content.md +787 -0
- package/knowledge/skills/serena.md +13 -0
- package/knowledge/skills/signup-flow-cro.md +409 -0
- package/knowledge/skills/skill-creator.md +220 -0
- package/knowledge/skills/skill-manager.md +226 -0
- package/knowledge/skills/skill-share.md +98 -0
- package/knowledge/skills/slack.md +13 -0
- package/knowledge/skills/social-content.md +878 -0
- package/knowledge/skills/spec-flow-skill.md +124 -0
- package/knowledge/skills/stripe.md +13 -0
- package/knowledge/skills/supabase.md +13 -0
- package/knowledge/skills/swift-lsp.md +40 -0
- package/knowledge/skills/synthesizer.md +236 -0
- package/knowledge/skills/template-skill.md +16 -0
- package/knowledge/skills/testing-expert.md +99 -0
- package/knowledge/skills/theme-factory.md +72 -0
- package/knowledge/skills/tiktok-research.md +208 -0
- package/knowledge/skills/typescript-lsp.md +36 -0
- package/knowledge/skills/ui-ux-pro-max.md +247 -0
- package/knowledge/skills/verify.md +15 -0
- package/knowledge/skills/visual-prompt-engineer.md +102 -0
- package/knowledge/skills/webapp-testing.md +111 -0
- package/knowledge/skills/wide-research.md +191 -0
- package/knowledge/system.md +93 -0
- package/knowledge/task-router.md +37 -0
- package/knowledge/verification.md +38 -0
- package/knowledge/workflows/3d-viz.md +47 -0
- package/knowledge/workflows/data-pipeline.md +47 -0
- package/knowledge/workflows/db-migration.md +51 -0
- package/knowledge/workflows/feature-dev.md +41 -0
- package/knowledge/workflows/tdd-flow.md +52 -0
- package/knowledge/workflows/ui-verify.md +51 -0
- package/package.json +60 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "spec-flow-skill"
|
|
3
|
+
title: "Spec-Flow: Specs 编程工作流"
|
|
4
|
+
category: "dev-tools"
|
|
5
|
+
tags: ["核心理念", "阶段检测与执行", "验收检查点(示例)", "用户命令", "项目结构"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/spec-flow-skill"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: spec-flow
|
|
13
|
+
description: Specs编程工作流。自动检测阶段并执行:(1) 编写PRD - 无PRD.md时与用户讨论业务场景生成文档 (2) 生成PLAN - 有PRD无PLAN时生成包含AI提示词的任务清单 (3) 增量开发 - PRD和PLAN都存在时按任务逐步实现并验收。触发场景:开发新功能、写产品文档、规划任务、增量开发验收。
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Spec-Flow: Specs 编程工作流
|
|
17
|
+
|
|
18
|
+
## 核心理念
|
|
19
|
+
|
|
20
|
+
**提示词编译架构**:PRD(需求) → PLAN(任务+提示词) → 代码
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
┌─────────────────────────────────────────────────────────┐
|
|
24
|
+
│ PRD.md (高级需求) │
|
|
25
|
+
│ ↓ 外层提示词:需求 → 任务拆解 │
|
|
26
|
+
│ PLAN.md (任务清单,每个任务包含完整AI提示词) │
|
|
27
|
+
│ ↓ 内层提示词:任务 → 代码实现 │
|
|
28
|
+
│ 实际代码 │
|
|
29
|
+
└─────────────────────────────────────────────────────────┘
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## 阶段检测与执行
|
|
33
|
+
|
|
34
|
+
启动时自动检测:
|
|
35
|
+
|
|
36
|
+
1. 检查根目录 `PRD.md`
|
|
37
|
+
2. 检查 `specs/` 目录下的 PLAN 文件
|
|
38
|
+
3. 根据状态执行对应阶段
|
|
39
|
+
|
|
40
|
+
### 阶段1:编写 PRD(无 PRD.md)
|
|
41
|
+
|
|
42
|
+
与用户讨论业务场景,收集:
|
|
43
|
+
|
|
44
|
+
- 业务背景、目标用户
|
|
45
|
+
- 核心功能需求
|
|
46
|
+
- 用户操作流程
|
|
47
|
+
- UI 设计(文字描述 + ASCII 草图,无需 Figma)
|
|
48
|
+
|
|
49
|
+
生成 `PRD.md` 到根目录,完成后等待用户检查反馈。
|
|
50
|
+
|
|
51
|
+
详细模板:[references/prd-template.md](references/prd-template.md)
|
|
52
|
+
|
|
53
|
+
### 阶段2:生成 PLAN(有 PRD.md,无 PLAN)
|
|
54
|
+
|
|
55
|
+
基于 PRD.md 生成 `specs/[功能名]-PLAN.md`
|
|
56
|
+
|
|
57
|
+
**任务要求**:
|
|
58
|
+
|
|
59
|
+
- 独立可执行,完成后可直接提交
|
|
60
|
+
- 控制在 2 小时内
|
|
61
|
+
- 按依赖和优先级排序
|
|
62
|
+
- 每个任务包含完整的 AI 提示词
|
|
63
|
+
- 在 PLAN 末尾设置"验收检查点"
|
|
64
|
+
|
|
65
|
+
**⚠️ 提示词灵魂:角色扮演**
|
|
66
|
+
|
|
67
|
+
每个 AI 提示词**必须以角色定义开头**!
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
❌ 错误:请创建 xxx 文件...
|
|
71
|
+
✅ 正确:你是一位资深 Python 开发专家,精通 xxx。请创建 xxx 文件...
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**提示词关键字**:
|
|
75
|
+
|
|
76
|
+
| 关键字 | 场景 |
|
|
77
|
+
| -------------------- | ------------------ |
|
|
78
|
+
| `ultrathink` | 复杂逻辑、架构设计 |
|
|
79
|
+
| `use context7` | 查阅外部库文档 |
|
|
80
|
+
| `coding with gemini` | 前端界面、长上下文 |
|
|
81
|
+
|
|
82
|
+
详细模板:[references/plan-template.md](references/plan-template.md)
|
|
83
|
+
|
|
84
|
+
### 阶段3:增量开发(PRD 和 PLAN 都存在)
|
|
85
|
+
|
|
86
|
+
1. 读取 PLAN,识别下一个 `[ ]` 未完成任务
|
|
87
|
+
2. 显示任务信息,执行其 AI 提示词
|
|
88
|
+
3. 完成后标记 `[x]`
|
|
89
|
+
4. 检查是否到达"验收检查点"
|
|
90
|
+
5. 到达检查点时暂停,等待用户验收确认
|
|
91
|
+
|
|
92
|
+
**⚠️ 阶段验收机制**
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
不是每个任务都停!而是到达"验收检查点"时停下来:
|
|
96
|
+
|
|
97
|
+
## 验收检查点(示例)
|
|
98
|
+
- [ ] Task 1-3 完成后:基础功能验收 ← 停下来
|
|
99
|
+
- [ ] Task 4-6 完成后:核心功能验收 ← 停下来
|
|
100
|
+
- [ ] 全部完成后:集成测试验收 ← 停下来
|
|
101
|
+
|
|
102
|
+
到达检查点时:
|
|
103
|
+
1. 汇报当前阶段完成情况
|
|
104
|
+
2. 等待用户验收确认
|
|
105
|
+
3. 用户说"继续"后才进入下一阶段
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**状态标记**:`[ ]` 未开始 | `[x]` 已完成 | `[!]` 需修改
|
|
109
|
+
|
|
110
|
+
## 用户命令
|
|
111
|
+
|
|
112
|
+
- **"继续"** / **"下一个"** - 执行下一任务/阶段
|
|
113
|
+
- **"修改 PRD"** - 回到 PRD 编辑
|
|
114
|
+
- **"重新生成 PLAN"** - 重新生成任务清单
|
|
115
|
+
- **"查看进度"** - 显示完成情况
|
|
116
|
+
|
|
117
|
+
## 项目结构
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
项目根目录/
|
|
121
|
+
├── PRD.md # 产品需求文档
|
|
122
|
+
└── specs/
|
|
123
|
+
└── xxx-PLAN.md # 开发任务清单
|
|
124
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "swift-lsp"
|
|
3
|
+
title: "swift-lsp"
|
|
4
|
+
category: "other"
|
|
5
|
+
tags: ["swift-lsp", "supported extensions", "installation", "more information"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/swift-lsp"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# swift-lsp
|
|
12
|
+
|
|
13
|
+
Swift language server (SourceKit-LSP) for Claude Code, providing code intelligence for Swift projects.
|
|
14
|
+
|
|
15
|
+
## Supported Extensions
|
|
16
|
+
|
|
17
|
+
`.swift`
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
SourceKit-LSP is included with the Swift toolchain.
|
|
22
|
+
|
|
23
|
+
### macOS
|
|
24
|
+
|
|
25
|
+
Install Xcode from the App Store, or install Swift via:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
brew install swift
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Linux
|
|
32
|
+
|
|
33
|
+
Download and install Swift from [swift.org](https://www.swift.org/download/).
|
|
34
|
+
|
|
35
|
+
After installation, `sourcekit-lsp` should be available in your PATH.
|
|
36
|
+
|
|
37
|
+
## More Information
|
|
38
|
+
|
|
39
|
+
- [SourceKit-LSP GitHub](https://github.com/apple/sourcekit-lsp)
|
|
40
|
+
- [Swift.org](https://www.swift.org/)
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "synthesizer"
|
|
3
|
+
title: "Synthesizer"
|
|
4
|
+
category: "research"
|
|
5
|
+
tags: ["synthesizer", "role", "core responsibilities", "synthesis process", "executive summary", "1. introduction", "5. integrated analysis", "6. gaps and limitations", "references"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/synthesizer"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: synthesizer
|
|
13
|
+
description: 将多个研究智能体的发现综合成连贯、结构化的研究报告。解决矛盾、提取共识、创建统一叙述。当多个研究智能体完成研究、需要将发现组合成统一报告、发现之间存在矛盾时使用此技能。
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Synthesizer
|
|
17
|
+
|
|
18
|
+
## Role
|
|
19
|
+
|
|
20
|
+
You are a **Research Synthesizer** responsible for combining findings from multiple research agents into a coherent, well-structured, and insightful research report.
|
|
21
|
+
|
|
22
|
+
## Core Responsibilities
|
|
23
|
+
|
|
24
|
+
1. **Integrate Findings**: Combine multiple research sources into unified content
|
|
25
|
+
2. **Resolve Contradictions**: Identify and explain conflicting information
|
|
26
|
+
3. **Extract Consensus**: Identify themes and conclusions supported by multiple sources
|
|
27
|
+
4. **Create Narrative**: Build a logical flow from introduction to conclusions
|
|
28
|
+
5. **Maintain Citations**: Preserve source attribution throughout synthesis
|
|
29
|
+
6. **Identify Gaps**: Note what is still unknown or needs further research
|
|
30
|
+
|
|
31
|
+
## Synthesis Process
|
|
32
|
+
|
|
33
|
+
### Phase 1: Review and Organize
|
|
34
|
+
|
|
35
|
+
- Review all research findings from agents
|
|
36
|
+
- Identify common themes and topics
|
|
37
|
+
- Note contradictions and discrepancies
|
|
38
|
+
- Assess source quality and credibility
|
|
39
|
+
- Group related findings together
|
|
40
|
+
|
|
41
|
+
### Phase 2: Consensus Building
|
|
42
|
+
|
|
43
|
+
For each theme, identify:
|
|
44
|
+
|
|
45
|
+
1. **Strong Consensus**: Findings supported by 3+ high-quality sources
|
|
46
|
+
2. **Moderate Consensus**: Findings supported by 2 sources
|
|
47
|
+
3. **Weak Consensus**: Findings from only 1 source
|
|
48
|
+
4. **No Consensus**: Contradictory findings with no resolution
|
|
49
|
+
|
|
50
|
+
### Phase 3: Contradiction Resolution
|
|
51
|
+
|
|
52
|
+
**Types of Contradictions**:
|
|
53
|
+
|
|
54
|
+
**Type A: Numerical Discrepancies**
|
|
55
|
+
|
|
56
|
+
- Check publication dates, methodology, scope
|
|
57
|
+
- Present range or explain discrepancy
|
|
58
|
+
|
|
59
|
+
**Type B: Causal Claims**
|
|
60
|
+
|
|
61
|
+
- Prioritize RCT over observational studies
|
|
62
|
+
- Present as "evidence suggests" not "proven"
|
|
63
|
+
|
|
64
|
+
**Type C: Temporal Changes**
|
|
65
|
+
|
|
66
|
+
- Present as trend/growth
|
|
67
|
+
- Use newer data for current state
|
|
68
|
+
|
|
69
|
+
**Type D: Scope Differences**
|
|
70
|
+
|
|
71
|
+
- Contextualize both findings
|
|
72
|
+
- Explain conditions matter
|
|
73
|
+
|
|
74
|
+
### Phase 4: Structured Synthesis
|
|
75
|
+
|
|
76
|
+
**Report Structure**:
|
|
77
|
+
|
|
78
|
+
```markdown
|
|
79
|
+
# [Research Topic]: Comprehensive Report
|
|
80
|
+
|
|
81
|
+
## Executive Summary
|
|
82
|
+
|
|
83
|
+
## 1. Introduction
|
|
84
|
+
|
|
85
|
+
## 2. [Theme 1] - Consensus Findings
|
|
86
|
+
|
|
87
|
+
## 3. [Theme 2]
|
|
88
|
+
|
|
89
|
+
## 4. [Theme with Contradictions] - Resolution
|
|
90
|
+
|
|
91
|
+
## 5. Integrated Analysis
|
|
92
|
+
|
|
93
|
+
## 6. Gaps and Limitations
|
|
94
|
+
|
|
95
|
+
## 7. Conclusions and Recommendations
|
|
96
|
+
|
|
97
|
+
## References
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Phase 5: Quality Enhancement
|
|
101
|
+
|
|
102
|
+
**Synthesis Quality Checklist**:
|
|
103
|
+
|
|
104
|
+
- [ ] All major findings are included
|
|
105
|
+
- [ ] Contradictions are acknowledged and addressed
|
|
106
|
+
- [ ] Consensus is clearly distinguished from minority views
|
|
107
|
+
- [ ] Citations are preserved and accurate
|
|
108
|
+
- [ ] Narrative flow is logical and coherent
|
|
109
|
+
- [ ] Insights are actionable, not just summary
|
|
110
|
+
- [ ] Uncertainties and limitations are explicit
|
|
111
|
+
- [ ] No new claims are introduced without sources
|
|
112
|
+
|
|
113
|
+
## Synthesis Techniques
|
|
114
|
+
|
|
115
|
+
### Technique 1: Thematic Grouping
|
|
116
|
+
|
|
117
|
+
Group related findings under themes, not by agent
|
|
118
|
+
|
|
119
|
+
### Technique 2: Source Triangulation
|
|
120
|
+
|
|
121
|
+
When multiple high-quality sources converge, confidence increases
|
|
122
|
+
|
|
123
|
+
### Technique 3: Progressive Disclosure
|
|
124
|
+
|
|
125
|
+
Build understanding gradually: foundational → complex
|
|
126
|
+
|
|
127
|
+
### Technique 4: Comparative Synthesis
|
|
128
|
+
|
|
129
|
+
Use tables for side-by-side comparison
|
|
130
|
+
|
|
131
|
+
### Technique 5: Narrative Arc
|
|
132
|
+
|
|
133
|
+
Trace evolution through phases for historical topics
|
|
134
|
+
|
|
135
|
+
## Handling Synthesis Challenges
|
|
136
|
+
|
|
137
|
+
### Overwhelming Amount of Data
|
|
138
|
+
|
|
139
|
+
Create hierarchy: Executive Summary → Main Report → Appendices
|
|
140
|
+
|
|
141
|
+
### Conflicting High-Quality Sources
|
|
142
|
+
|
|
143
|
+
Acknowledge both, explain why they differ, avoid arbitrary choices
|
|
144
|
+
|
|
145
|
+
### Weak Sources on Important Topics
|
|
146
|
+
|
|
147
|
+
Flag as "needs verification", present as "preliminary", don't overstate certainty
|
|
148
|
+
|
|
149
|
+
### Gaps in Research
|
|
150
|
+
|
|
151
|
+
Explicitly state unknowns, explain why hard to research, suggest approaches
|
|
152
|
+
|
|
153
|
+
## Synthesis Output Formats
|
|
154
|
+
|
|
155
|
+
1. **Comprehensive Report**: Full detailed report with all findings
|
|
156
|
+
2. **Executive Summary**: Condensed 1-2 page summary
|
|
157
|
+
3. **Thematic Analysis**: Organized by themes
|
|
158
|
+
4. **Comparative Matrix**: Side-by-side comparison
|
|
159
|
+
5. **Decision Framework**: Structured decision-making guide
|
|
160
|
+
|
|
161
|
+
## Integration with GoT Operations
|
|
162
|
+
|
|
163
|
+
The Synthesizer is often called after GoT **Aggregate** operations to create coherent reports from combined findings.
|
|
164
|
+
|
|
165
|
+
## Quality Metrics
|
|
166
|
+
|
|
167
|
+
**Synthesis Quality Score** (0-10):
|
|
168
|
+
|
|
169
|
+
- **Coverage** (0-2): All important findings included?
|
|
170
|
+
- **Coherence** (0-2): Logical flow and structure?
|
|
171
|
+
- **Accuracy** (0-2): Citations preserved, no new claims?
|
|
172
|
+
- **Insight** (0-2): Actionable insights, not just summary?
|
|
173
|
+
- **Clarity** (0-2): Clear, well-organized, accessible?
|
|
174
|
+
|
|
175
|
+
## Tool Usage
|
|
176
|
+
|
|
177
|
+
### Read/Write
|
|
178
|
+
|
|
179
|
+
Save synthesis outputs to `full_report.md`, `executive_summary.md`, `synthesis_notes.md`
|
|
180
|
+
|
|
181
|
+
### Task (for additional research)
|
|
182
|
+
|
|
183
|
+
If synthesis reveals gaps, launch new research agents
|
|
184
|
+
|
|
185
|
+
## Best Practices
|
|
186
|
+
|
|
187
|
+
1. **Stay True to Sources**: Don't introduce claims not supported by research
|
|
188
|
+
2. **Acknowledge Uncertainty**: Clearly state what is unknown
|
|
189
|
+
3. **Fair Presentation**: Present all credible perspectives
|
|
190
|
+
4. **Logical Organization**: Group related findings, build understanding progressively
|
|
191
|
+
5. **Actionable Insights**: Move beyond summary to implications and recommendations
|
|
192
|
+
6. **Source Diversity**: Synthesize from multiple source types when possible
|
|
193
|
+
7. **Citation Discipline**: Maintain attribution throughout
|
|
194
|
+
|
|
195
|
+
## Common Synthesis Patterns
|
|
196
|
+
|
|
197
|
+
### Pattern 1: Problem-Solution
|
|
198
|
+
|
|
199
|
+
Define problem → Current approaches → Limitations → Emerging solutions → Recommendations
|
|
200
|
+
|
|
201
|
+
### Pattern 2: Past-Present-Future
|
|
202
|
+
|
|
203
|
+
Historical context → Current state → Emerging trends → Future projections → Strategic implications
|
|
204
|
+
|
|
205
|
+
### Pattern 3: Comparative Evaluation
|
|
206
|
+
|
|
207
|
+
Options overview → Comparison by criteria → Pros/cons → Use case mapping → Recommendation framework
|
|
208
|
+
|
|
209
|
+
### Pattern 4: Causal Analysis
|
|
210
|
+
|
|
211
|
+
Phenomenon description → Identified causes → Mechanisms → Evidence strength → Intervention points
|
|
212
|
+
|
|
213
|
+
## Success Criteria
|
|
214
|
+
|
|
215
|
+
- [ ] All relevant findings are incorporated
|
|
216
|
+
- [ ] Contradictions are resolved or explained
|
|
217
|
+
- [ ] Consensus is clearly identified
|
|
218
|
+
- [ ] Citations are preserved and accurate
|
|
219
|
+
- [ ] Narrative is coherent and logical
|
|
220
|
+
- [ ] Insights are actionable
|
|
221
|
+
- [ ] Gaps are acknowledged
|
|
222
|
+
- [ ] Quality score ≥ 8/10
|
|
223
|
+
|
|
224
|
+
## Examples
|
|
225
|
+
|
|
226
|
+
See [examples.md](examples.md) for detailed usage examples.
|
|
227
|
+
|
|
228
|
+
## Remember
|
|
229
|
+
|
|
230
|
+
You are the **Synthesizer** - you transform raw research data into knowledge. Your value is not in summarizing, but in **integrating, contextualizing, and illuminating**.
|
|
231
|
+
|
|
232
|
+
**Good synthesis** = "Here's what the research says, what it means, and what you should do about it."
|
|
233
|
+
|
|
234
|
+
**Bad synthesis** = "Here's a list of things the research found."
|
|
235
|
+
|
|
236
|
+
**Be the former, not the latter.**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "template-skill"
|
|
3
|
+
title: "Insert instructions below"
|
|
4
|
+
category: "other"
|
|
5
|
+
tags: ["insert instructions below"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/template-skill"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: template-skill
|
|
13
|
+
description: Replace with description of the skill and when Claude should use it.
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Insert instructions below
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "testing-expert"
|
|
3
|
+
title: "Testing Expert"
|
|
4
|
+
category: "dev-tools"
|
|
5
|
+
tags: ["testing expert", "testing principles", "test types", "best practices", "output format", "test strategy", "test cases", "test code", "coverage analysis"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/testing-expert"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: testing-expert
|
|
13
|
+
description: Expert skill for writing comprehensive tests including unit tests, integration tests, and test strategies
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Testing Expert
|
|
17
|
+
|
|
18
|
+
You are an expert in software testing with deep knowledge of testing strategies, frameworks, and best practices.
|
|
19
|
+
|
|
20
|
+
## Testing Principles
|
|
21
|
+
|
|
22
|
+
### 1. Test Pyramid
|
|
23
|
+
|
|
24
|
+
- **Unit Tests** (70%): Fast, isolated, test single units
|
|
25
|
+
- **Integration Tests** (20%): Test component interactions
|
|
26
|
+
- **E2E Tests** (10%): Test complete user flows
|
|
27
|
+
|
|
28
|
+
### 2. FIRST Principles
|
|
29
|
+
|
|
30
|
+
- **Fast**: Tests should run quickly
|
|
31
|
+
- **Independent**: Tests should not depend on each other
|
|
32
|
+
- **Repeatable**: Same results every time
|
|
33
|
+
- **Self-validating**: Pass or fail, no manual inspection
|
|
34
|
+
- **Timely**: Written at the right time (ideally before code)
|
|
35
|
+
|
|
36
|
+
### 3. AAA Pattern
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
// Arrange - Set up test data and conditions
|
|
40
|
+
const calculator = new Calculator();
|
|
41
|
+
|
|
42
|
+
// Act - Execute the code under test
|
|
43
|
+
const result = calculator.add(2, 3);
|
|
44
|
+
|
|
45
|
+
// Assert - Verify the expected outcome
|
|
46
|
+
expect(result).toBe(5);
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Test Types
|
|
50
|
+
|
|
51
|
+
### Unit Tests
|
|
52
|
+
|
|
53
|
+
- Test single functions/methods in isolation
|
|
54
|
+
- Mock external dependencies
|
|
55
|
+
- Focus on edge cases and boundary conditions
|
|
56
|
+
|
|
57
|
+
### Integration Tests
|
|
58
|
+
|
|
59
|
+
- Test component interactions
|
|
60
|
+
- Use real dependencies when possible
|
|
61
|
+
- Test API contracts
|
|
62
|
+
|
|
63
|
+
### Property-Based Tests
|
|
64
|
+
|
|
65
|
+
- Generate random inputs
|
|
66
|
+
- Verify invariants hold for all inputs
|
|
67
|
+
- Great for finding edge cases
|
|
68
|
+
|
|
69
|
+
## Best Practices
|
|
70
|
+
|
|
71
|
+
1. **Descriptive Test Names**
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
it('should return empty array when filtering with no matches')
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
2. **One Assertion Per Test** (when practical)
|
|
78
|
+
|
|
79
|
+
3. **Test Behavior, Not Implementation**
|
|
80
|
+
|
|
81
|
+
4. **Use Test Fixtures and Factories**
|
|
82
|
+
|
|
83
|
+
5. **Avoid Test Interdependence**
|
|
84
|
+
|
|
85
|
+
## Output Format
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
## Test Strategy
|
|
89
|
+
[Overview of testing approach]
|
|
90
|
+
|
|
91
|
+
## Test Cases
|
|
92
|
+
[List of test cases with descriptions]
|
|
93
|
+
|
|
94
|
+
## Test Code
|
|
95
|
+
[Actual test implementations]
|
|
96
|
+
|
|
97
|
+
## Coverage Analysis
|
|
98
|
+
[Areas covered and gaps identified]
|
|
99
|
+
```
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "theme-factory"
|
|
3
|
+
title: "Theme Factory Skill"
|
|
4
|
+
category: "design"
|
|
5
|
+
tags: ["theme factory skill", "purpose", "usage instructions", "themes available", "theme details", "application process", "create your own theme"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/theme-factory"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: theme-factory
|
|
13
|
+
description: 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/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
|
|
14
|
+
license: Complete terms in LICENSE.txt
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Theme Factory Skill
|
|
18
|
+
|
|
19
|
+
This skill provides a curated collection of professional font and color themes themes, each with carefully selected color palettes and font pairings. Once a theme is chosen, it can be applied to any artifact.
|
|
20
|
+
|
|
21
|
+
## Purpose
|
|
22
|
+
|
|
23
|
+
To apply consistent, professional styling to presentation slide decks, use this skill. Each theme includes:
|
|
24
|
+
|
|
25
|
+
- A cohesive color palette with hex codes
|
|
26
|
+
- Complementary font pairings for headers and body text
|
|
27
|
+
- A distinct visual identity suitable for different contexts and audiences
|
|
28
|
+
|
|
29
|
+
## Usage Instructions
|
|
30
|
+
|
|
31
|
+
To apply styling to a slide deck or other artifact:
|
|
32
|
+
|
|
33
|
+
1. **Show the theme showcase**: Display the `theme-showcase.pdf` file to allow users to see all available themes visually. Do not make any modifications to it; simply show the file for viewing.
|
|
34
|
+
2. **Ask for their choice**: Ask which theme to apply to the deck
|
|
35
|
+
3. **Wait for selection**: Get explicit confirmation about the chosen theme
|
|
36
|
+
4. **Apply the theme**: Once a theme has been chosen, apply the selected theme's colors and fonts to the deck/artifact
|
|
37
|
+
|
|
38
|
+
## Themes Available
|
|
39
|
+
|
|
40
|
+
The following 10 themes are available, each showcased in `theme-showcase.pdf`:
|
|
41
|
+
|
|
42
|
+
1. **Ocean Depths** - Professional and calming maritime theme
|
|
43
|
+
2. **Sunset Boulevard** - Warm and vibrant sunset colors
|
|
44
|
+
3. **Forest Canopy** - Natural and grounded earth tones
|
|
45
|
+
4. **Modern Minimalist** - Clean and contemporary grayscale
|
|
46
|
+
5. **Golden Hour** - Rich and warm autumnal palette
|
|
47
|
+
6. **Arctic Frost** - Cool and crisp winter-inspired theme
|
|
48
|
+
7. **Desert Rose** - Soft and sophisticated dusty tones
|
|
49
|
+
8. **Tech Innovation** - Bold and modern tech aesthetic
|
|
50
|
+
9. **Botanical Garden** - Fresh and organic garden colors
|
|
51
|
+
10. **Midnight Galaxy** - Dramatic and cosmic deep tones
|
|
52
|
+
|
|
53
|
+
## Theme Details
|
|
54
|
+
|
|
55
|
+
Each theme is defined in the `themes/` directory with complete specifications including:
|
|
56
|
+
|
|
57
|
+
- Cohesive color palette with hex codes
|
|
58
|
+
- Complementary font pairings for headers and body text
|
|
59
|
+
- Distinct visual identity suitable for different contexts and audiences
|
|
60
|
+
|
|
61
|
+
## Application Process
|
|
62
|
+
|
|
63
|
+
After a preferred theme is selected:
|
|
64
|
+
|
|
65
|
+
1. Read the corresponding theme file from the `themes/` directory
|
|
66
|
+
2. Apply the specified colors and fonts consistently throughout the deck
|
|
67
|
+
3. Ensure proper contrast and readability
|
|
68
|
+
4. Maintain the theme's visual identity across all slides
|
|
69
|
+
|
|
70
|
+
## Create your Own Theme
|
|
71
|
+
|
|
72
|
+
To handle cases where none of the existing themes work for an artifact, create a custom theme. Based on provided inputs, generate a new theme similar to the ones above. Give the theme a similar name describing what the font/color combinations represent. Use any basic description provided to choose appropriate colors/fonts. After generating the theme, show it for review and verification. Following that, apply the theme as described above.
|