Harness ideate

From Intense-Visions/harness-engineering · View interactive version

Harness ideate is an AI agent skill from the GitHub repository Intense-Visions/harness-engineering. > Pre-brainstorm ideation. Generates candidate ideas, critiques each against its strongest objection, and ranks them by `(impact × confidence) ÷ effort`. Writes a single ranked artifact to `docs/ideat

How to use this skill

Skill file

Harness Ideate

Pre-brainstorm ideation. Generates candidate ideas, critiques each against its strongest objection, and ranks them by (impact × confidence) ÷ effort. Writes a single ranked artifact to docs/ideation/<slug>-YYYY-MM-DD.md. Produces ranked ideation, not specs — brainstorming consumes the output.

When to Use

Process

Prompt the human in plain text — every confirmation and selection in this skill (Proceed? (y/n), post-critique selection, etc.) is plain text only. Do not elevate to AskUserQuestion: natural headers like "Confirm inputs" exceed its 12-char cap and option lists routinely exceed its 4-option cap, rendering the call as ERR.

Iron Law

The skill produces exactly ONE ranked artifact per run, at docs/ideation/<slug>-YYYY-MM-DD.md, and NEVER produces a spec, plan, ADR, or code. If the user wants a spec from a ranked idea, they invoke harness-brainstorming next — that is the contract.


Phase 1: GROUND — Read STRATEGY.md and Confirm the Topic

  1. Resolve the focus argument. If the user passed --focus (or supplied a one-line topic in the conversation), use it verbatim. Otherwise ask:

```

What is the ideation topic? One short line (e.g., "onboarding for plugin-only users",

"lateral review depth", "pulse-report follow-up routing").

```

Capture the answer; do not proceed without one.

  1. Resolve the count. Default to 10 if --count is unset. Clamp silently to [5, 25] (<5 is too few to rank meaningfully; >25 loses signal). Proceed with the clamped value.
  1. Read STRATEGY.md (grounding). Call read_strategy({ path: process.cwd() }) on the harness MCP server — it returns { present, valid, doc?, error? } and runs validation + parsing inside the server so the project does not need @harness-engineering/core installed.

Three cases:

Fallback for environments without the MCP server: node -e "import('@harness-engineering/core').then(m => m.validateStrategy(process.cwd()).then(r => console.log(JSON.stringify(r))))" — only works when @harness-engineering/core is resolvable from the project's node_modules.

  1. Confirm the topic. Before generating, surface a 2-line summary:

```

Topic: <focus>

Count: <N>

Strategy grounding: <enabled|disabled — reason>

```

Ask: Proceed with these inputs? (y/n). Wait for confirmation.


Phase 2: GENERATE — Produce Candidate Ideas

Generate exactly N candidate ideas. Each idea is a structured object with the following fields:

| Field | Type | Description |

| ------------ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------ |

| premise | string (1 sentence) | What this idea is, in one declarative sentence. Not aspirational — what the change IS, not what we hope it achieves. |

| persona | string (1 sentence) | Target persona segment (specific, not "developers"). If STRATEGY.md is present, prefer phrasing from its Who it's for. |

| complexity | low \| medium \| high | Rough engineering complexity estimate. |

| key_risk | string (1 sentence) | The single biggest reason this idea might fail or not be worth doing. Used in Phase 3 as the seed for critique. |

| impact | low \| medium \| high | How much this matters if it works. Mapped to 1/2/3 for ranking. |

| confidence | low \| medium \| high | How confident we are that we can pull it off. Mapped to 1/2/3 for ranking. |

| effort | low \| medium \| high | Engineering effort to deliver. Mapped to 1/2/3 for ranking. |

Generation rules:

Present the N candidates as a numbered list. Each line is 2-3 sentences max:

1. [Premise]. Persona: [...]. Complexity: medium. Key risk: [...]. Impact/Confidence/Effort: M/M/L.
2. [Premise]. Persona: [...]. Complexity: low.    Key risk: [...]. Impact/Confidence/Effort: H/L/L.
...

Phase 3: CRITIQUE — Identify and Address Strongest Objections

For each candidate, surface the single strongest objection — the best argument against doing this idea. The seed is key_risk from Phase 2, but the critique should sharpen it (one paragraph, not one sentence):

Idea 3: [Premise].
  Strongest objection: [...]. Most likely failure mode: [...]. What would need to be true
  for this objection to NOT hold: [...].

After all N critiques are presented, prompt the user. The prompt MUST make three

things explicit that earlier wording left implicit: every objection is _already_

recorded as standing, a rebuttal is written **by the user and never by the

agent**, and a rebuttal changes no score and no rank. Use this wording:

All N objections are on the record as standing. Leaving them there is the
normal outcome, not a concession — an accepted downside is a real signal.

If you want to rebut any, name the numbers and I'll ask you for a sentence or
two on each. Rebuttals sit beside the idea in the artifact; they do not change
any score or the ranking.

  just say "go"     leave every objection standing
  1, 4, 7           you write a rebuttal for those three
  every one         you write a rebuttal for all N

Never label the choices all / none. Those two words collide with how

people naturally phrase the default: "they're all fine", "all good", "all are

good as is" all mean _leave them standing_ — the exact opposite of a literal

all. The collision has misfired in practice. Offer the wording above instead.

Disambiguation rule. Any reply that praises the candidates, or declines to

change them, means _leave standing_ — never N rebuttals. Read the interpretation

back in one line ("Reading that as: all objections stand") and continue without

a second round trip. Only a reply that clearly asks to rebut, or names numbers,

enters the rebuttal loop.

For each idea the user elects to rebut, ask: `For idea N, what makes the

objection wrong or addressable?` Capture the answer in the user's own words.

If they cannot answer convincingly, leave the objection standing.

The agent never authors a rebuttal. A rebuttal is the user's judgment

entering the record. An agent-written one recorded in that slot is a fabricated

human input, and attributing it to an "analyst" or "reviewer" does not fix

that — it disguises it. If the user does not answer, the objection stands. The

agent may of course surface evidence bearing on an objection in conversation;

it may not write that evidence into the rebuttal field.

Rebuttals do NOT change the impact/confidence/effort scores from Phase 2, and so

cannot change rank order — scores are the only ranking input. They feed the

rationale shown alongside each ranked idea in Phase 5.


Phase 4: RANK — Score and Order

For each candidate, compute base_score = (impact × confidence) ÷ effort using the low|medium|high → 1|2|3 mapping documented in references/scoring.md. Higher is better; range is [≈0.33, 9.0].

Strategy-alignment tiebreaker. When STRATEGY.md was grounded in Phase 1, compute an alignment bonus per candidate:

alignment_bonus =
  (premise plausibly advances a Tracks bullet ? 0.5 : 0)
+ (premise/persona references Target problem or Our approach ? 0.25 : 0)

Maximum bonus +0.75. The bonus is bounded: it is applied only when the absolute difference between two adjacent candidates' base scores is ≤ 0.05. Outside that tie window, the base score wins and the bonus is recorded for transparency but does NOT change rank order. See references/scoring.md for the full contract (including the worked example and the boundary with harness-roadmap-pilot's identical tiebreaker shape).

Sort by final score descending. Stable on ties (preserve generation order so the user can find the original list).


Phase 5: WRITE — Persist the Ranked Artifact

  1. Compute the slug. Kebab-case the focus argument; lowercase; collapse whitespace and [^a-z0-9-] into -; trim leading/trailing -; truncate to ≤30 characters. Example: "onboarding for plugin-only users" → onboarding-for-plugin-only-use.
  1. Compute today's date as YYYY-MM-DD (UTC).
  1. Compute the output path. docs/ideation/<slug>-<YYYY-MM-DD>.md. If that path already exists (same focus, same day), append a 6-character lowercase hex suffix derived from sha1(focus + iso_timestamp).slice(0, 6):

```

docs/ideation/onboarding-for-plugin-only-use-2026-06-02.md # first run

docs/ideation/onboarding-for-plugin-only-use-2026-06-02-a3f9b2.md # collision

```

  1. Render the artifact. Frontmatter + ranked list. See ranking math in references/scoring.md. Required fields:

```markdown


topic: <focus argument verbatim>

generated_at: <ISO 8601 timestamp>

strategy_grounded: <true | false>

strategy_path: <STRATEGY.md path if grounded, else null>

count_requested: <N>

count_generated: <N>

ranking_formula: '(impact × confidence) ÷ effort; strategy-alignment tiebreaker (max +0.75) applied only when |Δbase_score| ≤ 0.05'


# Ideation: <focus>

## Inputs

## Ranked candidates

### 1. <premise> — score: <final>

### 2. ...

```

  1. Write the file. Create docs/ideation/ if it does not exist. Write via the standard Write tool — no Node one-liner is required here; the content is generated by the skill, not user-supplied prose with shell-escape hazards.
  1. Print the handoff. Three lines:

```

Ideation artifact written: docs/ideation/<slug>-<date>.md

Top pick: <#1 premise> — score <Y.YY>

Next: invoke /harness:brainstorming <feature> to take a candidate into a spec, OR /harness:roadmap to enqueue picks for later.

```


Harness Integration

Success Criteria

Rationalizations to Reject

These are common rationalizations that sound reasonable but lead to incorrect results. When you catch yourself thinking any of these, stop and follow the documented process instead.

| Rationalization | Why It Is Wrong |

| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------- |

| "The top-ranked idea is clearly the winner — I'll write its spec while I'm here." | Iron Law: exactly ONE ranked artifact per run, and NEVER a spec, plan, ADR, or code. Producing a spec is harness-brainstorming's job; ideate's output is an INPUT to it, not a substitute. |

| "Idea 3's objection is weak — I'll skip its critique paragraph to move faster." | Every candidate needs its single strongest-objection paragraph. Objections do not move rank — scores do — so a missing critique does not change the order; it removes the risk information the reader needs to judge the order. That is the harm. |

| "These ideas are all roughly medium on impact, confidence, and effort — I'll score them all medium." | Undifferentiated scores make the (impact × confidence) ÷ effort ranking uninformative. Slow down and re-estimate the extremes; push for the highest-impact and highest-confidence outliers rather than defaulting to medium. |

| "Idea 1 aligns with a track, so I'll add the +0.75 bonus even though it already beats Idea 2 comfortably." | The strategy-alignment bonus is bounded: it applies ONLY when | Δbase_score | ≤ 0.05. Outside that tie window the base score wins and the bonus is recorded for transparency but must never reorder a clear winner. |

| "STRATEGY.md is present but invalid — I'll fix it so grounding works." | Ideate READS STRATEGY.md; it never modifies it. On present-but-invalid, print the error verbatim, continue with strategy_grounded: false, and route the user to /harness:strategy. Repair is not this skill's job. |

Examples

Example: With STRATEGY.md (grounded, 10 candidates)

User: /harness:ideate --focus "pulse-report follow-up routing"

Phase 1:
  Topic confirmed: "pulse-report follow-up routing"
  Count: 10
  STRATEGY.md detected — grounding enabled.
  Tracks read: ["pulse-reports", "compound-engineering", "feedback-loops"]
  Who-it's-for read: "engineering teams adopting harness"

Phase 2 (excerpt):
  1. Auto-assign followups to the on-call rotation. Persona: on-call engineer.
     Complexity: medium. Key risk: rotation data may be stale. I/C/E: H/M/M.
  ...
  10. Email-digest weekly pulse for distributed teams. Persona: async-first eng.
     Complexity: low. Key risk: duplicates Slack. I/C/E: M/L/L.

Phase 3:
  User selects "answer 1, 4, 7"; provides three one-paragraph rebuttals.

Phase 4 (ranking, excerpt):
  - Idea 1 base score: (H=3 × M=2) ÷ M=2 = 3.00
    Idea 7 base score: 2.97 (|Δ| = 0.03 ≤ 0.05 — alignment window applies)
    Idea 1 alignment: track match "pulse-reports" (+0.5) + persona match (+0.25) = +0.75 → final 3.75
    Idea 7 alignment: track match "feedback-loops" (+0.5) → final 3.47
    Idea 4 base score: 2.50 (|Δ vs idea 1| = 0.50 > 0.05 — alignment recorded but not applied)

Phase 5:
  Write docs/ideation/pulse-report-follow-up-routin-2026-06-02.md
  Top pick: "Auto-assign followups to the on-call rotation" — score 3.50
  Next: invoke /harness:brainstorming "Pulse Followup Routing" to take this into a spec.

Example: Without STRATEGY.md (no grounding, 5 candidates)

Example: Slug collision (same focus, same day)

Gates

Escalation

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.