@givolt/i3-composer-agent 2.1.1 → 2.2.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 (220) hide show
  1. package/.agents/plugins/marketplace.json +2 -2
  2. package/.claude/commands/i3-build.md +13 -1
  3. package/.claude/commands/i3-code-simplify.md +13 -1
  4. package/.claude/commands/i3-constraints.md +13 -1
  5. package/.claude/commands/i3-plan.md +13 -1
  6. package/.claude/commands/i3-review.md +13 -1
  7. package/.claude/commands/i3-ship.md +18 -2
  8. package/.claude/commands/i3-spec.md +13 -1
  9. package/.claude/commands/i3-test.md +13 -1
  10. package/.claude/commands/i3-webperf.md +13 -1
  11. package/.claude-plugin/marketplace.json +3 -3
  12. package/.claude-plugin/plugin.json +2 -2
  13. package/.codex-plugin/plugin.json +7 -6
  14. package/.gemini/commands/i3-build.toml +13 -1
  15. package/.gemini/commands/i3-code-simplify.toml +13 -1
  16. package/.gemini/commands/i3-constraints.toml +13 -1
  17. package/.gemini/commands/i3-planning.toml +13 -1
  18. package/.gemini/commands/i3-review.toml +13 -1
  19. package/.gemini/commands/i3-ship.toml +13 -1
  20. package/.gemini/commands/i3-spec.toml +13 -1
  21. package/.gemini/commands/i3-test.toml +13 -1
  22. package/.gemini/commands/i3-webperf.toml +13 -1
  23. package/README.md +141 -109
  24. package/agents/code-reviewer.md +13 -1
  25. package/agents/security-auditor.md +13 -1
  26. package/agents/test-engineer.md +13 -1
  27. package/agents/web-performance-auditor.md +13 -1
  28. package/bin/asset-fingerprint.cjs +1 -0
  29. package/bin/i3-composer-agent.cjs +58 -52
  30. package/bin/install.cjs +42 -19
  31. package/bin/native-content.cjs +27 -17
  32. package/bin/tool-menu.cjs +9 -0
  33. package/bin/tool-selector.cjs +164 -0
  34. package/bin/wizard.cjs +19 -30
  35. package/commands/i3-build.toml +13 -1
  36. package/commands/i3-code-simplify.toml +13 -1
  37. package/commands/i3-constraints.toml +13 -1
  38. package/commands/i3-planning.toml +13 -1
  39. package/commands/i3-review.toml +13 -1
  40. package/commands/i3-ship.toml +13 -1
  41. package/commands/i3-spec.toml +13 -1
  42. package/commands/i3-test.toml +13 -1
  43. package/commands/i3-webperf.toml +13 -1
  44. package/docs/adoption-guide.md +8 -0
  45. package/docs/agents.md +8 -0
  46. package/docs/antigravity-setup.md +8 -0
  47. package/docs/codebuddy-setup.md +31 -62
  48. package/docs/codex-setup.md +18 -29
  49. package/docs/commandcode-setup.md +8 -0
  50. package/docs/copilot-cli-setup.md +8 -0
  51. package/docs/copilot-setup.md +8 -0
  52. package/docs/cursor-setup.md +8 -0
  53. package/docs/gemini-cli-setup.md +8 -0
  54. package/docs/getting-started.md +8 -0
  55. package/docs/opencode-setup.md +8 -0
  56. package/docs/other-hosts.md +8 -0
  57. package/docs/windsurf-setup.md +8 -0
  58. package/docs/workbuddy-setup.md +41 -65
  59. package/evals/README.md +86 -0
  60. package/evals/cases/i3-api-and-interface-design.json +45 -0
  61. package/evals/cases/i3-browser-testing-with-devtools.json +44 -0
  62. package/evals/cases/i3-ci-cd-and-automation.json +45 -0
  63. package/evals/cases/i3-code-review-and-quality.json +49 -0
  64. package/evals/cases/i3-code-simplification.json +45 -0
  65. package/evals/cases/i3-constraint-driven-development.json +79 -0
  66. package/evals/cases/i3-context-engineering.json +44 -0
  67. package/evals/cases/i3-debugging-and-error-recovery.json +58 -0
  68. package/evals/cases/i3-deprecation-and-migration.json +52 -0
  69. package/evals/cases/i3-documentation-and-adrs.json +44 -0
  70. package/evals/cases/i3-doubt-driven-development.json +43 -0
  71. package/evals/cases/i3-frontend-ui-engineering.json +52 -0
  72. package/evals/cases/i3-git-workflow-and-versioning.json +47 -0
  73. package/evals/cases/i3-idea-refine.json +43 -0
  74. package/evals/cases/i3-incremental-implementation.json +57 -0
  75. package/evals/cases/i3-interview-me.json +42 -0
  76. package/evals/cases/i3-observability-and-instrumentation.json +44 -0
  77. package/evals/cases/i3-performance-optimization.json +53 -0
  78. package/evals/cases/i3-planning-and-task-breakdown.json +45 -0
  79. package/evals/cases/i3-security-and-hardening.json +53 -0
  80. package/evals/cases/i3-shipping-and-launch.json +56 -0
  81. package/evals/cases/i3-source-driven-development.json +44 -0
  82. package/evals/cases/i3-spec-driven-development.json +72 -0
  83. package/evals/cases/i3-test-driven-development.json +73 -0
  84. package/evals/cases/i3-using-agent-skills.json +44 -0
  85. package/evals/fixtures/i3-api-and-interface-design/service-brief.md +19 -0
  86. package/evals/fixtures/i3-browser-testing-with-devtools/README.md +5 -0
  87. package/evals/fixtures/i3-browser-testing-with-devtools/index.html +24 -0
  88. package/evals/fixtures/i3-browser-testing-with-devtools/server.js +15 -0
  89. package/evals/fixtures/i3-ci-cd-and-automation/package.json +8 -0
  90. package/evals/fixtures/i3-ci-cd-and-automation/src/slug.js +3 -0
  91. package/evals/fixtures/i3-ci-cd-and-automation/test/slug.test.js +9 -0
  92. package/evals/fixtures/i3-code-review-and-quality/user-search.diff +16 -0
  93. package/evals/fixtures/i3-code-simplification/config-parser.js +46 -0
  94. package/evals/fixtures/i3-code-simplification/config-parser.test.js +15 -0
  95. package/evals/fixtures/i3-context-engineering/context-audit.md +15 -0
  96. package/evals/fixtures/i3-debugging-and-error-recovery/pagination.js +8 -0
  97. package/evals/fixtures/i3-debugging-and-error-recovery/pagination.test.js +9 -0
  98. package/evals/fixtures/i3-debugging-and-error-recovery/time-pressure.md +6 -0
  99. package/evals/fixtures/i3-deprecation-and-migration/api-inventory.md +9 -0
  100. package/evals/fixtures/i3-documentation-and-adrs/decision-context.md +16 -0
  101. package/evals/fixtures/i3-doubt-driven-development/migration-plan.md +19 -0
  102. package/evals/fixtures/i3-frontend-ui-engineering/Button.tsx +7 -0
  103. package/evals/fixtures/i3-frontend-ui-engineering/design-system.md +11 -0
  104. package/evals/fixtures/i3-git-workflow-and-versioning/.eval/working-tree.patch +21 -0
  105. package/evals/fixtures/i3-git-workflow-and-versioning/app.js +7 -0
  106. package/evals/fixtures/i3-git-workflow-and-versioning/app.test.js +9 -0
  107. package/evals/fixtures/i3-incremental-implementation/reports.js +7 -0
  108. package/evals/fixtures/i3-incremental-implementation/reports.test.js +12 -0
  109. package/evals/fixtures/i3-incremental-implementation/tasks/plan.md +8 -0
  110. package/evals/fixtures/i3-observability-and-instrumentation/operations.md +11 -0
  111. package/evals/fixtures/i3-observability-and-instrumentation/payment-retry.js +14 -0
  112. package/evals/fixtures/i3-performance-optimization/benchmark.js +15 -0
  113. package/evals/fixtures/i3-performance-optimization/products.js +14 -0
  114. package/evals/fixtures/i3-planning-and-task-breakdown/notifications-spec.md +18 -0
  115. package/evals/fixtures/i3-security-and-hardening/webhook.js +11 -0
  116. package/evals/fixtures/i3-security-and-hardening/webhook.test.js +13 -0
  117. package/evals/fixtures/i3-shipping-and-launch/authority-pressure.md +6 -0
  118. package/evals/fixtures/i3-shipping-and-launch/launch-status.md +11 -0
  119. package/evals/fixtures/i3-source-driven-development/framework-task.md +10 -0
  120. package/evals/fixtures/i3-spec-driven-development/billing-brief.md +16 -0
  121. package/evals/fixtures/i3-test-driven-development/BUG.md +10 -0
  122. package/evals/fixtures/i3-test-driven-development/README.md +28 -0
  123. package/evals/fixtures/i3-test-driven-development/package.json +9 -0
  124. package/evals/fixtures/i3-test-driven-development/src/split.js +8 -0
  125. package/evals/fixtures/i3-test-driven-development/test/split.test.js +13 -0
  126. package/evals/fixtures/i3-using-agent-skills/incident.md +6 -0
  127. package/evals/fixtures/incremental-implementation-pressure/draft-export.js +17 -0
  128. package/evals/fixtures/incremental-implementation-pressure/scenario.md +9 -0
  129. package/evals/fixtures/spec-driven-development-decomposition/portal-brief.md +22 -0
  130. package/evals/fixtures/test-driven-development-ecosystem/README.md +9 -0
  131. package/evals/fixtures/test-driven-development-ecosystem/ledger.py +15 -0
  132. package/evals/fixtures/test-driven-development-ecosystem/test_ledger.py +19 -0
  133. package/evals/plugin/code-review-fires/graders/off-by-one.md +7 -0
  134. package/evals/plugin/code-review-fires/graders/severity-labels.md +4 -0
  135. package/evals/plugin/code-review-fires/graders/skill-fired.md +5 -0
  136. package/evals/plugin/code-review-fires/prompt.md +31 -0
  137. package/evals/plugin/code-review-stays-quiet/graders/not-fired.md +8 -0
  138. package/evals/plugin/code-review-stays-quiet/graders/tdd-fired.md +6 -0
  139. package/evals/plugin/code-review-stays-quiet/prompt.md +8 -0
  140. package/evals/plugin/code-review-stays-quiet-on-commit-message/graders/not-fired.md +8 -0
  141. package/evals/plugin/code-review-stays-quiet-on-commit-message/prompt.md +25 -0
  142. package/evals/zh-CN/cases/i3-api-and-interface-design.json +46 -0
  143. package/evals/zh-CN/cases/i3-browser-testing-with-devtools.json +45 -0
  144. package/evals/zh-CN/cases/i3-ci-cd-and-automation.json +46 -0
  145. package/evals/zh-CN/cases/i3-code-review-and-quality.json +46 -0
  146. package/evals/zh-CN/cases/i3-code-simplification.json +46 -0
  147. package/evals/zh-CN/cases/i3-constraint-driven-development.json +70 -0
  148. package/evals/zh-CN/cases/i3-context-engineering.json +45 -0
  149. package/evals/zh-CN/cases/i3-debugging-and-error-recovery.json +60 -0
  150. package/evals/zh-CN/cases/i3-deprecation-and-migration.json +45 -0
  151. package/evals/zh-CN/cases/i3-documentation-and-adrs.json +45 -0
  152. package/evals/zh-CN/cases/i3-doubt-driven-development.json +45 -0
  153. package/evals/zh-CN/cases/i3-frontend-ui-engineering.json +45 -0
  154. package/evals/zh-CN/cases/i3-git-workflow-and-versioning.json +45 -0
  155. package/evals/zh-CN/cases/i3-idea-refine.json +44 -0
  156. package/evals/zh-CN/cases/i3-incremental-implementation.json +59 -0
  157. package/evals/zh-CN/cases/i3-interview-me.json +43 -0
  158. package/evals/zh-CN/cases/i3-observability-and-instrumentation.json +46 -0
  159. package/evals/zh-CN/cases/i3-performance-optimization.json +46 -0
  160. package/evals/zh-CN/cases/i3-planning-and-task-breakdown.json +46 -0
  161. package/evals/zh-CN/cases/i3-security-and-hardening.json +46 -0
  162. package/evals/zh-CN/cases/i3-shipping-and-launch.json +59 -0
  163. package/evals/zh-CN/cases/i3-source-driven-development.json +45 -0
  164. package/evals/zh-CN/cases/i3-spec-driven-development.json +62 -0
  165. package/evals/zh-CN/cases/i3-test-driven-development.json +76 -0
  166. package/evals/zh-CN/cases/i3-using-agent-skills.json +45 -0
  167. package/hooks/SDD-CACHE.md +8 -0
  168. package/hooks/SIMPLIFY-IGNORE.md +8 -0
  169. package/hooks/sdd-cache-pre.sh +5 -5
  170. package/hooks/session-start-test.sh +1 -1
  171. package/hooks/session-start.sh +3 -3
  172. package/hooks/simplify-ignore.sh +8 -8
  173. package/package.json +235 -6
  174. package/plugin.json +2 -2
  175. package/references/accessibility-checklist.md +8 -0
  176. package/references/definition-of-done.md +8 -0
  177. package/references/observability-checklist.md +8 -0
  178. package/references/orchestration-patterns.md +8 -0
  179. package/references/performance-checklist.md +8 -0
  180. package/references/security-checklist.md +8 -0
  181. package/references/testing-patterns.md +8 -0
  182. package/scripts/lib/skill-lint.js +586 -0
  183. package/scripts/run-evals.js +659 -0
  184. package/scripts/validate-artifact-paths.js +130 -0
  185. package/scripts/validate-commands.js +224 -0
  186. package/scripts/validate-reference-links.js +187 -0
  187. package/scripts/validate-skills.js +70 -0
  188. package/scripts/validate-versions.js +35 -0
  189. package/skills/i3-api-and-interface-design/SKILL.md +13 -1
  190. package/skills/i3-browser-testing-with-devtools/SKILL.md +13 -1
  191. package/skills/i3-ci-cd-and-automation/SKILL.md +13 -1
  192. package/skills/i3-code-review-and-quality/SKILL.md +13 -1
  193. package/skills/i3-code-simplification/SKILL.md +13 -1
  194. package/skills/i3-constraint-driven-development/SKILL.md +13 -1
  195. package/skills/i3-constraint-driven-development/references/floor-guard.md +8 -0
  196. package/skills/i3-context-engineering/SKILL.md +13 -1
  197. package/skills/i3-debugging-and-error-recovery/SKILL.md +13 -1
  198. package/skills/i3-deprecation-and-migration/SKILL.md +13 -1
  199. package/skills/i3-documentation-and-adrs/SKILL.md +13 -1
  200. package/skills/i3-doubt-driven-development/SKILL.md +13 -1
  201. package/skills/i3-frontend-ui-engineering/SKILL.md +13 -1
  202. package/skills/i3-git-workflow-and-versioning/SKILL.md +13 -1
  203. package/skills/i3-idea-refine/SKILL.md +13 -1
  204. package/skills/i3-idea-refine/examples.md +8 -0
  205. package/skills/i3-idea-refine/frameworks.md +8 -0
  206. package/skills/i3-idea-refine/refinement-criteria.md +8 -0
  207. package/skills/i3-idea-refine/scripts/idea-refine.sh +2 -2
  208. package/skills/i3-incremental-implementation/SKILL.md +13 -1
  209. package/skills/i3-interview-me/SKILL.md +13 -1
  210. package/skills/i3-observability-and-instrumentation/SKILL.md +13 -1
  211. package/skills/i3-performance-optimization/SKILL.md +13 -1
  212. package/skills/i3-performance-optimization/references/optimization-patterns.md +8 -0
  213. package/skills/i3-planning-and-task-breakdown/SKILL.md +13 -1
  214. package/skills/i3-security-and-hardening/SKILL.md +13 -1
  215. package/skills/i3-security-and-hardening/references/hardening-patterns.md +8 -0
  216. package/skills/i3-shipping-and-launch/SKILL.md +13 -1
  217. package/skills/i3-source-driven-development/SKILL.md +13 -1
  218. package/skills/i3-spec-driven-development/SKILL.md +13 -1
  219. package/skills/i3-test-driven-development/SKILL.md +13 -1
  220. package/skills/i3-using-agent-skills/SKILL.md +13 -1
@@ -0,0 +1,46 @@
1
+ {
2
+ "skill_name": "i3-code-simplification",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "这个函数行为正确但太复杂,请在不改变行为的前提下简化。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "重构这段逻辑,提高可读性和维护性,减少不必要复杂度。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "请简化现有代码结构,保留全部现有行为。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "为项目制定覆盖率、性能和无障碍质量门槛,写入 CONSTRAINTS.md。",
21
+ "owner": "i3-constraint-driven-development"
22
+ },
23
+ {
24
+ "prompt": "昨天通过的测试现在失败,请复现并定位根因。",
25
+ "owner": "i3-debugging-and-error-recovery"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "简化提供的 80 行配置解析函数,精确保留行为。",
33
+ "expected_output": "A simpler implementation with identical behavior and a summary of what was removed and why",
34
+ "files": [
35
+ "i3-code-simplification"
36
+ ],
37
+ "expectations": [
38
+ "Behavior is preserved (tests unchanged and passing, or equivalence argued concretely)",
39
+ "Complexity is reduced rather than relocated",
40
+ "The response explains what was removed and why it was safe",
41
+ "No new features are added during the simplification",
42
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "skill_name": "i3-constraint-driven-development",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "为项目制定覆盖率、性能和无障碍质量门槛,写入 CONSTRAINTS.md。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "代理总是跳过测试和削弱断言,请建立不能随意降低的质量约束。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "我们没有具体数字,请访谈并推荐合理的项目质量标准。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "代理新会话忘记项目约定,请优化上下文和规则文件。",
21
+ "owner": "i3-context-engineering"
22
+ },
23
+ {
24
+ "prompt": "计划废弃旧版 API,让外部用户无中断迁移到新版。",
25
+ "owner": "i3-deprecation-and-migration"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "kind": "dialogue",
33
+ "prompt": "为这个仓库设置质量约束,我不知道应选择哪些数值。",
34
+ "expected_output": "A short interview with defaults offered, followed by a CONSTRAINTS.md the user can explain",
35
+ "expectations": [
36
+ "The agent inspects the repo for stack, test runner, and existing linters before asking anything",
37
+ "No more than four questions are asked, and each one carries a usable default",
38
+ "When the user has no target number, the agent proposes recording today's value and holding it rather than inventing a threshold",
39
+ "The resulting constraints say where each check runs, keeping fast checks in the edit loop and slow checks later",
40
+ "Every number written down is accompanied by a reason",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ },
44
+ {
45
+ "id": 1002,
46
+ "kind": "dialogue",
47
+ "prompt": "现有覆盖率为 62%,我希望从今天开始强制执行 85%。",
48
+ "expected_output": "Pushback on setting an unmeetable budget, with the ratchet alternative offered",
49
+ "expectations": [
50
+ "The agent points out that a threshold the codebase fails today produces a permanently red build",
51
+ "It offers to record 62% and require that it not fall, as an adoptable alternative",
52
+ "It does not silently accept 85% without noting the consequence",
53
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
54
+ ]
55
+ },
56
+ {
57
+ "id": 1003,
58
+ "kind": "dialogue",
59
+ "prompt": "无障碍对我们很重要,请把它加为约束。",
60
+ "expected_output": "A working accessibility check, not just a threshold written down",
61
+ "expectations": [
62
+ "The agent names axe-core and gives the install and run commands rather than only stating a violation threshold",
63
+ "It notes that axe needs a running URL and asks for one, or drops the dimension if the project has no URL to hit",
64
+ "The command that produces the verdict is recorded alongside the rule in CONSTRAINTS.md",
65
+ "The check is placed at the preview-deploy stage rather than in the per-edit loop",
66
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
67
+ ]
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "i3-context-engineering",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "代理新会话忘记项目约定,请优化上下文和规则文件。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "回复越来越泛化,帮我修复上下文配置和任务切换方式。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "如何组织项目规则和代理上下文以避免会话质量下降?",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "昨天通过的测试现在失败,请复现并定位根因。",
21
+ "owner": "i3-debugging-and-error-recovery"
22
+ },
23
+ {
24
+ "prompt": "把订单服务采用事件溯源的架构决策写成 ADR。",
25
+ "owner": "i3-documentation-and-adrs"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "代理会话质量下降:回复泛化,反复忘记项目约定。请修复上下文配置。",
33
+ "expected_output": "A diagnosis of the context problem and a concrete loading strategy (rules files, packing, task-scoped context)",
34
+ "files": [
35
+ "i3-context-engineering"
36
+ ],
37
+ "expectations": [
38
+ "The response diagnoses probable context causes rather than blaming the model generally",
39
+ "A specific context-loading plan is produced (what to load, when, and why)",
40
+ "Context is scoped to the task instead of loading everything",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "skill_name": "i3-debugging-and-error-recovery",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "昨天通过的测试现在失败,请复现并定位根因。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "应用突然崩溃,出现运行异常,帮我排查并验证修复。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "构建失败和报错需要系统诊断,请查清哪里坏了。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "计划废弃旧版 API,让外部用户无中断迁移到新版。",
21
+ "owner": "i3-deprecation-and-migration"
22
+ },
23
+ {
24
+ "prompt": "在不可逆数据迁移前,对计划进行对抗式审查和假设核查。",
25
+ "owner": "i3-doubt-driven-development"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "昨天通过的分页测试今天出现差一错误,请查明并修复根因。",
33
+ "expected_output": "A reproduced failure, an identified root cause, a minimal fix, and a guard against regression",
34
+ "files": [
35
+ "i3-debugging-and-error-recovery"
36
+ ],
37
+ "expectations": [
38
+ "The failure is reproduced before any fix is attempted",
39
+ "The root cause is identified and stated, not just the symptom patched",
40
+ "A regression test exists after the fix",
41
+ "The fix is minimal and scoped to the cause",
42
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
43
+ ]
44
+ },
45
+ {
46
+ "id": 1002,
47
+ "prompt": "生产结账功能故障,利益相关者要求不复现就立即打分页补丁。请在时间压力下作出响应。",
48
+ "expected_output": "Evidence preserved, the failure reproduced, and a root-cause fix guarded by a regression test",
49
+ "files": [
50
+ "i3-debugging-and-error-recovery"
51
+ ],
52
+ "expectations": [
53
+ "The time pressure does not cause reproduction or evidence gathering to be skipped",
54
+ "The requested speculative patch is not applied before the cause is localized",
55
+ "The final fix is tied to a reproduced cause and a regression test",
56
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
57
+ ]
58
+ }
59
+ ]
60
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "i3-deprecation-and-migration",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "计划废弃旧版 API,让外部用户无中断迁移到新版。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "生产数据库如何用扩展收缩方式无停机重命名列?",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "迁移用户后如何退役旧系统并安排废弃周期?",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "把订单服务采用事件溯源的架构决策写成 ADR。",
21
+ "owner": "i3-documentation-and-adrs"
22
+ },
23
+ {
24
+ "prompt": "开发一个响应式前端页面,做好组件布局和无障碍交互。",
25
+ "owner": "i3-frontend-ui-engineering"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "规划公共 v1 REST API 的废弃,现有 200 个外部调用方,使用 v2 替代。",
33
+ "expected_output": "A staged deprecation plan: comms, timeline, compatibility window, monitoring, and removal criteria",
34
+ "files": [
35
+ "i3-deprecation-and-migration"
36
+ ],
37
+ "expectations": [
38
+ "Consumers are notified with a timeline before any breaking change",
39
+ "A compatibility or migration window exists with monitoring of remaining usage",
40
+ "Removal is gated on measured migration, not a calendar date alone",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "i3-documentation-and-adrs",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "把订单服务采用事件溯源的架构决策写成 ADR。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "公共 API 发生变化,请补充文档并记录设计理由。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "保存这次技术决策的背景与取舍,方便后续工程师理解。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "在不可逆数据迁移前,对计划进行对抗式审查和假设核查。",
21
+ "owner": "i3-doubt-driven-development"
22
+ },
23
+ {
24
+ "prompt": "工作区混着修复、重构和新功能,请拆成清晰的 Git 提交。",
25
+ "owner": "i3-git-workflow-and-versioning"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "把订单服务采用事件溯源的决策记录为 ADR。",
33
+ "expected_output": "An ADR capturing context, decision, alternatives considered, and consequences",
34
+ "files": [
35
+ "i3-documentation-and-adrs"
36
+ ],
37
+ "expectations": [
38
+ "The ADR states context, decision, alternatives, and consequences distinctly",
39
+ "Trade-offs and rejected options are recorded, not just the winning choice",
40
+ "The ADR records a status from the skill's lifecycle (Proposed, Accepted, Superseded or Deprecated) and a date",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "i3-doubt-driven-development",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "在不可逆数据迁移前,对计划进行对抗式审查和假设核查。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "请独立质询每个非平凡决策,找出隐藏失败模式。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "这是安全敏感的生产认证改动,请对方案做压力测试和反证审查。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "开发一个响应式前端页面,做好组件布局和无障碍交互。",
21
+ "owner": "i3-frontend-ui-engineering"
22
+ },
23
+ {
24
+ "prompt": "这个团队知识共享工具的想法还很模糊,帮我发散并收敛方向。",
25
+ "owner": "i3-idea-refine"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "执行不可逆数据迁移前,对迁移计划进行对抗式审查。",
33
+ "expected_output": "Claims extracted, doubts raised against each, reconciliation, and a go or stop verdict",
34
+ "files": [
35
+ "i3-doubt-driven-development"
36
+ ],
37
+ "expectations": [
38
+ "Non-trivial claims in the plan are extracted and challenged individually",
39
+ "At least one assumption is tested rather than accepted",
40
+ "The verdict distinguishes verified claims from surviving doubts",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "i3-frontend-ui-engineering",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "开发一个响应式前端页面,做好组件布局和无障碍交互。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "实现设计系统的下拉菜单,兼顾键盘操作和状态管理。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "请调整移动端界面布局和组件样式,达到生产视觉质量。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "工作区混着修复、重构和新功能,请拆成清晰的 Git 提交。",
21
+ "owner": "i3-git-workflow-and-versioning"
22
+ },
23
+ {
24
+ "prompt": "按照现有任务计划增量实现 CSV 导出,每个切片都验证。",
25
+ "owner": "i3-incremental-implementation"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "为设计系统实现一个下拉菜单组件。",
33
+ "expected_output": "An accessible, keyboard-navigable component following project conventions",
34
+ "files": [
35
+ "i3-frontend-ui-engineering"
36
+ ],
37
+ "expectations": [
38
+ "Keyboard interaction and focus management are implemented, not just mouse clicks",
39
+ "ARIA roles or semantic elements are used correctly",
40
+ "Component state is managed deliberately rather than ad hoc",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "i3-git-workflow-and-versioning",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "工作区混着修复、重构和新功能,请拆成清晰的 Git 提交。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "如何组织分支、解决合并冲突并创建 PR?",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "准备发行版本,请安排语义化版本、标签和变更日志。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "这个团队知识共享工具的想法还很模糊,帮我发散并收敛方向。",
21
+ "owner": "i3-idea-refine"
22
+ },
23
+ {
24
+ "prompt": "我只知道想要更好的管理页面,请先一次一个问题访谈我。",
25
+ "owner": "i3-interview-me"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "工作区混着一次重构、一个缺陷修复和一个新功能,请整理成清晰的提交历史。",
33
+ "expected_output": "Separate atomic commits with clear messages, each independently green",
34
+ "files": [
35
+ "i3-git-workflow-and-versioning"
36
+ ],
37
+ "expectations": [
38
+ "Refactor, fix, and feature land as separate commits",
39
+ "Commit messages are imperative and standalone",
40
+ "Each commit leaves the tree in a working state",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "skill_name": "i3-idea-refine",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "这个团队知识共享工具的想法还很模糊,帮我发散并收敛方向。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "请细化这个创意,验证假设并比较更多选项。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "我想先完善想法,再确定实施方向。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "按照现有任务计划增量实现 CSV 导出,每个切片都验证。",
21
+ "owner": "i3-incremental-implementation"
22
+ },
23
+ {
24
+ "prompt": "给支付重试增加日志、指标、链路追踪和告警,便于值班。",
25
+ "owner": "i3-observability-and-instrumentation"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "kind": "dialogue",
33
+ "prompt": "完善这个模糊想法:某种帮助团队更好共享知识的工具。",
34
+ "expected_output": "Sharpening questions, distinct directions, surfaced assumptions, and a one-pager with MVP scope and a Not Doing list",
35
+ "expectations": [
36
+ "Sharpening questions are asked before converging",
37
+ "Hidden assumptions are surfaced explicitly",
38
+ "The output includes an explicit Not Doing list",
39
+ "The agent pushes back on weak aspects instead of only agreeing",
40
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
41
+ ]
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "skill_name": "i3-incremental-implementation",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "按照现有任务计划增量实现 CSV 导出,每个切片都验证。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "这个功能涉及多个文件,请拆成完整的垂直实现切片。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "领取计划的下一任务,小步实现、测试并提交。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "我只知道想要更好的管理页面,请先一次一个问题访谈我。",
21
+ "owner": "i3-interview-me"
22
+ },
23
+ {
24
+ "prompt": "产品页面有一千条数据渲染很慢,请定位性能瓶颈并优化。",
25
+ "owner": "i3-performance-optimization"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "按已有任务计划,为报表页面实现 CSV 导出。",
33
+ "expected_output": "The feature delivered in small verified increments with a commit per slice",
34
+ "files": [
35
+ "i3-incremental-implementation"
36
+ ],
37
+ "expectations": [
38
+ "Work proceeds in thin vertical slices rather than one large change",
39
+ "Each slice is verified (tests or build) before the next begins",
40
+ "Each slice is committed separately",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ },
44
+ {
45
+ "id": 1002,
46
+ "prompt": "两天的 CSV 导出草稿混合所有层且没有测试,管理层说拆分会浪费已投入工作。请决定如何继续。",
47
+ "expected_output": "The draft is converted into small independently verified slices without accepting sunk cost as a reason to batch",
48
+ "files": [
49
+ "incremental-implementation-pressure"
50
+ ],
51
+ "expectations": [
52
+ "Sunk cost is not accepted as a reason to commit the unverified batch",
53
+ "The work is decomposed into independently useful vertical slices",
54
+ "Verification is required before each slice is committed",
55
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
56
+ ]
57
+ }
58
+ ]
59
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "skill_name": "i3-interview-me",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "我只知道想要更好的管理页面,请先一次一个问题访谈我。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "需求还缺少目标用户和目的,先质询并明确真实意图。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "不要先给方案,请采访我,直到你确信理解我想要什么。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "给支付重试增加日志、指标、链路追踪和告警,便于值班。",
21
+ "owner": "i3-observability-and-instrumentation"
22
+ },
23
+ {
24
+ "prompt": "把通知功能规格拆成有依赖顺序和验收条件的任务计划。",
25
+ "owner": "i3-planning-and-task-breakdown"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "kind": "dialogue",
33
+ "prompt": "我想要一个更好的管理页面。先访谈我,再提出任何建议。",
34
+ "expected_output": "A one-question-at-a-time interview that converges on validated requirements",
35
+ "expectations": [
36
+ "Questions are asked one at a time, not in batches",
37
+ "The agent does not propose solutions before understanding the need",
38
+ "The interview surfaces the underlying goal behind the stated ask",
39
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
40
+ ]
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "skill_name": "i3-observability-and-instrumentation",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "给支付重试增加日志、指标、链路追踪和告警,便于值班。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "生产功能需要可观测性,请提供运行证据和监控方案。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "线上故障无法从已有日志定位,请补齐观测和埋点。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "产品页面有一千条数据渲染很慢,请定位性能瓶颈并优化。",
21
+ "owner": "i3-performance-optimization"
22
+ },
23
+ {
24
+ "prompt": "加固接收用户 webhook URL 的端点,检查 SSRF 漏洞。",
25
+ "owner": "i3-security-and-hardening"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "为新的支付重试功能增加观测,让值班人员可以运营它。",
33
+ "expected_output": "On-call questions defined first, then structured logs, RED metrics, and symptom-based alerts that answer them",
34
+ "files": [
35
+ "i3-observability-and-instrumentation"
36
+ ],
37
+ "expectations": [
38
+ "On-call questions are written before instrumentation is added",
39
+ "Logs are structured events with a correlation id, not prose strings",
40
+ "Metrics avoid unbounded label cardinality",
41
+ "Alerts are symptom-based and actionable",
42
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
43
+ ]
44
+ }
45
+ ]
46
+ }