@v11g/agents-rock 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugins/business-analyst/skills/business-analyst/evals/evals.json +54 -0
- package/plugins/business-analyst/skills/business-analyst/evals/fixtures/pre-fed-ai-contract-review/kestrel-discovery-call.md +137 -0
- package/plugins/business-analyst/skills/business-analyst/evals/fixtures/thin-warehouse-brief/havenridge-thread.md +75 -0
- package/plugins/reasoning/.claude-plugin/plugin.json +9 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/names-missing-data.md +10 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/no-invented-numbers.md +23 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/one-framework.md +12 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/prompt.md +44 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-diagram.md +8 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-padding.md +12 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-systems-thinking-vocabulary.md +12 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/one-framework-block.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/prompt.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/chain-stops-at-speculation.md +10 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/inferred-links-are-assumptions.md +10 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/root-candidate-not-asserted.md +11 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/six-core-fields.md +21 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/uncertainties-present.md +9 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/prompt.md +7 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +10 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +9 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +9 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/systemic-design-fired.md +10 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +7 -0
- package/plugins/reasoning/evals/ps-interview-first-question/graders/look-in-present.md +10 -0
- package/plugins/reasoning/evals/ps-interview-first-question/graders/no-fixed-exits.md +11 -0
- package/plugins/reasoning/evals/ps-interview-first-question/graders/options-from-input.md +15 -0
- package/plugins/reasoning/evals/ps-interview-first-question/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/ps-interview-first-question/graders/source-hint.md +11 -0
- package/plugins/reasoning/evals/ps-interview-first-question/graders/targets-gap.md +13 -0
- package/plugins/reasoning/evals/ps-interview-first-question/prompt.md +8 -0
- package/plugins/reasoning/evals/ps-interview-five-whys/graders/look-in-present.md +10 -0
- package/plugins/reasoning/evals/ps-interview-five-whys/graders/no-fixed-exits.md +11 -0
- package/plugins/reasoning/evals/ps-interview-five-whys/graders/options-from-input.md +11 -0
- package/plugins/reasoning/evals/ps-interview-five-whys/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/ps-interview-five-whys/graders/source-hint.md +11 -0
- package/plugins/reasoning/evals/ps-interview-five-whys/graders/targets-gap.md +15 -0
- package/plugins/reasoning/evals/ps-interview-five-whys/prompt.md +8 -0
- package/plugins/reasoning/evals/ps-router-handoff/graders/no-reselection.md +11 -0
- package/plugins/reasoning/evals/ps-router-handoff/graders/runs-rca.md +8 -0
- package/plugins/reasoning/evals/ps-router-handoff/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/ps-router-handoff/prompt.md +11 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/classifies-complex.md +13 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/confidence-single-word.md +10 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/names-the-test-applied.md +13 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/no-analysis.md +15 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/routes-to-systems-thinking.md +12 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/prompt.md +15 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/classifies-ambiguous.md +8 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/confidence-single-word.md +10 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/every-rejection-has-a-reason.md +8 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/recommends-double-diamond.md +7 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/rejects-rca-and-five-whys.md +10 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/classifies-without-recommending.md +10 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/confidence-single-word.md +10 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/no-diagnosis.md +9 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/reason-drawn-from-prompt.md +10 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-classify-only/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/classifies-complex-adaptive.md +8 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/confidence-single-word.md +10 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/names-both-skills-in-order.md +18 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-downgrade.md +9 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-unavailability-claim.md +10 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/classifies-complex-adaptive.md +14 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/confidence-single-word.md +10 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-analysis.md +23 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-fabricated-figures.md +13 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-hiring-remedy.md +9 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/routes-to-systems-thinking.md +14 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/prompt.md +64 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/classifies-simple.md +7 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/confidence-single-word.md +10 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/no-heavy-frameworks.md +9 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/routing-discipline.md +12 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/six-core-fields.md +21 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/at-most-three-class-changing-questions.md +9 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-low.md +9 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-single-word.md +10 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/no-invented-detail.md +10 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/states-provisional.md +9 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/prompt.md +6 -0
- package/plugins/reasoning/evals/sd-default-selection/graders/dates-traced.md +15 -0
- package/plugins/reasoning/evals/sd-default-selection/graders/interventions-cite-entries.md +12 -0
- package/plugins/reasoning/evals/sd-default-selection/graders/owners-from-input.md +8 -0
- package/plugins/reasoning/evals/sd-default-selection/graders/plan-steps-complete.md +21 -0
- package/plugins/reasoning/evals/sd-default-selection/graders/selects-systemic-design.md +12 -0
- package/plugins/reasoning/evals/sd-default-selection/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/sd-default-selection/graders/systemic-design-fired.md +10 -0
- package/plugins/reasoning/evals/sd-default-selection/prompt.md +11 -0
- package/plugins/reasoning/evals/sd-named-framework-software/graders/names-no-skill.md +11 -0
- package/plugins/reasoning/evals/sd-named-framework-software/graders/no-systemic-block.md +10 -0
- package/plugins/reasoning/evals/sd-named-framework-software/graders/systemic-design-fired.md +10 -0
- package/plugins/reasoning/evals/sd-named-framework-software/prompt.md +8 -0
- package/plugins/reasoning/evals/sd-not-software/graders/no-systemic-block.md +10 -0
- package/plugins/reasoning/evals/sd-not-software/graders/says-out-of-scope.md +10 -0
- package/plugins/reasoning/evals/sd-not-software/prompt.md +8 -0
- package/plugins/reasoning/evals/sd-raw-input/graders/first-question-targets-model.md +11 -0
- package/plugins/reasoning/evals/sd-raw-input/graders/look-in-present.md +10 -0
- package/plugins/reasoning/evals/sd-raw-input/graders/model-gap-blocks-stop.md +14 -0
- package/plugins/reasoning/evals/sd-raw-input/graders/model-in-assumptions.md +13 -0
- package/plugins/reasoning/evals/sd-raw-input/graders/no-fixed-exits.md +11 -0
- package/plugins/reasoning/evals/sd-raw-input/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/sd-raw-input/graders/systemic-design-fired.md +10 -0
- package/plugins/reasoning/evals/sd-raw-input/prompt.md +8 -0
- package/plugins/reasoning/evals/sd-theory-of-change/graders/links-carry-assumptions.md +9 -0
- package/plugins/reasoning/evals/sd-theory-of-change/graders/no-dates.md +8 -0
- package/plugins/reasoning/evals/sd-theory-of-change/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/sd-theory-of-change/graders/systemic-design-fired.md +10 -0
- package/plugins/reasoning/evals/sd-theory-of-change/graders/toc-block.md +10 -0
- package/plugins/reasoning/evals/sd-theory-of-change/prompt.md +8 -0
- package/plugins/reasoning/evals/sd-three-horizons/graders/dates-are-assumptions.md +11 -0
- package/plugins/reasoning/evals/sd-three-horizons/graders/owners-are-roles.md +8 -0
- package/plugins/reasoning/evals/sd-three-horizons/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/sd-three-horizons/graders/systemic-design-fired.md +10 -0
- package/plugins/reasoning/evals/sd-three-horizons/graders/three-horizons-block.md +10 -0
- package/plugins/reasoning/evals/sd-three-horizons/prompt.md +9 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/diagram-present.md +10 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +12 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +13 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/open-chain-not-called-a-loop.md +13 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/prompt.md +14 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/empty-level-is-honest.md +14 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-diagram.md +11 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-invented-mental-model.md +13 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/six-core-fields.md +12 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/prompt.md +9 -0
- package/plugins/reasoning/evals/st-interview-first-question/graders/look-in-present.md +10 -0
- package/plugins/reasoning/evals/st-interview-first-question/graders/no-fixed-exits.md +11 -0
- package/plugins/reasoning/evals/st-interview-first-question/graders/options-from-input.md +11 -0
- package/plugins/reasoning/evals/st-interview-first-question/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-interview-first-question/graders/source-hint.md +11 -0
- package/plugins/reasoning/evals/st-interview-first-question/graders/targets-gap.md +13 -0
- package/plugins/reasoning/evals/st-interview-first-question/prompt.md +8 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/elements-carry-evidence-types.md +13 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/every-level-matches-an-element.md +13 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/no-adoption-plan.md +12 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/uncovered-kinds-are-stated.md +11 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/prompt.md +11 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/first-match-wins.md +17 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +12 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/rejected-candidate-has-a-reason.md +11 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/six-core-fields.md +12 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-selection-boundary/prompt.md +13 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/boundary-stated.md +9 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/external-factors-hold-the-unconnected.md +15 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/no-intervention-design.md +11 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/no-invented-components.md +12 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-system-map-boundary/prompt.md +15 -0
- package/plugins/reasoning/skills/problem-router/README.md +46 -0
- package/plugins/reasoning/skills/problem-router/SKILL.md +221 -0
- package/plugins/reasoning/skills/problem-router/references/contract.md +110 -0
- package/plugins/reasoning/skills/problem-solving/README.md +51 -0
- package/plugins/reasoning/skills/problem-solving/SKILL.md +204 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/a3.md +46 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/double-diamond.md +60 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/five-whys.md +49 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/pdca.md +46 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/root-cause-analysis.md +59 -0
- package/plugins/reasoning/skills/problem-solving/references/contract.md +110 -0
- package/plugins/reasoning/skills/problem-solving/references/interview.md +66 -0
- package/plugins/reasoning/skills/systemic-design/README.md +42 -0
- package/plugins/reasoning/skills/systemic-design/SKILL.md +182 -0
- package/plugins/reasoning/skills/systemic-design/frameworks/systemic-design.md +39 -0
- package/plugins/reasoning/skills/systemic-design/frameworks/theory-of-change.md +34 -0
- package/plugins/reasoning/skills/systemic-design/frameworks/three-horizons.md +28 -0
- package/plugins/reasoning/skills/systemic-design/references/contract.md +110 -0
- package/plugins/reasoning/skills/systemic-design/references/interview.md +66 -0
- package/plugins/reasoning/skills/systems-thinking/README.md +43 -0
- package/plugins/reasoning/skills/systems-thinking/SKILL.md +216 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +61 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/iceberg.md +43 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +80 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +45 -0
- package/plugins/reasoning/skills/systems-thinking/references/contract.md +110 -0
- package/plugins/reasoning/skills/systems-thinking/references/interview.md +66 -0
- package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +3 -2
- package/plugins/solution-architect/skills/analyze-requirements/evals/evals.json +66 -0
- package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/greenfield-llm-triage-spec/triage-service-spec.md +105 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/rewriting.md +108 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/drift.mjs +64 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/drift.mjs +31 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/git-diff.mjs +27 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/state.mjs +52 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/record.mjs +87 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift-cli.test.mjs +178 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift.test.mjs +76 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/git-diff.test.mjs +62 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/record-cli.test.mjs +136 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rerun-safety.test.mjs +53 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rewriting.test.mjs +80 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/state.test.mjs +123 -0
- package/plugins/solution-architect/skills/estimate/evals/evals.json +60 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/gate-check-northgate/northgate-email.md +18 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/measurements.jsonl +17 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.json +62 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.md +41 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/ARCHITECTURE.md +71 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.json +68 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.md +43 -0
- package/plugins/solution-architect/skills/new-lead/evals/evals.json +66 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md +19 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md +5 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html +3 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json +10 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md +8 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json +38 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md +14 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md +18 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md +7 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json +35 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md +28 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md +14 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json +15 -0
- package/plugins/solution-architect/skills/proposal/evals/evals.json +67 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md +53 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md +23 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md +65 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md +21 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js +5 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +88 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +407 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +41 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md +68 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md +24 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js +5 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +87 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +394 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +44 -0
- package/src/cli/install.mjs +7 -1
|
@@ -0,0 +1,221 @@
|
|
|
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`. Both are built. Route to them in that order, normally —
|
|
152
|
+
the first produces the model, the second plans the change.
|
|
153
|
+
|
|
154
|
+
Don't preview what either would conclude — no "would likely land on X", no
|
|
155
|
+
floating a probable intervention even provisionally. Those findings belong
|
|
156
|
+
to the skills that run them, not to the router.
|
|
157
|
+
|
|
158
|
+
Never quietly downgrade the classification. A complex-adaptive problem
|
|
159
|
+
stays classified as complex-adaptive — the human needs the honest class to
|
|
160
|
+
know which route fits.
|
|
161
|
+
|
|
162
|
+
## Failure modes
|
|
163
|
+
|
|
164
|
+
- **Naming a root cause or proposing a fix.** A router that solves has
|
|
165
|
+
skipped its own gate — that's `problem-solving`'s job, after hand-off.
|
|
166
|
+
- **Previewing the receiving skill's findings.** "Systems-thinking would
|
|
167
|
+
likely surface a reinforcing loop between X and Y" is the analysis,
|
|
168
|
+
delivered early and unearned. The framework reason names what the
|
|
169
|
+
framework is built to see; what it will see here is that skill's job.
|
|
170
|
+
- **Listing rejected frameworks without a reason each.** "Rejected:
|
|
171
|
+
Double Diamond" is not a finding; "rejected Double Diamond — the problem
|
|
172
|
+
is already well-defined, nothing to discover" is.
|
|
173
|
+
- **Presenting a class as settled when the input is two lines long.** Thin
|
|
174
|
+
input means the class is provisional, and the output says so.
|
|
175
|
+
- **Emitting numeric confidence.** Confidence renders `low` / `medium` /
|
|
176
|
+
`high` only — never a number like `0.84`.
|
|
177
|
+
- **Quietly downgrading a classification to match what's built.** See
|
|
178
|
+
Degradation above.
|
|
179
|
+
|
|
180
|
+
## Examples
|
|
181
|
+
|
|
182
|
+
**Simple — clean classification, no questions needed**
|
|
183
|
+
|
|
184
|
+
Input: "Our checkout API throws a null pointer exception in
|
|
185
|
+
`OrderService.calculateTotal()` whenever a cart has zero items. Stack trace
|
|
186
|
+
attached, reproduces every time in staging."
|
|
187
|
+
|
|
188
|
+
Extraction: one function, one reproducible trigger, a stack trace as
|
|
189
|
+
evidence, no mention of recurrence across services or teams. Nothing about
|
|
190
|
+
this is ambiguous or cross-functional — the class is decidable from the
|
|
191
|
+
input alone, so step 3 asks zero questions.
|
|
192
|
+
|
|
193
|
+
Recommendation: `problem-solving`, framework `five_whys` (narrow scope,
|
|
194
|
+
causal chain looks linear, stack trace pins the immediate cause).
|
|
195
|
+
Rejected: `Double Diamond` — the problem is already well-defined, there's
|
|
196
|
+
nothing to discover or define; `RCA` — five-whys is enough for a single
|
|
197
|
+
reproducible trigger, RCA's fuller immediate/contributing/underlying/root
|
|
198
|
+
breakdown is more structure than this needs; `systems-thinking` — one
|
|
199
|
+
function, one service, no recurrence or cross-team dependency in evidence.
|
|
200
|
+
|
|
201
|
+
**Complex — no actor routes around the fix**
|
|
202
|
+
|
|
203
|
+
Input: "Every quarter, the same onboarding delays come back. We fix the
|
|
204
|
+
handoff between sales and provisioning, it's fine for a few weeks, then a
|
|
205
|
+
different team hits the same wall. This has happened three times across
|
|
206
|
+
two years with three different 'fixes'."
|
|
207
|
+
|
|
208
|
+
Extraction: recurring symptom, multiple actors (sales, provisioning, the
|
|
209
|
+
teams downstream), fixes that hold briefly then fail — a signature of
|
|
210
|
+
feedback loops rather than a single broken step.
|
|
211
|
+
|
|
212
|
+
Recommendation: class `complex` — the handoff between sales and
|
|
213
|
+
provisioning regenerates the delay regardless of who is working it, and
|
|
214
|
+
the input names no actor changing behaviour to get around the three fixes.
|
|
215
|
+
Routes to `systems-thinking`, which is built; recommend it with
|
|
216
|
+
`system_map`, since the input names several actors whose connections are
|
|
217
|
+
unstated. Rejected: `problem-solving` with `RCA` — it traces one causal
|
|
218
|
+
path and would not surface why three separate fixes each held briefly;
|
|
219
|
+
`5 Whys` — a single why-chain can't hold three actors and a recurrence;
|
|
220
|
+
`Double Diamond` — the problem is already well-defined, this isn't a
|
|
221
|
+
discovery gap.
|
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
| `systemic_design` | `explore`, `reframe`, `create`, `catalyse` |
|
|
35
|
+
| `theory_of_change` | `inputs`, `activities`, `outputs`, `short_term_outcomes`, `long_term_outcomes`, `impact`, `links` |
|
|
36
|
+
| `three_horizons` | `h1`, `h2`, `h3` |
|
|
37
|
+
|
|
38
|
+
Later skills add blocks. The core never changes — that is what lets one
|
|
39
|
+
skill consume another's result without knowing which framework produced
|
|
40
|
+
it.
|
|
41
|
+
|
|
42
|
+
## Evidence types
|
|
43
|
+
|
|
44
|
+
`user-provided fact`, `document`, `log`, `metric`, `interview`,
|
|
45
|
+
`observation`, `external source`, `inferred`.
|
|
46
|
+
|
|
47
|
+
Anything `inferred` is never rendered as fact. If the input did not state
|
|
48
|
+
it, it belongs in `assumptions`, not `evidence`.
|
|
49
|
+
|
|
50
|
+
## Assumption status
|
|
51
|
+
|
|
52
|
+
`unverified` — nothing has confirmed it.
|
|
53
|
+
`confirmed` — the human confirmed it during this run.
|
|
54
|
+
|
|
55
|
+
Default is `unverified`. An assumption is never silently promoted.
|
|
56
|
+
|
|
57
|
+
## Confidence
|
|
58
|
+
|
|
59
|
+
`low` / `medium` / `high`. Numeric confidence is never emitted: `0.84`
|
|
60
|
+
implies a precision this reasoning does not have.
|
|
61
|
+
|
|
62
|
+
Confidence reflects evidence quantity, evidence quality, contradictions
|
|
63
|
+
in the input, and how many inferential steps separate the claim from the
|
|
64
|
+
evidence.
|
|
65
|
+
|
|
66
|
+
## Rendering
|
|
67
|
+
|
|
68
|
+
In chat by default: markdown headings, one per core field, then the
|
|
69
|
+
framework block.
|
|
70
|
+
|
|
71
|
+
A structure containing a cycle gets a diagram; one without gets prose.
|
|
72
|
+
Prose renders a cycle as a list, and a list loses the closure — `A -> B ->
|
|
73
|
+
C -> A` read top to bottom does not show that it comes back.
|
|
74
|
+
|
|
75
|
+
On request: one file, `problem-analysis.md`, in the directory the human
|
|
76
|
+
names. Core fields and the framework block become YAML front-matter above
|
|
77
|
+
the markdown body. No second JSON file is written — it would be a
|
|
78
|
+
duplicate representation with nothing keeping the two in agreement.
|
|
79
|
+
|
|
80
|
+
Example saved file:
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
---
|
|
84
|
+
problem: Deploys fail intermittently after the runner image update.
|
|
85
|
+
framework_used: five-whys
|
|
86
|
+
framework_reason: Narrow scope, causal chain looks linear.
|
|
87
|
+
evidence:
|
|
88
|
+
- type: log
|
|
89
|
+
ref: ci-run-4471
|
|
90
|
+
assumptions:
|
|
91
|
+
- statement: Staging mirrors production runner config.
|
|
92
|
+
status: unverified
|
|
93
|
+
open_questions:
|
|
94
|
+
- Who owns the runner image?
|
|
95
|
+
- |
|
|
96
|
+
Which runner pool failed — shared or dedicated?
|
|
97
|
+
Look in: the CI runner dashboard
|
|
98
|
+
five_whys:
|
|
99
|
+
why_chain:
|
|
100
|
+
- Deploys fail -> the runner cannot pull the base image
|
|
101
|
+
- It cannot pull -> the registry credential expired
|
|
102
|
+
root_candidate: Credential rotation is manual and undocumented.
|
|
103
|
+
uncertainties:
|
|
104
|
+
- Whether rotation was ever automated.
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
# Problem analysis
|
|
108
|
+
|
|
109
|
+
...
|
|
110
|
+
```
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# problem-solving
|
|
2
|
+
|
|
3
|
+
Takes a problem — raw, framework-named, or handed over by `problem-router`
|
|
4
|
+
— to a tested next step: a supported root cause, or an experiment with a
|
|
5
|
+
measurement plan. It picks the framework that fits (Double Diamond, Root
|
|
6
|
+
Cause Analysis, 5 Whys, A3, or PDCA), recommends one when none is named,
|
|
7
|
+
and lets the human confirm.
|
|
8
|
+
|
|
9
|
+
Run `/reasoning:problem-solving "<problem>"` to get a recommendation, or
|
|
10
|
+
`/reasoning:problem-solving <framework> "<problem>"` to skip straight to a
|
|
11
|
+
chosen framework. It also accepts a hand-off from `problem-router` once the
|
|
12
|
+
human has confirmed the route.
|
|
13
|
+
|
|
14
|
+
When the evidence runs out before the framework's stopping rule fires and
|
|
15
|
+
you're there to answer, it asks you for the missing piece — one question
|
|
16
|
+
at a time, each naming where to look — instead of stopping short.
|
|
17
|
+
|
|
18
|
+
## When to reach for it
|
|
19
|
+
|
|
20
|
+
- A problem needs analysis, not a direct answer — recurring failures,
|
|
21
|
+
unclear causes, improvement work, or a change that needs a measurable
|
|
22
|
+
hypothesis.
|
|
23
|
+
- You already know which framework fits and just want to run it.
|
|
24
|
+
- `problem-router` has classified the problem and the human confirmed
|
|
25
|
+
where it should go.
|
|
26
|
+
|
|
27
|
+
Skip it when the problem's shape isn't clear yet — route through
|
|
28
|
+
`problem-router` first so it lands on the right framework.
|
|
29
|
+
|
|
30
|
+
## Worked example
|
|
31
|
+
|
|
32
|
+
Input: `/reasoning:problem-solving five_whys "Deploys fail intermittently
|
|
33
|
+
after the runner image update. ci-run-4471 log attached."`
|
|
34
|
+
|
|
35
|
+
`five_whys` is named, so it runs directly. The chain resolves in two links
|
|
36
|
+
— the runner can't pull the base image, the registry credential expired —
|
|
37
|
+
and stops there because the log runs out of evidence, not because five
|
|
38
|
+
links weren't reached. Output: the six core fields plus one `five_whys`
|
|
39
|
+
block, sized to what a two-line problem with one log actually supports.
|
|
40
|
+
|
|
41
|
+
## What it deliberately does not do
|
|
42
|
+
|
|
43
|
+
- Doesn't classify an unclear problem — that's `problem-router`'s job;
|
|
44
|
+
this skill runs the framework it's given.
|
|
45
|
+
- Doesn't write the fix, edit files, or run the experiment it designs. It
|
|
46
|
+
stops at a tested next step.
|
|
47
|
+
- Doesn't run more than one framework per problem without the first one's
|
|
48
|
+
stopping rule having fired and a stated reason to continue.
|
|
49
|
+
- Doesn't pad a small problem out to fill every section of a framework —
|
|
50
|
+
length scales to the evidence, not to the template.
|
|
51
|
+
- Doesn't emit numeric confidence — only `low` / `medium` / `high`.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: problem-solving
|
|
3
|
+
description: Work a problem to a testable next step using the framework that fits it — Double Diamond, root cause analysis, 5 Whys, A3, or PDCA. Use when a problem needs analysis rather than a direct answer: recurring failures, unclear causes, improvement work, or a change that needs a measurable hypothesis. Recommends a framework and lets you choose; run it with a named framework to skip the choice.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# problem-solving
|
|
7
|
+
|
|
8
|
+
You are executing the problem-solving skill. A problem has arrived — raw,
|
|
9
|
+
framework-named, or handed over by `problem-router` — and your job is to
|
|
10
|
+
take it to a tested next step: select or confirm a framework, run it to its
|
|
11
|
+
own stopping rule, and emit the result. You do not write the fix, edit
|
|
12
|
+
files, or run the experiment the framework recommends.
|
|
13
|
+
|
|
14
|
+
## Purpose
|
|
15
|
+
|
|
16
|
+
Take a problem — raw or reframed — to a testable next step: a hypothesis
|
|
17
|
+
with a measurement plan, or a root cause with a named gap in support.
|
|
18
|
+
Nothing past that point is this skill's job.
|
|
19
|
+
|
|
20
|
+
## When to use / When not to use
|
|
21
|
+
|
|
22
|
+
Use this when a problem has, or can be given, a single framing to run: a
|
|
23
|
+
named framework, a symptom clear enough to work directly, or a problem
|
|
24
|
+
`problem-router` has already classified and handed over.
|
|
25
|
+
|
|
26
|
+
Don't use this when the problem hasn't been classified yet and its shape is
|
|
27
|
+
genuinely unclear — vague symptoms, "where do I even start," multiple
|
|
28
|
+
plausible framings. Route those through `problem-router` first; it decides
|
|
29
|
+
where the problem goes, this skill runs what it's given.
|
|
30
|
+
|
|
31
|
+
Don't use this to write the fix. The deliverable is an experiment or a
|
|
32
|
+
supported cause, not a code change, a file edit, or a completed test run —
|
|
33
|
+
see Guardrails.
|
|
34
|
+
|
|
35
|
+
## Inputs
|
|
36
|
+
|
|
37
|
+
- The problem text, raw or already reframed by `problem-router`.
|
|
38
|
+
- Optionally, a framework name as the first argument — `five_whys`, `rca`,
|
|
39
|
+
`double_diamond`, `a3`, or `pdca`.
|
|
40
|
+
- Whatever the `problem-router` hand-off carries: its classification,
|
|
41
|
+
recommended framework, and reasoning, when this run started there.
|
|
42
|
+
|
|
43
|
+
## Entry paths
|
|
44
|
+
|
|
45
|
+
All three land in the same process below — only the starting point differs.
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
/reasoning:problem-solving "<problem>" skill recommends, human picks
|
|
49
|
+
/reasoning:problem-solving <framework> "<problem>" human has already chosen
|
|
50
|
+
router hand-off after human confirmation router recommended
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Framework selection
|
|
54
|
+
|
|
55
|
+
Shortlist two candidates from this table, name the pick with a one-line
|
|
56
|
+
reason, and let the human choose. Full stopping tests live in each
|
|
57
|
+
framework file — this table carries only the first line of each.
|
|
58
|
+
|
|
59
|
+
| Framework | When it fits | Stop when |
|
|
60
|
+
| --- | --- | --- |
|
|
61
|
+
| `double_diamond` | The problem itself is unclear. | Framing settles; remaining unknowns will not change it. |
|
|
62
|
+
| `rca` | Symptom is clear, cause is not. | Causes trace to something actionable and supported. |
|
|
63
|
+
| `five_whys` | Narrow scope, linear causal chain. | The next "why" turns speculative or leaves scope. |
|
|
64
|
+
| `a3` | Operational improvement needing a written case. | All eight sections have content. |
|
|
65
|
+
| `pdca` | A change with a measurable hypothesis. | Metric, expected result, and next action are defined. |
|
|
66
|
+
|
|
67
|
+
See `frameworks/double-diamond.md`, `frameworks/root-cause-analysis.md`,
|
|
68
|
+
`frameworks/five-whys.md`, `frameworks/a3.md`, and `frameworks/pdca.md` for
|
|
69
|
+
the full process and the mechanical test behind each stopping rule.
|
|
70
|
+
|
|
71
|
+
When the human named a framework, that is the choice and it runs — skip
|
|
72
|
+
this section entirely, no confirmation step. Headless, with no human
|
|
73
|
+
available: take the pick, record it as agent-selected and unconfirmed, and
|
|
74
|
+
proceed.
|
|
75
|
+
|
|
76
|
+
## Process
|
|
77
|
+
|
|
78
|
+
1. Establish the framing: the problem as stated, or as `problem-router`
|
|
79
|
+
reframed it.
|
|
80
|
+
2. Select the framework:
|
|
81
|
+
- Named already (human, or router hand-off with confirmation) → that's
|
|
82
|
+
the choice, go to step 3.
|
|
83
|
+
- Not named → shortlist two from the table above, recommend one with a
|
|
84
|
+
one-line reason. Then test, don't infer: is `AskUserQuestion`
|
|
85
|
+
actually available in this session? If yes, ask via
|
|
86
|
+
`AskUserQuestion` and wait for the answer. If no — the tool is
|
|
87
|
+
unavailable, or the run is otherwise non-interactive — you are
|
|
88
|
+
headless: take your own recommendation, record it agent-selected and
|
|
89
|
+
unconfirmed, and go straight to step 3. Naming the shortlist and
|
|
90
|
+
stopping there, without asking and without proceeding, is not a valid
|
|
91
|
+
outcome on either branch.
|
|
92
|
+
3. Open the matching file under `frameworks/` and follow its process
|
|
93
|
+
exactly. Don't substitute a different structure or skip its steps
|
|
94
|
+
because the problem feels straightforward.
|
|
95
|
+
4. Stop at that file's own stopping rule, not a fixed depth or section
|
|
96
|
+
count. Apply the rule's test, not an impression of whether it feels
|
|
97
|
+
done — see each file's Stop when section.
|
|
98
|
+
4b. If the stopping rule has not fired, follow
|
|
99
|
+
`references/interview.md`. With a human present it returns you to
|
|
100
|
+
step 3 with new evidence; headless, it shapes the first open question.
|
|
101
|
+
Then continue to step 5.
|
|
102
|
+
5. Emit the result per Output contract below.
|
|
103
|
+
|
|
104
|
+
## Output contract
|
|
105
|
+
|
|
106
|
+
Emit the six core fields plus exactly one framework block, per
|
|
107
|
+
`references/contract.md` — that file is the single source of truth for
|
|
108
|
+
field names, evidence types, assumption status, and confidence rendering.
|
|
109
|
+
Don't guess at the shape here.
|
|
110
|
+
|
|
111
|
+
The one block is whichever framework ran in step 3. Never emit more than
|
|
112
|
+
one framework block in a single run — see Guardrails.
|
|
113
|
+
|
|
114
|
+
## Guardrails
|
|
115
|
+
|
|
116
|
+
These are rules this skill will not break. Each has a test — apply the
|
|
117
|
+
test, not a judgment call.
|
|
118
|
+
|
|
119
|
+
- **No cause is labelled `root` without stated support.** Test: can you name
|
|
120
|
+
a specific entry in `evidence` that ties this cause to the symptom
|
|
121
|
+
without inserting a further inferential step? Yes → `root`. No →
|
|
122
|
+
`root_candidate`, with what evidence would promote it stated alongside.
|
|
123
|
+
- **Anything the input didn't state is an assumption, not evidence.** Test:
|
|
124
|
+
for each fact about to be recorded, did the input say it, or did you
|
|
125
|
+
infer or derive it? Inferred → `assumptions`, status `unverified`. Never
|
|
126
|
+
render inferred content as `evidence`, no matter how confident the
|
|
127
|
+
inference.
|
|
128
|
+
- **One framework per run.** Test: before starting a second one, has the
|
|
129
|
+
first's own stopping rule actually fired (check that file's Stop when
|
|
130
|
+
section), and is there a stated reason continuing adds something the
|
|
131
|
+
first pass didn't reach? Both must be yes; if either is no, don't run a
|
|
132
|
+
second framework.
|
|
133
|
+
- **Deliver is an experiment with a measurement plan, not an
|
|
134
|
+
implementation.** Test: does the next step involve writing code, editing
|
|
135
|
+
a file to apply the change, or running the experiment? Yes → stop; hand
|
|
136
|
+
the tested next step back rather than acting on it, however obvious the
|
|
137
|
+
fix looks.
|
|
138
|
+
- **Length and depth scale to the problem, not to the framework's
|
|
139
|
+
capacity.** Test, applied sentence by sentence to what you have written:
|
|
140
|
+
does this sentence name a specific fact, quote, figure, file, or
|
|
141
|
+
`evidence` entry from THIS problem's input? If a sentence would read as
|
|
142
|
+
true no matter what `evidence` contained, it is generic — cut it, or
|
|
143
|
+
replace it with a plain "no evidence for this." A one-line defect gets
|
|
144
|
+
however many fields the evidence actually supports, stated briefly; it
|
|
145
|
+
does not get every section of the framework padded out to look
|
|
146
|
+
thorough.
|
|
147
|
+
|
|
148
|
+
## Failure modes
|
|
149
|
+
|
|
150
|
+
- **Framework named that belongs to `systems-thinking`** — iceberg, system
|
|
151
|
+
map, causal loop, leverage points. That skill is built: say it owns the
|
|
152
|
+
framework and hand the problem over. Don't run the framework here, and
|
|
153
|
+
don't refuse it.
|
|
154
|
+
- **Framework named that belongs to `systemic-design`** — theory of change,
|
|
155
|
+
three horizons, explore/reframe/create/catalyse. That skill is built:
|
|
156
|
+
say it owns the framework and hand the problem over. Don't run the
|
|
157
|
+
framework here, and don't refuse it.
|
|
158
|
+
- **Framework named but unavailable** — from PRD §10.2's later set: DMAIC,
|
|
159
|
+
OODA, TRIZ, Design Sprint. Say it isn't built yet, and name the closest
|
|
160
|
+
available framework from the table above with the difference stated,
|
|
161
|
+
rather than silently substituting it.
|
|
162
|
+
- **Asking without naming the gap.** An interview question must fill a
|
|
163
|
+
specific field, layer, or link the stopping rule is blocked on. A
|
|
164
|
+
question that fills nothing named is an open-ended interview — cut it.
|
|
165
|
+
- **A source hint that names what to expect.** `Look in:` names where the
|
|
166
|
+
evidence lives. Naming what the human will find there previews a cause
|
|
167
|
+
the evidence hasn't supported.
|
|
168
|
+
|
|
169
|
+
## Examples
|
|
170
|
+
|
|
171
|
+
**Agent-selected — a one-line defect, no framework named**
|
|
172
|
+
|
|
173
|
+
Input: "Deploys fail intermittently after the runner image update.
|
|
174
|
+
ci-run-4471 log attached."
|
|
175
|
+
|
|
176
|
+
No framework named. Shortlist from the table: `five_whys` (narrow scope,
|
|
177
|
+
one system, plausible linear chain) and `rca` (would work too, but its
|
|
178
|
+
four-layer breakdown is more structure than one log and one symptom
|
|
179
|
+
supports). Recommend `five_whys` with that one-line reason; in Claude Code,
|
|
180
|
+
present both via `AskUserQuestion` and let the human pick. Headless, take
|
|
181
|
+
`five_whys` and record it as agent-selected, unconfirmed.
|
|
182
|
+
|
|
183
|
+
Run `frameworks/five-whys.md`: the chain resolves in two links before the
|
|
184
|
+
log runs out of evidence — "deploys fail → the runner can't pull the base
|
|
185
|
+
image → the registry credential expired" — and stops there per the
|
|
186
|
+
framework's own rule, not padded to five links. `root_candidate` is the
|
|
187
|
+
expired credential; `uncertainties` notes whether rotation was ever
|
|
188
|
+
automated. Emit the six core fields plus one `five_whys` block. Nothing
|
|
189
|
+
else — the input was a two-line problem with one log, and the output
|
|
190
|
+
stays that size.
|
|
191
|
+
|
|
192
|
+
**Human-named — the human already picked**
|
|
193
|
+
|
|
194
|
+
Input: `/reasoning:problem-solving pdca "Increasing the checkout timeout
|
|
195
|
+
from 5s to 15s should cut cart-abandonment errors without hiding real
|
|
196
|
+
outages."`
|
|
197
|
+
|
|
198
|
+
`pdca` is named, so it runs — no shortlist, no confirmation. Open
|
|
199
|
+
`frameworks/pdca.md`: `hypothesis` is the claim as given; `test` is the
|
|
200
|
+
timeout change; `metric` is cart-abandonment-error rate against p99
|
|
201
|
+
checkout latency, both to be watched post-change. No test has actually run
|
|
202
|
+
yet, so `actual` stays empty and the output says plainly that the cycle
|
|
203
|
+
isn't closed — `next` names what running the test would take, not a result
|
|
204
|
+
that hasn't happened. Emit the six core fields plus one `pdca` block.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# A3
|
|
2
|
+
|
|
3
|
+
## When it fits
|
|
4
|
+
|
|
5
|
+
Operational improvement needing a written case.
|
|
6
|
+
|
|
7
|
+
## Process
|
|
8
|
+
|
|
9
|
+
You are executing the A3 framework within the problem-solving skill. Write
|
|
10
|
+
the case as eight sections, in order:
|
|
11
|
+
|
|
12
|
+
1. **Background** — why this matters, who's affected, what's at stake.
|
|
13
|
+
2. **Current condition** — what's happening now, as evidenced, not as
|
|
14
|
+
assumed.
|
|
15
|
+
3. **Problem statement** — the gap between current condition and what's
|
|
16
|
+
needed, stated in one or two sentences.
|
|
17
|
+
4. **Target condition** — what "solved" looks like, specifically enough to
|
|
18
|
+
check against later.
|
|
19
|
+
5. **Root cause analysis** — the causal chain behind the problem
|
|
20
|
+
statement. Apply the same root vs. `root_candidate` test as
|
|
21
|
+
`root-cause-analysis.md`: label a cause `root` only when a specific
|
|
22
|
+
evidence entry ties it directly to the problem statement; otherwise
|
|
23
|
+
it's a `root_candidate` with the gap named.
|
|
24
|
+
6. **Countermeasures** — actions that address the causes found in section
|
|
25
|
+
5, not the symptom in isolation.
|
|
26
|
+
7. **Action plan** — who does what, and by when, for each countermeasure.
|
|
27
|
+
8. **Follow-up** — how and when the target condition will be checked
|
|
28
|
+
against what actually happened.
|
|
29
|
+
|
|
30
|
+
A section has content only when it states something specific, drawn from
|
|
31
|
+
evidence, a named assumption, or reasoning traceable to one of those.
|
|
32
|
+
Restating the section's title in sentence form, or filling it with a
|
|
33
|
+
generic statement that would apply to any problem, does not count. If the
|
|
34
|
+
input doesn't support a section, say so directly in that section — "no
|
|
35
|
+
evidence available for X" is content; a padded paragraph that says nothing
|
|
36
|
+
is not, even though it fills the space.
|
|
37
|
+
|
|
38
|
+
## Output block
|
|
39
|
+
|
|
40
|
+
Emit the `a3` block from `references/contract.md`, with fields
|
|
41
|
+
`background`, `current`, `problem`, `target`, `causes`, `countermeasures`,
|
|
42
|
+
`plan`, `follow_up` — one per section above, in the same order.
|
|
43
|
+
|
|
44
|
+
## Stop when
|
|
45
|
+
|
|
46
|
+
All eight sections have content.
|