Tw creative problem solver

From SDiamante13/dotfiles · View interactive version

Tw creative problem solver is an AI agent skill from the GitHub repository SDiamante13/dotfiles. Lateral-thinking playbook that always returns a five-tier strategy portfolio (Quick Win through Moonshot). Use when you need options, alternatives, or trade-offs; when progress is stalled or failing repeatedly; or when you ask to think creatively, reframe constraints, and choose a strategic path bef

How to use this skill

Skill file

Creative Problem Solver

Purpose: generate a five-tier portfolio that compounds (Artifact Spine), then stop for a human choice.

Contract (one assistant turn)

When to use

Quick start

  1. Choose Double Diamond stage: Discover / Define / Develop / Deliver.
  2. Choose lane: Fast Spark or Full Session.
  3. Reframe once using the supported technique for the stage.
  4. Aha Check. If none, run one second and final pass with First Principles.
  5. Define gate: state a one-line problem statement + success criteria (or mark unknown and ask).
  6. Define an Artifact Spine (1-3 shared artifacts) so the tiers can stack.
  7. Generate the five-tier portfolio (learning moves in Discover/Define; solution moves in Develop/Deliver).
  8. Score options (1-5): Signal, Accretion, Ease, Reversibility, Speed.
  9. Ask the user to choose a tier or update constraints.
  10. Close with an Insights Summary.

Double Diamond alignment

Mode check

Lane selector

Reframe selection (required)

Aha Check (required)

Portfolio rule

Accretion (required)

Option template

Quick Win:
- Accretive artifact (spine):
- Expected signal:
- Escape hatch:

Strategic Play:
- Accretive artifact (spine):
- Expected signal:
- Escape hatch:

Advantage Play:
- Accretive artifact (spine):
- Expected signal:
- Escape hatch:

Transformative Move:
- Accretive artifact (spine):
- Expected signal:
- Escape hatch:

Moonshot:
- Accretive artifact (spine):
- Expected signal:
- Escape hatch:

Scoring rubric (1-5, no weights)

Preference: high Signal + Accretion + Reversibility, then Ease + Speed.

Deliverable format

Fast Spark example (compact)

Lane: Fast Spark
Stage: Deliver

Problem: Search API p95 latency is ~800ms; target <= 200ms at current infra cost.
Success: p95<=200ms, p99<=400ms, CPU +<=10%, no relevancy regression.

Reframe used: Pre-mortem
Why: the current system already exists, so the main risk is choosing a move that adds work without cutting the real latency driver.
Aha: The dominant cost is JSON serialization + payload size, not the query.

Artifact Spine:
- bench/search/ (perf harness + fixed dataset; outputs: p50/p95/p99 + diff)
- perf/tracing/ (capture scripts + flamegraphs; timebox: 30m per hypothesis)

Quick Win:
- Accretive artifact (spine): baseline run + 3 worst traces captured in perf/tracing/
- Expected signal: stable baseline + top-3 hotspot list within 1 day
- Escape hatch: disable extra tracing if overhead/noise

Strategic Play:
- Accretive artifact (spine): harness-backed PR reducing payload/serialization (bench/search/ diffs)
- Expected signal: p95 improves >= 30% on harness with no regression
- Escape hatch: guard behind flag; revert commit

Advantage Play:
- Accretive artifact (spine): cache experiment wired into harness (hit-rate + tail tracked)
- Expected signal: p95 meets target for warm traffic; CPU stays flat
- Escape hatch: kill-switch cache and keep harness

Transformative Move:
- Accretive artifact (spine): response contract + streaming plan validated by harness
- Expected signal: tail latency collapses under large result sets
- Escape hatch: ship streaming as opt-in client capability

Moonshot:
- Accretive artifact (spine): evaluation kit (dataset + harness) to compare engines/architectures
- Expected signal: order-of-magnitude tail improvement in a bakeoff
- Escape hatch: keep kit as decision tool; no migration until winner is clear

Scores (S/A/E/R/Sp):
- Quick Win: 5/5/5/5/5
- Strategic: 4/4/4/4/4
- Advantage: 4/4/3/3/3
- Transformative: 4/5/2/3/2
- Moonshot: 3/5/1/2/1

Human Input Required: pick a tier (Quick Win .. Moonshot) or update constraints.

Activation cues

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.