@givolt/i3-composer-agent 2.2.0 → 2.2.2

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 (137) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.claude-plugin/marketplace.json +1 -1
  3. package/.claude-plugin/plugin.json +1 -1
  4. package/.codex-plugin/plugin.json +1 -1
  5. package/README.md +77 -17
  6. package/bin/asset-fingerprint.cjs +3 -4
  7. package/bin/i3-composer-agent.cjs +15 -7
  8. package/bin/install.cjs +48 -57
  9. package/bin/legacy-native-files.json +329 -0
  10. package/bin/native-command-validation.cjs +27 -0
  11. package/bin/native-layout.cjs +135 -0
  12. package/bin/native-migration.cjs +93 -0
  13. package/bin/native-runtime.cjs +57 -0
  14. package/bin/native-version-validation.cjs +8 -0
  15. package/bin/tool-selector.cjs +164 -0
  16. package/bin/wizard.cjs +9 -44
  17. package/docs/codebuddy-setup.md +12 -3
  18. package/docs/codex-setup.md +9 -4
  19. package/docs/workbuddy-setup.md +13 -4
  20. package/evals/README.md +95 -0
  21. package/evals/cases/i3-api-and-interface-design.json +45 -0
  22. package/evals/cases/i3-browser-testing-with-devtools.json +44 -0
  23. package/evals/cases/i3-ci-cd-and-automation.json +45 -0
  24. package/evals/cases/i3-code-review-and-quality.json +49 -0
  25. package/evals/cases/i3-code-simplification.json +45 -0
  26. package/evals/cases/i3-constraint-driven-development.json +79 -0
  27. package/evals/cases/i3-context-engineering.json +44 -0
  28. package/evals/cases/i3-debugging-and-error-recovery.json +58 -0
  29. package/evals/cases/i3-deprecation-and-migration.json +52 -0
  30. package/evals/cases/i3-documentation-and-adrs.json +44 -0
  31. package/evals/cases/i3-doubt-driven-development.json +43 -0
  32. package/evals/cases/i3-frontend-ui-engineering.json +52 -0
  33. package/evals/cases/i3-git-workflow-and-versioning.json +47 -0
  34. package/evals/cases/i3-idea-refine.json +43 -0
  35. package/evals/cases/i3-incremental-implementation.json +57 -0
  36. package/evals/cases/i3-interview-me.json +42 -0
  37. package/evals/cases/i3-observability-and-instrumentation.json +44 -0
  38. package/evals/cases/i3-performance-optimization.json +53 -0
  39. package/evals/cases/i3-planning-and-task-breakdown.json +45 -0
  40. package/evals/cases/i3-security-and-hardening.json +53 -0
  41. package/evals/cases/i3-shipping-and-launch.json +56 -0
  42. package/evals/cases/i3-source-driven-development.json +44 -0
  43. package/evals/cases/i3-spec-driven-development.json +72 -0
  44. package/evals/cases/i3-test-driven-development.json +73 -0
  45. package/evals/cases/i3-using-agent-skills.json +44 -0
  46. package/evals/fixtures/i3-api-and-interface-design/service-brief.md +19 -0
  47. package/evals/fixtures/i3-browser-testing-with-devtools/README.md +5 -0
  48. package/evals/fixtures/i3-browser-testing-with-devtools/index.html +24 -0
  49. package/evals/fixtures/i3-browser-testing-with-devtools/server.js +15 -0
  50. package/evals/fixtures/i3-ci-cd-and-automation/package.json +8 -0
  51. package/evals/fixtures/i3-ci-cd-and-automation/src/slug.js +3 -0
  52. package/evals/fixtures/i3-ci-cd-and-automation/test/slug.test.js +9 -0
  53. package/evals/fixtures/i3-code-review-and-quality/user-search.diff +16 -0
  54. package/evals/fixtures/i3-code-simplification/config-parser.js +46 -0
  55. package/evals/fixtures/i3-code-simplification/config-parser.test.js +15 -0
  56. package/evals/fixtures/i3-context-engineering/context-audit.md +15 -0
  57. package/evals/fixtures/i3-debugging-and-error-recovery/pagination.js +8 -0
  58. package/evals/fixtures/i3-debugging-and-error-recovery/pagination.test.js +9 -0
  59. package/evals/fixtures/i3-debugging-and-error-recovery/time-pressure.md +6 -0
  60. package/evals/fixtures/i3-deprecation-and-migration/api-inventory.md +9 -0
  61. package/evals/fixtures/i3-documentation-and-adrs/decision-context.md +16 -0
  62. package/evals/fixtures/i3-doubt-driven-development/migration-plan.md +19 -0
  63. package/evals/fixtures/i3-frontend-ui-engineering/Button.tsx +7 -0
  64. package/evals/fixtures/i3-frontend-ui-engineering/design-system.md +11 -0
  65. package/evals/fixtures/i3-git-workflow-and-versioning/.eval/working-tree.patch +21 -0
  66. package/evals/fixtures/i3-git-workflow-and-versioning/app.js +7 -0
  67. package/evals/fixtures/i3-git-workflow-and-versioning/app.test.js +9 -0
  68. package/evals/fixtures/i3-incremental-implementation/reports.js +7 -0
  69. package/evals/fixtures/i3-incremental-implementation/reports.test.js +12 -0
  70. package/evals/fixtures/i3-incremental-implementation/tasks/plan.md +8 -0
  71. package/evals/fixtures/i3-observability-and-instrumentation/operations.md +11 -0
  72. package/evals/fixtures/i3-observability-and-instrumentation/payment-retry.js +14 -0
  73. package/evals/fixtures/i3-performance-optimization/benchmark.js +15 -0
  74. package/evals/fixtures/i3-performance-optimization/products.js +14 -0
  75. package/evals/fixtures/i3-planning-and-task-breakdown/notifications-spec.md +18 -0
  76. package/evals/fixtures/i3-security-and-hardening/webhook.js +11 -0
  77. package/evals/fixtures/i3-security-and-hardening/webhook.test.js +13 -0
  78. package/evals/fixtures/i3-shipping-and-launch/authority-pressure.md +6 -0
  79. package/evals/fixtures/i3-shipping-and-launch/launch-status.md +11 -0
  80. package/evals/fixtures/i3-source-driven-development/framework-task.md +10 -0
  81. package/evals/fixtures/i3-spec-driven-development/billing-brief.md +16 -0
  82. package/evals/fixtures/i3-test-driven-development/BUG.md +10 -0
  83. package/evals/fixtures/i3-test-driven-development/README.md +28 -0
  84. package/evals/fixtures/i3-test-driven-development/package.json +9 -0
  85. package/evals/fixtures/i3-test-driven-development/src/split.js +8 -0
  86. package/evals/fixtures/i3-test-driven-development/test/split.test.js +13 -0
  87. package/evals/fixtures/i3-using-agent-skills/incident.md +6 -0
  88. package/evals/fixtures/incremental-implementation-pressure/draft-export.js +17 -0
  89. package/evals/fixtures/incremental-implementation-pressure/scenario.md +9 -0
  90. package/evals/fixtures/spec-driven-development-decomposition/portal-brief.md +22 -0
  91. package/evals/fixtures/test-driven-development-ecosystem/README.md +9 -0
  92. package/evals/fixtures/test-driven-development-ecosystem/ledger.py +15 -0
  93. package/evals/fixtures/test-driven-development-ecosystem/test_ledger.py +19 -0
  94. package/evals/plugin/code-review-fires/graders/off-by-one.md +7 -0
  95. package/evals/plugin/code-review-fires/graders/severity-labels.md +4 -0
  96. package/evals/plugin/code-review-fires/graders/skill-fired.md +5 -0
  97. package/evals/plugin/code-review-fires/prompt.md +31 -0
  98. package/evals/plugin/code-review-stays-quiet/graders/not-fired.md +8 -0
  99. package/evals/plugin/code-review-stays-quiet/graders/tdd-fired.md +6 -0
  100. package/evals/plugin/code-review-stays-quiet/prompt.md +8 -0
  101. package/evals/plugin/code-review-stays-quiet-on-commit-message/graders/not-fired.md +8 -0
  102. package/evals/plugin/code-review-stays-quiet-on-commit-message/prompt.md +25 -0
  103. package/evals/skill-impact.md +6 -0
  104. package/evals/zh-CN/cases/i3-api-and-interface-design.json +46 -0
  105. package/evals/zh-CN/cases/i3-browser-testing-with-devtools.json +45 -0
  106. package/evals/zh-CN/cases/i3-ci-cd-and-automation.json +46 -0
  107. package/evals/zh-CN/cases/i3-code-review-and-quality.json +46 -0
  108. package/evals/zh-CN/cases/i3-code-simplification.json +46 -0
  109. package/evals/zh-CN/cases/i3-constraint-driven-development.json +70 -0
  110. package/evals/zh-CN/cases/i3-context-engineering.json +45 -0
  111. package/evals/zh-CN/cases/i3-debugging-and-error-recovery.json +60 -0
  112. package/evals/zh-CN/cases/i3-deprecation-and-migration.json +45 -0
  113. package/evals/zh-CN/cases/i3-documentation-and-adrs.json +45 -0
  114. package/evals/zh-CN/cases/i3-doubt-driven-development.json +45 -0
  115. package/evals/zh-CN/cases/i3-frontend-ui-engineering.json +45 -0
  116. package/evals/zh-CN/cases/i3-git-workflow-and-versioning.json +45 -0
  117. package/evals/zh-CN/cases/i3-idea-refine.json +44 -0
  118. package/evals/zh-CN/cases/i3-incremental-implementation.json +59 -0
  119. package/evals/zh-CN/cases/i3-interview-me.json +43 -0
  120. package/evals/zh-CN/cases/i3-observability-and-instrumentation.json +46 -0
  121. package/evals/zh-CN/cases/i3-performance-optimization.json +46 -0
  122. package/evals/zh-CN/cases/i3-planning-and-task-breakdown.json +46 -0
  123. package/evals/zh-CN/cases/i3-security-and-hardening.json +46 -0
  124. package/evals/zh-CN/cases/i3-shipping-and-launch.json +59 -0
  125. package/evals/zh-CN/cases/i3-source-driven-development.json +45 -0
  126. package/evals/zh-CN/cases/i3-spec-driven-development.json +62 -0
  127. package/evals/zh-CN/cases/i3-test-driven-development.json +76 -0
  128. package/evals/zh-CN/cases/i3-using-agent-skills.json +45 -0
  129. package/package.json +236 -5
  130. package/plugin.json +1 -1
  131. package/scripts/lib/skill-lint.js +586 -0
  132. package/scripts/run-evals.js +659 -0
  133. package/scripts/validate-artifact-paths.js +130 -0
  134. package/scripts/validate-commands.js +224 -0
  135. package/scripts/validate-reference-links.js +187 -0
  136. package/scripts/validate-skills.js +70 -0
  137. package/scripts/validate-versions.js +35 -0
@@ -0,0 +1,46 @@
1
+ {
2
+ "skill_name": "i3-api-and-interface-design",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "为短链接服务设计创建、解析与统计接口,给出稳定的 API 契约。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "这两个模块之间如何定义类型契约和公共接口?",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "请设计 REST 端点和前后端接口边界。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "注册表单提交没反应,请在真实浏览器检查 DOM、控制台和网络请求。",
21
+ "owner": "i3-browser-testing-with-devtools"
22
+ },
23
+ {
24
+ "prompt": "请对这个 PR 做代码审查,检查正确性、可读性、架构、安全与性能。",
25
+ "owner": "i3-code-review-and-quality"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "为短链接服务设计公共 API,包括创建、解析、统计,并给出端点契约。",
33
+ "expected_output": "Endpoint contracts with methods, paths, request/response shapes, and explicit error semantics",
34
+ "files": [
35
+ "i3-api-and-interface-design"
36
+ ],
37
+ "expectations": [
38
+ "Error responses are specified with status codes and a consistent error shape, not just happy paths",
39
+ "Input validation at the boundary is addressed for user-supplied URLs",
40
+ "Versioning or compatibility strategy is stated",
41
+ "The response does not silently invent unstated requirements",
42
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "i3-browser-testing-with-devtools",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "注册表单提交没反应,请在真实浏览器检查 DOM、控制台和网络请求。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "用 Chrome DevTools MCP 检查页面视觉结果与运行时错误。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "请打开浏览器复现这个按钮问题,并记录控制台与网络证据。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "为项目配置 CI/CD 流水线,自动运行构建和测试。",
21
+ "owner": "i3-ci-cd-and-automation"
22
+ },
23
+ {
24
+ "prompt": "这个函数行为正确但太复杂,请在不改变行为的前提下简化。",
25
+ "owner": "i3-code-simplification"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "注册表单可以显示,但提交似乎没有反应。请在真实浏览器验证实际行为并报告发现。",
33
+ "expected_output": "Runtime evidence from the browser: console errors, network activity, DOM state, and a diagnosis",
34
+ "files": [
35
+ "i3-browser-testing-with-devtools"
36
+ ],
37
+ "expectations": [
38
+ "Findings are grounded in observed runtime data (console, network, DOM), not static code reading alone",
39
+ "The report distinguishes what was observed from what is inferred",
40
+ "A concrete next step or fix hypothesis is provided",
41
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "skill_name": "i3-ci-cd-and-automation",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "为项目配置 CI/CD 流水线,自动运行构建和测试。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "每次 PR 执行 lint 和测试,失败必须阻止合并。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "请调整持续集成部署流程,增加自动化质量门禁。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "请对这个 PR 做代码审查,检查正确性、可读性、架构、安全与性能。",
21
+ "owner": "i3-code-review-and-quality"
22
+ },
23
+ {
24
+ "prompt": "为项目制定覆盖率、性能和无障碍质量门槛,写入 CONSTRAINTS.md。",
25
+ "owner": "i3-constraint-driven-development"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "为 Node 项目创建 CI 流水线:每次 PR 安装依赖、执行 lint 和测试,失败时阻止合并。",
33
+ "expected_output": "A working workflow definition with correct triggers, steps, and failure behavior",
34
+ "files": [
35
+ "i3-ci-cd-and-automation"
36
+ ],
37
+ "expectations": [
38
+ "The workflow triggers on pull requests",
39
+ "Failure of any quality gate fails the pipeline run",
40
+ "Steps are ordered logically and cache or setup steps are sane",
41
+ "No secrets are hardcoded in the workflow",
42
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "skill_name": "i3-code-review-and-quality",
3
+ "trigger": {
4
+ "positive": [
5
+ {
6
+ "prompt": "请对这个 PR 做代码审查,检查正确性、可读性、架构、安全与性能。",
7
+ "top_k": 1
8
+ },
9
+ {
10
+ "prompt": "合并前评审这份 diff,按严重程度报告代码质量问题。",
11
+ "top_k": 1
12
+ },
13
+ {
14
+ "prompt": "这次提交的代码改动是否有可读性和接口一致性问题?请做评审。",
15
+ "top_k": 1
16
+ }
17
+ ],
18
+ "negative": [
19
+ {
20
+ "prompt": "这个函数行为正确但太复杂,请在不改变行为的前提下简化。",
21
+ "owner": "i3-code-simplification"
22
+ },
23
+ {
24
+ "prompt": "代理新会话忘记项目约定,请优化上下文和规则文件。",
25
+ "owner": "i3-context-engineering"
26
+ }
27
+ ]
28
+ },
29
+ "evals": [
30
+ {
31
+ "id": 1001,
32
+ "prompt": "审查提供的用户搜索端点 diff,给出结构化代码评审。",
33
+ "expected_output": "A multi-axis review with severity-labelled findings and file:line references",
34
+ "files": [
35
+ "i3-code-review-and-quality"
36
+ ],
37
+ "expectations": [
38
+ "Findings cover more than one axis (correctness, readability, architecture, security, performance)",
39
+ "Every finding carries a severity label from the skill's taxonomy",
40
+ "Security of user input is explicitly considered for the new endpoint",
41
+ "The review leads with high-leverage findings rather than nits",
42
+ "人类可读的追问、说明、进度、报告与生成文档使用简体中文;保留代码、路径、工具参数、JSON 协议及机器状态的原始格式。"
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -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
+ }