@v11g/agents-rock 1.0.5 → 1.0.7

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 (168) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/plugins/business-analyst/skills/business-analyst/evals/evals.json +54 -0
  4. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/pre-fed-ai-contract-review/kestrel-discovery-call.md +137 -0
  5. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/thin-warehouse-brief/havenridge-thread.md +75 -0
  6. package/plugins/reasoning/.claude-plugin/plugin.json +9 -0
  7. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/names-missing-data.md +10 -0
  8. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/no-invented-numbers.md +23 -0
  9. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/one-framework.md +12 -0
  10. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/skill-fired.md +7 -0
  11. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/prompt.md +44 -0
  12. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-diagram.md +8 -0
  13. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-padding.md +12 -0
  14. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-systems-thinking-vocabulary.md +12 -0
  15. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/one-framework-block.md +7 -0
  16. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/skill-fired.md +7 -0
  17. package/plugins/reasoning/evals/guardrail-no-over-analysis/prompt.md +7 -0
  18. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/chain-stops-at-speculation.md +10 -0
  19. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/inferred-links-are-assumptions.md +10 -0
  20. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/root-candidate-not-asserted.md +11 -0
  21. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/six-core-fields.md +21 -0
  22. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/skill-fired.md +7 -0
  23. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/uncertainties-present.md +9 -0
  24. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/prompt.md +7 -0
  25. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +11 -0
  26. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-owning-skill.md +9 -0
  27. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +11 -0
  28. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +7 -0
  29. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +10 -0
  30. package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +7 -0
  31. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/classifies-complex.md +13 -0
  32. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/names-the-test-applied.md +13 -0
  33. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/no-analysis.md +15 -0
  34. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/routes-to-systems-thinking.md +12 -0
  35. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/skill-fired.md +7 -0
  36. package/plugins/reasoning/evals/routing-adaptive-discriminator/prompt.md +15 -0
  37. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/classifies-ambiguous.md +8 -0
  38. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/every-rejection-has-a-reason.md +8 -0
  39. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/recommends-double-diamond.md +7 -0
  40. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/rejects-rca-and-five-whys.md +10 -0
  41. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/skill-fired.md +7 -0
  42. package/plugins/reasoning/evals/routing-ambiguous-feature-request/prompt.md +6 -0
  43. package/plugins/reasoning/evals/routing-classify-only/graders/classifies-without-recommending.md +10 -0
  44. package/plugins/reasoning/evals/routing-classify-only/graders/no-diagnosis.md +9 -0
  45. package/plugins/reasoning/evals/routing-classify-only/graders/reason-drawn-from-prompt.md +10 -0
  46. package/plugins/reasoning/evals/routing-classify-only/graders/skill-fired.md +7 -0
  47. package/plugins/reasoning/evals/routing-classify-only/prompt.md +6 -0
  48. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/classifies-complex-adaptive.md +8 -0
  49. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/names-both-skills-in-order.md +18 -0
  50. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-downgrade.md +9 -0
  51. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/skill-fired.md +7 -0
  52. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/states-systemic-design-unavailable.md +15 -0
  53. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/prompt.md +6 -0
  54. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/classifies-complex-adaptive.md +14 -0
  55. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-analysis.md +23 -0
  56. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-fabricated-figures.md +13 -0
  57. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-hiring-remedy.md +9 -0
  58. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/routes-to-systems-thinking.md +14 -0
  59. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/skill-fired.md +7 -0
  60. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/prompt.md +64 -0
  61. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/classifies-simple.md +7 -0
  62. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/no-heavy-frameworks.md +9 -0
  63. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/routing-discipline.md +12 -0
  64. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/six-core-fields.md +21 -0
  65. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/skill-fired.md +7 -0
  66. package/plugins/reasoning/evals/routing-simple-null-pointer/prompt.md +6 -0
  67. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/at-most-three-class-changing-questions.md +9 -0
  68. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-low.md +9 -0
  69. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/no-invented-detail.md +10 -0
  70. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/skill-fired.md +7 -0
  71. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/states-provisional.md +9 -0
  72. package/plugins/reasoning/evals/routing-thin-input-provisional/prompt.md +6 -0
  73. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/diagram-present.md +10 -0
  74. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +12 -0
  75. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +10 -0
  76. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/open-chain-not-called-a-loop.md +13 -0
  77. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/skill-fired.md +7 -0
  78. package/plugins/reasoning/evals/st-causal-loop-unclosed/prompt.md +14 -0
  79. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/empty-level-is-honest.md +14 -0
  80. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-diagram.md +11 -0
  81. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-invented-mental-model.md +13 -0
  82. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/six-core-fields.md +12 -0
  83. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/skill-fired.md +7 -0
  84. package/plugins/reasoning/evals/st-iceberg-thin-input/prompt.md +9 -0
  85. package/plugins/reasoning/evals/st-leverage-points-bound/graders/elements-carry-evidence-types.md +13 -0
  86. package/plugins/reasoning/evals/st-leverage-points-bound/graders/every-level-matches-an-element.md +13 -0
  87. package/plugins/reasoning/evals/st-leverage-points-bound/graders/no-adoption-plan.md +12 -0
  88. package/plugins/reasoning/evals/st-leverage-points-bound/graders/skill-fired.md +7 -0
  89. package/plugins/reasoning/evals/st-leverage-points-bound/graders/uncovered-kinds-are-stated.md +11 -0
  90. package/plugins/reasoning/evals/st-leverage-points-bound/prompt.md +11 -0
  91. package/plugins/reasoning/evals/st-selection-boundary/graders/first-match-wins.md +17 -0
  92. package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +9 -0
  93. package/plugins/reasoning/evals/st-selection-boundary/graders/rejected-candidate-has-a-reason.md +11 -0
  94. package/plugins/reasoning/evals/st-selection-boundary/graders/six-core-fields.md +12 -0
  95. package/plugins/reasoning/evals/st-selection-boundary/graders/skill-fired.md +7 -0
  96. package/plugins/reasoning/evals/st-selection-boundary/prompt.md +13 -0
  97. package/plugins/reasoning/evals/st-system-map-boundary/graders/boundary-stated.md +9 -0
  98. package/plugins/reasoning/evals/st-system-map-boundary/graders/external-factors-hold-the-unconnected.md +15 -0
  99. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-intervention-design.md +11 -0
  100. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-invented-components.md +12 -0
  101. package/plugins/reasoning/evals/st-system-map-boundary/graders/skill-fired.md +7 -0
  102. package/plugins/reasoning/evals/st-system-map-boundary/prompt.md +15 -0
  103. package/plugins/reasoning/skills/problem-router/README.md +46 -0
  104. package/plugins/reasoning/skills/problem-router/SKILL.md +225 -0
  105. package/plugins/reasoning/skills/problem-router/references/contract.md +104 -0
  106. package/plugins/reasoning/skills/problem-solving/README.md +47 -0
  107. package/plugins/reasoning/skills/problem-solving/SKILL.md +194 -0
  108. package/plugins/reasoning/skills/problem-solving/frameworks/a3.md +46 -0
  109. package/plugins/reasoning/skills/problem-solving/frameworks/double-diamond.md +60 -0
  110. package/plugins/reasoning/skills/problem-solving/frameworks/five-whys.md +49 -0
  111. package/plugins/reasoning/skills/problem-solving/frameworks/pdca.md +46 -0
  112. package/plugins/reasoning/skills/problem-solving/frameworks/root-cause-analysis.md +59 -0
  113. package/plugins/reasoning/skills/problem-solving/references/contract.md +104 -0
  114. package/plugins/reasoning/skills/systems-thinking/README.md +39 -0
  115. package/plugins/reasoning/skills/systems-thinking/SKILL.md +206 -0
  116. package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +58 -0
  117. package/plugins/reasoning/skills/systems-thinking/frameworks/iceberg.md +43 -0
  118. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +80 -0
  119. package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +46 -0
  120. package/plugins/reasoning/skills/systems-thinking/references/contract.md +104 -0
  121. package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
  122. package/plugins/solution-architect/skills/analyze-requirements/evals/evals.json +66 -0
  123. package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/greenfield-llm-triage-spec/triage-service-spec.md +105 -0
  124. package/plugins/solution-architect/skills/estimate/SKILL.md +4 -2
  125. package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +11 -2
  126. package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +304 -59
  127. package/plugins/solution-architect/skills/estimate/evals/evals.json +60 -0
  128. package/plugins/solution-architect/skills/estimate/evals/fixtures/gate-check-northgate/northgate-email.md +18 -0
  129. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/measurements.jsonl +17 -0
  130. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.json +62 -0
  131. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.md +41 -0
  132. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/ARCHITECTURE.md +71 -0
  133. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.json +68 -0
  134. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.md +43 -0
  135. package/plugins/solution-architect/skills/estimate/references/interview.md +19 -10
  136. package/plugins/solution-architect/skills/estimate/references/writing.md +7 -0
  137. package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +4 -1
  138. package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +26 -5
  139. package/plugins/solution-architect/skills/new-lead/evals/evals.json +66 -0
  140. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md +19 -0
  141. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md +5 -0
  142. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html +3 -0
  143. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json +10 -0
  144. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md +8 -0
  145. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json +38 -0
  146. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md +14 -0
  147. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md +18 -0
  148. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md +7 -0
  149. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json +35 -0
  150. package/plugins/solution-architect/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md +28 -0
  151. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md +14 -0
  152. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json +15 -0
  153. package/plugins/solution-architect/skills/proposal/evals/evals.json +67 -0
  154. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md +53 -0
  155. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md +23 -0
  156. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md +65 -0
  157. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md +21 -0
  158. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js +5 -0
  159. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +88 -0
  160. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +407 -0
  161. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +41 -0
  162. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md +68 -0
  163. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md +24 -0
  164. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js +5 -0
  165. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +87 -0
  166. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +394 -0
  167. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +44 -0
  168. package/src/cli/install.mjs +7 -1
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if every entry under `mental_models` — if the level is populated at
7
+ all — is either traceable to something the input states, or is explicitly
8
+ marked as an assumption with status `unverified`.
9
+
10
+ FAIL if the response asserts a belief the team holds (for example "the team
11
+ believes postmortems are low value", "leadership treats incidents as
12
+ one-offs") as an observed finding, with nothing in the two-line input
13
+ supporting it.
@@ -0,0 +1,12 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response emits all six core contract fields: `problem`,
7
+ `framework_used`, `framework_reason`, `evidence`, `assumptions`, and
8
+ `open_questions`. Accept heading, field, or table rendering, and accept an
9
+ empty list where the field genuinely has no content, provided the field
10
+ itself is present.
11
+
12
+ FAIL if any of the six is absent entirely.
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The skill must actually be invoked, not merely described.
@@ -0,0 +1,9 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systems-thinking skill with the iceberg model on this.
7
+
8
+ Postmortems keep getting scheduled and then quietly dropped. That's
9
+ happened for the last three incidents.
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if every row in `elements` carries an evidence type from the contract
7
+ (`user-provided fact`, `document`, `log`, `metric`, `interview`,
8
+ `observation`, `external source`, `inferred`), and anything the input did
9
+ not state is tagged `inferred` rather than presented as observed.
10
+
11
+ FAIL if any element is listed with no evidence type, or if something the
12
+ input never states — a belief about what the seniors want, an unstated team
13
+ goal — is tagged as a fact.
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if every intervention's `level` corresponds to the `kind` of an element
7
+ the response listed in `elements` — for example a `rule`-level intervention
8
+ alongside an element tagged `rule` such as the two-approval policy or the
9
+ code-owner requirement.
10
+
11
+ FAIL if any intervention names a level with no matching element — for
12
+ instance a `mental_model`-level intervention when no `mental_model` element
13
+ was recorded, or a `goal`-level intervention with no `goal` element.
@@ -0,0 +1,12 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the output names where to intervene, the expected effect, and the
7
+ risks, and stops there.
8
+
9
+ FAIL if it assigns an owner, gives a rollout order or schedule, or otherwise
10
+ plans the change — "start with the code-owner rule in Q1, then revisit the
11
+ two-approval policy" is intervention design, which belongs to
12
+ `systemic-design`.
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The skill must actually be invoked, not merely described.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if, for any element kind the response recorded but produced no
7
+ intervention for, it says so explicitly with a reason ("none identified,
8
+ because …") rather than omitting the kind silently.
9
+
10
+ FAIL if a recorded kind simply disappears between `elements` and `points`
11
+ with no statement either way.
@@ -0,0 +1,11 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systems-thinking skill on this. Where should we intervene?
7
+
8
+ Code review is our bottleneck. Policy says two approvals before merge. In
9
+ practice the same four senior engineers give almost every approval, because
10
+ the policy also says one approver must be a code owner and they own most of
11
+ the repo. Review turnaround is measured per-PR and reported weekly.
@@ -0,0 +1,17 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ This input matches several rows of the skill's selection table at once: it
7
+ asks where to push (row 1), names four actors with unclear relationships
8
+ (row 3), and describes a recurring symptom with unexamined layers (row 4).
9
+
10
+ PASS if the response selects `leverage_points`, because row 1 matches first
11
+ and the table is read top-down with the first match winning. The response
12
+ must make clear that the selection came from the "where should we be
13
+ pushing" ask, not from a general impression of fit.
14
+
15
+ FAIL if the response selects `iceberg`, `system_map`, or `causal_loop`
16
+ without the human having overridden the recommendation, or if it selects
17
+ `leverage_points` while giving a reason unrelated to the intervention ask.
@@ -0,0 +1,9 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response emits exactly one framework block.
7
+ FAIL if it emits two or more — for example a leverage-points block plus an
8
+ iceberg or system-map block — regardless of how they are labelled or
9
+ whether one is called preliminary.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response shortlists a second framework alongside its pick and
7
+ gives a specific reason that one was not chosen — a reason that refers to
8
+ something in THIS input, not a generic description of the framework.
9
+
10
+ FAIL if only one framework is ever named, or if a second is listed with no
11
+ reason, or with a reason that would read identically for any problem.
@@ -0,0 +1,12 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response emits all six core contract fields: `problem`,
7
+ `framework_used`, `framework_reason`, `evidence`, `assumptions`, and
8
+ `open_questions`. Accept heading, field, or table rendering, and accept an
9
+ empty list where the field genuinely has no content, provided the field
10
+ itself is present.
11
+
12
+ FAIL if any of the six is absent entirely.
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The skill must actually be invoked, not merely described.
@@ -0,0 +1,13 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systems-thinking skill on this.
7
+
8
+ Our release train keeps slipping. It's slipped in nine of the last twelve
9
+ sprints. Four teams feed the train — platform, payments, mobile, and
10
+ growth — and each one blames a different upstream dependency. We've tried
11
+ moving the cutoff earlier twice; it held one sprint each time.
12
+
13
+ Where should we be pushing on this?
@@ -0,0 +1,9 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response states `system_boundary` explicitly — what is inside
7
+ the map — rather than leaving the boundary implicit in the list of actors.
8
+
9
+ FAIL if no boundary is stated anywhere in the output.
@@ -0,0 +1,15 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ The CRM migration and the compliance deadline are named in the input, but
7
+ the input states no relationship between either of them and the
8
+ sales/provisioning/platform flow.
9
+
10
+ PASS if both are placed in `external_factors`, or are otherwise explicitly
11
+ held outside the system boundary.
12
+
13
+ FAIL if either is wired into `relationships` or `dependencies` with a
14
+ connection the input never states, or if either is silently dropped from the
15
+ output entirely.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response stops at modelling the system.
7
+
8
+ FAIL if it produces an adoption plan, a sequence of phases, named owners for
9
+ changes, or a timeline — for example "week 1: sales adds required fields;
10
+ week 2: provisioning adopts the new form". Naming that a gap exists is fine;
11
+ scheduling the work to close it is a different skill.
@@ -0,0 +1,12 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if every entry in `actors`, `components`, and `relationships` traces to
7
+ something the input names, and anything added beyond that is marked as an
8
+ assumption with status `unverified`.
9
+
10
+ FAIL if the map introduces actors or systems the input never mentions — a
11
+ ticketing system, a support team, an approval step — and presents them as
12
+ part of the mapped system.
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The skill must actually be invoked, not merely described.
@@ -0,0 +1,15 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systems-thinking skill with a system map on this.
7
+
8
+ Provisioning requests go from sales to the provisioning team, who hand off
9
+ to platform for the actual account setup. Sales says provisioning is slow;
10
+ provisioning says sales sends incomplete requests; platform says it only
11
+ ever sees half the tickets.
12
+
13
+ I'll mention we're also mid-migration to a new CRM and there's an
14
+ industry-wide compliance deadline in Q3, though I don't know if either
15
+ touches this.
@@ -0,0 +1,46 @@
1
+ # problem-router
2
+
3
+ Classifies a problem and recommends which reasoning skill and framework fit
4
+ it, then stops and lets the human decide.
5
+
6
+ Run `/reasoning:problem-router` (or just describe a problem with no chosen
7
+ framework) and the skill extracts what the input states, classifies it as
8
+ `simple`, `ambiguous`, `complex`, or `complex-adaptive`, and recommends a
9
+ skill + framework with its reasoning — naming what it rejected and why.
10
+ Questions are asked only when a different answer would actually change the
11
+ routing: a clean, fully-specified problem gets zero, a genuinely split one
12
+ gets up to three. It never analyses the problem itself.
13
+
14
+ ## When to reach for it
15
+
16
+ - The problem arrives with no framework attached: "why does this keep
17
+ happening", "where do I even start", "is this a bug or something bigger".
18
+ - You want a second opinion on which framework fits before committing.
19
+
20
+ Skip it when the problem already names its framework — "run a 5 Whys on
21
+ this outage" goes straight to `problem-solving`.
22
+
23
+ ## Worked example
24
+
25
+ Input: "Our checkout API throws a null pointer exception in
26
+ `OrderService.calculateTotal()` whenever a cart has zero items. Reproduces
27
+ every time in staging, stack trace attached."
28
+
29
+ The router classifies this `simple` (one function, reproducible trigger, no
30
+ recurrence across teams) without asking anything — the input already
31
+ answers the only question that would matter. It recommends
32
+ `problem-solving` with `five_whys`, rejecting `Double Diamond` (nothing to
33
+ discover, the problem is already well-defined) and `systems-thinking` (no
34
+ cross-team dependency in evidence). The human confirms, overrides, or asks
35
+ for classification only.
36
+
37
+ ## What it deliberately does not do
38
+
39
+ - Doesn't name a root cause or propose a fix — that's the receiving skill's
40
+ job, after hand-off.
41
+ - Doesn't interrogate a problem that's already clear. Question count scales
42
+ with how ambiguous the input actually is.
43
+ - Doesn't downgrade a `complex`/`complex-adaptive` classification just
44
+ because `systems-thinking` and `systemic-design` aren't built yet — it
45
+ says so and offers the closest available option with its limitation named.
46
+ - Doesn't emit numeric confidence — only `low` / `medium` / `high`.
@@ -0,0 +1,225 @@
1
+ ---
2
+ name: problem-router
3
+ description: Classify a problem and recommend which reasoning skill and framework fit it, then let the human decide. Use when a problem arrives without a clear shape — "why does this keep happening", "where do I even start", "is this a bug or something bigger" — or when the user asks which framework to apply. Recommends and stops; never runs the analysis itself.
4
+ ---
5
+
6
+ # problem-router
7
+
8
+ You are executing the problem-router skill. A problem has arrived without a
9
+ chosen framework. Your job is to classify it, recommend a reasoning skill and
10
+ framework, and stop — the human decides, and the actual analysis happens in
11
+ whichever skill they route to.
12
+
13
+ ## Purpose
14
+
15
+ Classify the problem, recommend where it should go, and stop there. Never
16
+ name a root cause, propose a fix, or run the framework yourself — that is
17
+ the job of the skill you route to, not this one. Don't preview what the
18
+ receiving skill would find — no naming the loop, the delay, the mental
19
+ model, or the lever. A framework reason says what the framework is built
20
+ to see, not what it will see here.
21
+
22
+ ## When to use / When not to use
23
+
24
+ Use this when a problem arrives with no framework attached and it isn't
25
+ obvious where it belongs: vague symptoms, "why does this keep happening",
26
+ "where do I even start", or a direct ask for which framework fits.
27
+
28
+ Don't use this when the problem already comes framed with a chosen
29
+ framework — "run a 5 Whys on this outage" or "do an RCA on ticket 4471"
30
+ names its own route. Send those straight to `problem-solving` and skip
31
+ routing.
32
+
33
+ ## Inputs
34
+
35
+ - The raw problem text as the human wrote it.
36
+ - Any files the human points at (logs, tickets, docs). Read what's named;
37
+ don't go hunting for more evidence than offered.
38
+
39
+ ## Process
40
+
41
+ Follow these five steps in order. Classification comes before questioning —
42
+ asking first, before you've tried to classify, produces an open-ended
43
+ interview instead of a routing decision.
44
+
45
+ ```
46
+ 1. Extract what the input states — facts, actors, symptoms, history.
47
+ 2. Classify provisionally: simple | ambiguous | complex | complex-adaptive.
48
+ 3. Identify what would flip the class. Ask only questions that pass the
49
+ step 3 test below — usually zero, at most 3.
50
+ 4. Recommend: skill + framework + why + what was rejected and why.
51
+ 5. Present the options and let the human confirm, override, or ask to
52
+ classify only.
53
+ ```
54
+
55
+ **The step 3 test.** Start from zero questions and make each one earn its
56
+ turn. Before asking a candidate question, write out — for yourself, not in
57
+ the output:
58
+
59
+ - the two classes its answer would decide between;
60
+ - the route each answer produces, as a skill plus a framework.
61
+
62
+ If both answers produce the same skill and the same framework, the question
63
+ fails the test. Drop it; do not ask it. If you can't write the two routes,
64
+ it fails too.
65
+
66
+ Then count the survivors, and expect a small number:
67
+
68
+ - **Zero** is the expected count when step 1's extraction already pins the
69
+ class — narrow scope, one system, a clear symptom, no competing
70
+ interpretation. A fully specified problem gets no questions.
71
+ - **One** is the expected count when exactly one fact is genuinely
72
+ undetermined and would move the class (e.g., a symptom that could be
73
+ one-off or recurring, and the input doesn't say which).
74
+ - **Two or three** requires that many genuinely live routing branches at
75
+ once, which is rare — near-empty input, not a problem that merely leaves
76
+ some details unstated. Three is a hard cap, never a quota to fill.
77
+
78
+ Questions that sharpen a picture you already have — how often, which users,
79
+ whether the value is nullable by design, what the fix should be — fail the
80
+ test by construction: they change nothing about where the problem goes.
81
+ They belong to the skill you route to, which will ask them with the
82
+ framework in hand. Don't interrogate a problem that already told you what
83
+ it is.
84
+
85
+ A question that fails the test is dropped silently. Don't list it in the
86
+ output as something you'd still want to know, and don't gather the dropped
87
+ ones into an aside — an inventory of questions you aren't asking reads as
88
+ asking them. The output carries the surviving questions and nothing else.
89
+
90
+ **Step 5's human choice**, phrased as a binding: present the candidate
91
+ frameworks with a recommendation and let the human choose. In Claude Code,
92
+ do this with the `AskUserQuestion` tool. Headless, with no human available
93
+ to ask: take the recommendation, record it as agent-selected and
94
+ unconfirmed, and proceed.
95
+
96
+ **Classify-only mode.** The human can ask for classification without a
97
+ route — "just classify this", "don't recommend anything yet". When they do,
98
+ skip step 4 and skip step 5's choice, and emit the `router` block with
99
+ `problem_class`, `confidence` and `why` populated exactly as normal, but
100
+ `recommended_framework` and `reasoning_skill` set to `null`, and
101
+ `frameworks_rejected` empty. Set the core field `framework_reason` to state
102
+ that routing was not requested. Naming a framework or a receiving skill
103
+ anywhere in the output — including as an aside, a "for when you're ready",
104
+ or a rejection list — breaks this mode; the human asked for the class and
105
+ nothing past it.
106
+
107
+ ## Problem classes
108
+
109
+ | Class | Characteristics | Routes to |
110
+ | ----- | --------------- | --------- |
111
+ | simple | narrow scope, direct cause likely, few dependencies, low uncertainty | `problem-solving` — RCA, 5 Whys, or PDCA |
112
+ | ambiguous | problem definition or user need unclear, solution space unclear | `problem-solving` — usually Double Diamond |
113
+ | complex | multiple actors, recurring, cross-functional dependencies; **structure** regenerates the symptom — fix the structure and it stops | `systems-thinking` |
114
+ | complex-adaptive | independent actors, behaviour emerges over time, long-horizon change; **agents** regenerate the symptom by adapting — fix the structure and they route around it | `systems-thinking`, then `systemic-design` |
115
+
116
+ **Separating the two.** These two classes described each other until this
117
+ release: "reappears after local fixes" and "system reacts to intervention"
118
+ are the same sentence. Use one test instead.
119
+
120
+ > Name the actor whose behaviour changes *in response to the fix*, and say
121
+ > how they route around it.
122
+ >
123
+ > Can you name one from the input's evidence? → `complex-adaptive`
124
+ > Cannot? → `complex`
125
+
126
+ A team that keeps hitting the same structural bottleneck is `complex`. A
127
+ team that learns to bypass each fix you ship is `complex-adaptive`. State
128
+ which test result you got and what evidence produced it — a class asserted
129
+ without naming the actor (or naming that there isn't one) is a guess
130
+ wearing a label.
131
+
132
+ Thin input caps confidence, not honesty about the class. A two-line problem
133
+ statement can still get a provisional class — but the output must say the
134
+ class is provisional and name what's missing, rather than presenting it as
135
+ settled.
136
+
137
+ ## Output contract
138
+
139
+ Emit the six core fields plus the `router` block — see
140
+ `references/contract.md` for the names and their definitions, along with
141
+ evidence types, assumption status, and confidence rules. Don't guess at
142
+ any of it here; the contract is the single source of truth for the field
143
+ set.
144
+
145
+ ## Degradation
146
+
147
+ `complex` routes to `systems-thinking`, which is built. Route to it
148
+ normally — no caveat, no substitute.
149
+
150
+ `complex-adaptive` routes to `systems-thinking` first and then
151
+ `systemic-design`. The second is not built in this release. Say so plainly
152
+ when you route there: the systems-thinking pass will run and produce a
153
+ model, and the design pass that would turn that model into a coordinated
154
+ intervention programme does not exist yet.
155
+
156
+ Naming that gap is where this stops. Don't preview, hint at, or hedge what
157
+ `systemic-design` would probably conclude — no "would likely land on X", no
158
+ floating a probable intervention even provisionally. Those findings belong
159
+ to the skill that runs it, not to the router.
160
+
161
+ Never quietly downgrade the classification to fit what's built. A
162
+ complex-adaptive problem stays classified as complex-adaptive even though
163
+ only the first leg of its route can run — the human needs the honest class
164
+ to know the route is partial.
165
+
166
+ ## Failure modes
167
+
168
+ - **Naming a root cause or proposing a fix.** A router that solves has
169
+ skipped its own gate — that's `problem-solving`'s job, after hand-off.
170
+ - **Previewing the receiving skill's findings.** "Systems-thinking would
171
+ likely surface a reinforcing loop between X and Y" is the analysis,
172
+ delivered early and unearned. The framework reason names what the
173
+ framework is built to see; what it will see here is that skill's job.
174
+ - **Listing rejected frameworks without a reason each.** "Rejected:
175
+ Double Diamond" is not a finding; "rejected Double Diamond — the problem
176
+ is already well-defined, nothing to discover" is.
177
+ - **Presenting a class as settled when the input is two lines long.** Thin
178
+ input means the class is provisional, and the output says so.
179
+ - **Emitting numeric confidence.** Confidence renders `low` / `medium` /
180
+ `high` only — never a number like `0.84`.
181
+ - **Quietly downgrading a classification to match what's built.** See
182
+ Degradation above.
183
+
184
+ ## Examples
185
+
186
+ **Simple — clean classification, no questions needed**
187
+
188
+ Input: "Our checkout API throws a null pointer exception in
189
+ `OrderService.calculateTotal()` whenever a cart has zero items. Stack trace
190
+ attached, reproduces every time in staging."
191
+
192
+ Extraction: one function, one reproducible trigger, a stack trace as
193
+ evidence, no mention of recurrence across services or teams. Nothing about
194
+ this is ambiguous or cross-functional — the class is decidable from the
195
+ input alone, so step 3 asks zero questions.
196
+
197
+ Recommendation: `problem-solving`, framework `five_whys` (narrow scope,
198
+ causal chain looks linear, stack trace pins the immediate cause).
199
+ Rejected: `Double Diamond` — the problem is already well-defined, there's
200
+ nothing to discover or define; `RCA` — five-whys is enough for a single
201
+ reproducible trigger, RCA's fuller immediate/contributing/underlying/root
202
+ breakdown is more structure than this needs; `systems-thinking` — one
203
+ function, one service, no recurrence or cross-team dependency in evidence.
204
+
205
+ **Complex — no actor routes around the fix**
206
+
207
+ Input: "Every quarter, the same onboarding delays come back. We fix the
208
+ handoff between sales and provisioning, it's fine for a few weeks, then a
209
+ different team hits the same wall. This has happened three times across
210
+ two years with three different 'fixes'."
211
+
212
+ Extraction: recurring symptom, multiple actors (sales, provisioning, the
213
+ teams downstream), fixes that hold briefly then fail — a signature of
214
+ feedback loops rather than a single broken step.
215
+
216
+ Recommendation: class `complex` — the handoff between sales and
217
+ provisioning regenerates the delay regardless of who is working it, and
218
+ the input names no actor changing behaviour to get around the three fixes.
219
+ Routes to `systems-thinking`, which is built; recommend it with
220
+ `system_map`, since the input names several actors whose connections are
221
+ unstated. Rejected: `problem-solving` with `RCA` — it traces one causal
222
+ path and would not surface why three separate fixes each held briefly;
223
+ `5 Whys` — a single why-chain can't hold three actors and a recurrence;
224
+ `Double Diamond` — the problem is already well-defined, this isn't a
225
+ discovery gap.
@@ -0,0 +1,104 @@
1
+ # Output contract
2
+
3
+ Every run emits six core fields, plus exactly one block named for the
4
+ framework that ran. Nothing else appears at the top level.
5
+
6
+ ## Core fields
7
+
8
+ | Field | Contents |
9
+ | ----- | -------- |
10
+ | `problem` | The problem as this skill understands it, restated in one or two sentences. |
11
+ | `framework_used` | The framework that ran. A `problem-router` run runs none — emit `router` there, naming the routing pass itself. |
12
+ | `framework_reason` | One line: why this framework, for this problem. |
13
+ | `evidence` | What the input actually supplied. Each entry names its type. |
14
+ | `assumptions` | Anything the input did not state. Each carries a status. |
15
+ | `open_questions` | What would change the analysis if answered. |
16
+
17
+ An empty `evidence` list is a finding, not an omission: it means nothing
18
+ in the input supports the analysis, and the output says so.
19
+
20
+ ## Framework blocks
21
+
22
+ | Block | Fields |
23
+ | ----- | ------ |
24
+ | `router` | `problem_class`, `reasoning_skill`, `recommended_framework`, `confidence`, `why`, `frameworks_rejected` |
25
+ | `double_diamond` | `discover`, `define`, `develop`, `deliver` |
26
+ | `rca` | `symptom`, `immediate`, `contributing`, `underlying`, `root`, `actions` |
27
+ | `five_whys` | `why_chain`, `root_candidate`, `uncertainties` |
28
+ | `a3` | `background`, `current`, `problem`, `target`, `causes`, `countermeasures`, `plan`, `follow_up` |
29
+ | `pdca` | `hypothesis`, `test`, `metric`, `expected`, `actual`, `next` |
30
+ | `iceberg` | `event`, `patterns`, `structures`, `mental_models` |
31
+ | `system_map` | `system_boundary`, `actors`, `components`, `relationships`, `dependencies`, `external_factors` |
32
+ | `causal_loop` | `variables`, `links`, `loops`, `delays` |
33
+ | `leverage_points` | `elements`, `points` |
34
+
35
+ Later skills add blocks. The core never changes — that is what lets one
36
+ skill consume another's result without knowing which framework produced
37
+ it.
38
+
39
+ ## Evidence types
40
+
41
+ `user-provided fact`, `document`, `log`, `metric`, `interview`,
42
+ `observation`, `external source`, `inferred`.
43
+
44
+ Anything `inferred` is never rendered as fact. If the input did not state
45
+ it, it belongs in `assumptions`, not `evidence`.
46
+
47
+ ## Assumption status
48
+
49
+ `unverified` — nothing has confirmed it.
50
+ `confirmed` — the human confirmed it during this run.
51
+
52
+ Default is `unverified`. An assumption is never silently promoted.
53
+
54
+ ## Confidence
55
+
56
+ `low` / `medium` / `high`. Numeric confidence is never emitted: `0.84`
57
+ implies a precision this reasoning does not have.
58
+
59
+ Confidence reflects evidence quantity, evidence quality, contradictions
60
+ in the input, and how many inferential steps separate the claim from the
61
+ evidence.
62
+
63
+ ## Rendering
64
+
65
+ In chat by default: markdown headings, one per core field, then the
66
+ framework block.
67
+
68
+ A structure containing a cycle gets a diagram; one without gets prose.
69
+ Prose renders a cycle as a list, and a list loses the closure — `A -> B ->
70
+ C -> A` read top to bottom does not show that it comes back.
71
+
72
+ On request: one file, `problem-analysis.md`, in the directory the human
73
+ names. Core fields and the framework block become YAML front-matter above
74
+ the markdown body. No second JSON file is written — it would be a
75
+ duplicate representation with nothing keeping the two in agreement.
76
+
77
+ Example saved file:
78
+
79
+ ```markdown
80
+ ---
81
+ problem: Deploys fail intermittently after the runner image update.
82
+ framework_used: five-whys
83
+ framework_reason: Narrow scope, causal chain looks linear.
84
+ evidence:
85
+ - type: log
86
+ ref: ci-run-4471
87
+ assumptions:
88
+ - statement: Staging mirrors production runner config.
89
+ status: unverified
90
+ open_questions:
91
+ - Who owns the runner image?
92
+ five_whys:
93
+ why_chain:
94
+ - Deploys fail -> the runner cannot pull the base image
95
+ - It cannot pull -> the registry credential expired
96
+ root_candidate: Credential rotation is manual and undocumented.
97
+ uncertainties:
98
+ - Whether rotation was ever automated.
99
+ ---
100
+
101
+ # Problem analysis
102
+
103
+ ...
104
+ ```