@codyswann/lisa 2.61.1 → 2.62.1

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 (125) hide show
  1. package/package.json +2 -2
  2. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  3. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  4. package/plugins/lisa/agents/confluence-prd-intake.md +1 -1
  5. package/plugins/lisa/agents/github-prd-intake.md +1 -1
  6. package/plugins/lisa/agents/linear-prd-intake.md +1 -1
  7. package/plugins/lisa/agents/notion-prd-intake.md +1 -1
  8. package/plugins/lisa/commands/intake.md +1 -1
  9. package/plugins/lisa/commands/project-ideation.md +3 -3
  10. package/plugins/lisa/commands/repair-intake.md +6 -0
  11. package/plugins/lisa/commands/research.md +3 -3
  12. package/plugins/lisa/commands/setup-automations.md +6 -0
  13. package/plugins/lisa/commands/tear-down-automations.md +6 -0
  14. package/plugins/lisa/commands/verify-prd.md +2 -2
  15. package/plugins/lisa/rules/config-resolution.md +60 -0
  16. package/plugins/lisa/rules/intent-routing.md +4 -3
  17. package/plugins/lisa/rules/prd-lifecycle-rollup.md +10 -2
  18. package/plugins/lisa/rules/repo-scope-split.md +18 -1
  19. package/plugins/lisa/skills/confluence-prd-intake/SKILL.md +11 -1
  20. package/plugins/lisa/skills/confluence-write-prd/SKILL.md +103 -0
  21. package/plugins/lisa/skills/confluence-write-prd/agents/openai.yaml +4 -0
  22. package/plugins/lisa/skills/github-build-intake/SKILL.md +13 -0
  23. package/plugins/lisa/skills/github-prd-intake/SKILL.md +15 -1
  24. package/plugins/lisa/skills/github-write-issue/SKILL.md +13 -4
  25. package/plugins/lisa/skills/github-write-prd/SKILL.md +100 -0
  26. package/plugins/lisa/skills/github-write-prd/agents/openai.yaml +4 -0
  27. package/plugins/lisa/skills/implement/SKILL.md +13 -6
  28. package/plugins/lisa/skills/intake/SKILL.md +3 -2
  29. package/plugins/lisa/skills/jira-build-intake/SKILL.md +13 -0
  30. package/plugins/lisa/skills/jira-write-ticket/SKILL.md +8 -0
  31. package/plugins/lisa/skills/linear-build-intake/SKILL.md +13 -0
  32. package/plugins/lisa/skills/linear-prd-intake/SKILL.md +11 -1
  33. package/plugins/lisa/skills/linear-write-issue/SKILL.md +10 -2
  34. package/plugins/lisa/skills/linear-write-prd/SKILL.md +90 -0
  35. package/plugins/lisa/skills/linear-write-prd/agents/openai.yaml +4 -0
  36. package/plugins/lisa/skills/notion-access/SKILL.md +2 -0
  37. package/plugins/lisa/skills/notion-prd-intake/SKILL.md +11 -1
  38. package/plugins/lisa/skills/notion-write-prd/SKILL.md +107 -0
  39. package/plugins/lisa/skills/notion-write-prd/agents/openai.yaml +4 -0
  40. package/plugins/lisa/skills/prd-source-write/SKILL.md +80 -0
  41. package/plugins/lisa/skills/prd-source-write/agents/openai.yaml +4 -0
  42. package/plugins/lisa/skills/project-ideation/SKILL.md +183 -80
  43. package/plugins/lisa/skills/repair-intake/SKILL.md +403 -0
  44. package/plugins/lisa/skills/repair-intake/agents/openai.yaml +4 -0
  45. package/plugins/lisa/skills/research/SKILL.md +19 -3
  46. package/plugins/lisa/skills/research/agents/openai.yaml +2 -2
  47. package/plugins/lisa/skills/setup-automations/SKILL.md +78 -0
  48. package/plugins/lisa/skills/setup-automations/agents/openai.yaml +4 -0
  49. package/plugins/lisa/skills/tear-down-automations/SKILL.md +34 -0
  50. package/plugins/lisa/skills/tear-down-automations/agents/openai.yaml +4 -0
  51. package/plugins/lisa/skills/tracker-build-intake/SKILL.md +4 -0
  52. package/plugins/lisa/skills/verify-prd/SKILL.md +41 -38
  53. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  57. package/plugins/lisa-expo/commands/exploratory-qa.md +3 -3
  58. package/plugins/lisa-expo/skills/exploratory-qa/SKILL.md +48 -18
  59. package/plugins/lisa-expo/skills/exploratory-qa/agents/openai.yaml +2 -2
  60. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  62. package/plugins/lisa-harper-fabric/commands/exploratory-qa.md +3 -3
  63. package/plugins/lisa-harper-fabric/skills/exploratory-qa/SKILL.md +48 -18
  64. package/plugins/lisa-harper-fabric/skills/exploratory-qa/agents/openai.yaml +2 -2
  65. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  67. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  69. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  71. package/plugins/lisa-rails/commands/exploratory-qa.md +3 -3
  72. package/plugins/lisa-rails/skills/exploratory-qa/SKILL.md +48 -18
  73. package/plugins/lisa-rails/skills/exploratory-qa/agents/openai.yaml +2 -2
  74. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  76. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  78. package/plugins/lisa-wiki/skills/lisa-wiki-ingest/SKILL.md +30 -1
  79. package/plugins/src/base/agents/confluence-prd-intake.md +1 -1
  80. package/plugins/src/base/agents/github-prd-intake.md +1 -1
  81. package/plugins/src/base/agents/linear-prd-intake.md +1 -1
  82. package/plugins/src/base/agents/notion-prd-intake.md +1 -1
  83. package/plugins/src/base/commands/intake.md +1 -1
  84. package/plugins/src/base/commands/project-ideation.md +3 -3
  85. package/plugins/src/base/commands/repair-intake.md +6 -0
  86. package/plugins/src/base/commands/research.md +3 -3
  87. package/plugins/src/base/commands/setup-automations.md +6 -0
  88. package/plugins/src/base/commands/tear-down-automations.md +6 -0
  89. package/plugins/src/base/commands/verify-prd.md +2 -2
  90. package/plugins/src/base/rules/config-resolution.md +60 -0
  91. package/plugins/src/base/rules/intent-routing.md +4 -3
  92. package/plugins/src/base/rules/prd-lifecycle-rollup.md +10 -2
  93. package/plugins/src/base/rules/repo-scope-split.md +18 -1
  94. package/plugins/src/base/skills/confluence-prd-intake/SKILL.md +11 -1
  95. package/plugins/src/base/skills/confluence-write-prd/SKILL.md +103 -0
  96. package/plugins/src/base/skills/github-build-intake/SKILL.md +13 -0
  97. package/plugins/src/base/skills/github-prd-intake/SKILL.md +15 -1
  98. package/plugins/src/base/skills/github-write-issue/SKILL.md +13 -4
  99. package/plugins/src/base/skills/github-write-prd/SKILL.md +100 -0
  100. package/plugins/src/base/skills/implement/SKILL.md +13 -6
  101. package/plugins/src/base/skills/intake/SKILL.md +3 -2
  102. package/plugins/src/base/skills/jira-build-intake/SKILL.md +13 -0
  103. package/plugins/src/base/skills/jira-write-ticket/SKILL.md +8 -0
  104. package/plugins/src/base/skills/linear-build-intake/SKILL.md +13 -0
  105. package/plugins/src/base/skills/linear-prd-intake/SKILL.md +11 -1
  106. package/plugins/src/base/skills/linear-write-issue/SKILL.md +10 -2
  107. package/plugins/src/base/skills/linear-write-prd/SKILL.md +90 -0
  108. package/plugins/src/base/skills/notion-access/SKILL.md +2 -0
  109. package/plugins/src/base/skills/notion-prd-intake/SKILL.md +11 -1
  110. package/plugins/src/base/skills/notion-write-prd/SKILL.md +107 -0
  111. package/plugins/src/base/skills/prd-source-write/SKILL.md +80 -0
  112. package/plugins/src/base/skills/project-ideation/SKILL.md +183 -80
  113. package/plugins/src/base/skills/repair-intake/SKILL.md +403 -0
  114. package/plugins/src/base/skills/research/SKILL.md +19 -3
  115. package/plugins/src/base/skills/setup-automations/SKILL.md +78 -0
  116. package/plugins/src/base/skills/tear-down-automations/SKILL.md +34 -0
  117. package/plugins/src/base/skills/tracker-build-intake/SKILL.md +4 -0
  118. package/plugins/src/base/skills/verify-prd/SKILL.md +41 -38
  119. package/plugins/src/expo/commands/exploratory-qa.md +3 -3
  120. package/plugins/src/expo/skills/exploratory-qa/SKILL.md +48 -18
  121. package/plugins/src/harper-fabric/commands/exploratory-qa.md +3 -3
  122. package/plugins/src/harper-fabric/skills/exploratory-qa/SKILL.md +48 -18
  123. package/plugins/src/rails/commands/exploratory-qa.md +3 -3
  124. package/plugins/src/rails/skills/exploratory-qa/SKILL.md +48 -18
  125. package/plugins/src/wiki/skills/lisa-wiki-ingest/SKILL.md +30 -1
@@ -12,6 +12,7 @@ Single chokepoint for all Notion operations. Routes each op to a substrate, enfo
12
12
 
13
13
  ```text
14
14
  operation: read-page id: <uuid>
15
+ operation: create-page parent_database_id: <uuid> properties: {...} [children: [...]] # create a new page (e.g. a PRD row) in a database; children is optional — omit to create a page without initial block content
15
16
  operation: write-page payload: {...} # update page properties
16
17
  operation: archive-page id: <uuid>
17
18
  operation: query-database id: <uuid> filter: {...} sort: {...}
@@ -164,6 +165,7 @@ Substrate columns: try the column matching `$substrate` first. If that column is
164
165
  |---|---|---|
165
166
  | **Pages** | | |
166
167
  | `read-page id:<I>` | `mcp__claude_ai_Notion__notion-fetch` | `GET /v1/pages/<I>` |
168
+ | `create-page parent_database_id:<D> properties:<P> [children:<arr>]` | `mcp__claude_ai_Notion__notion-create-pages` | `POST /v1/pages` body `{ "parent": { "database_id": "<D>" }, "properties": <P>, "children": <arr?> }` (children optional per Notion API) |
167
169
  | `write-page payload:<P>` | `mcp__claude_ai_Notion__notion-update-page` | `PATCH /v1/pages/<I>` body `{ "properties": {...}, "archived": true/false }` |
168
170
  | `archive-page id:<I>` | `mcp__claude_ai_Notion__notion-update-page` (with `archived: true`) | `PATCH /v1/pages/<I>` body `{ "archived": true }` |
169
171
  | `append-blocks page_id:<P> children:<arr>` | (no direct equivalent) | `PATCH /v1/blocks/<P>/children` body `{ "children": <arr> }` |
@@ -82,7 +82,7 @@ draft → ready → in_review → blocked | ticketed → shipped → verified
82
82
 
83
83
  (Default status values: `Draft` / `Ready` / `In Review` / `Blocked` / `Ticketed` / `Shipped` / `Verified`.)
84
84
 
85
- `verified` is the terminal status after `shipped`: it means the shipped product has been empirically checked against the PRD (set by `/lisa:verify-prd`, not by this intake skill). A failed post-ship verification reuses `blocked` rather than introducing a separate `verifying` / `verification-failed` status. Like `draft` and `shipped`, `verified` is **product-owned** — this intake skill never sets, clears, or otherwise touches it. See the "PRD-level verification vs ticket verification" section of the `prd-lifecycle-rollup` rule.
85
+ `verified` is the terminal status after `shipped`: it means the shipped product has been empirically checked against the PRD (set by `/lisa:verify-prd`, not by this intake skill). A failed post-ship verification does **not** use `blocked`; `/lisa:verify-prd` re-opens the PRD `shipped → ticketed` and creates build-ready fix tickets that auto-build and trigger a re-verify (the self-healing loop), introducing no `verifying` / `verification-failed` status. Like `draft` and `shipped`, `verified` is **product-owned** — this intake skill never sets, clears, or otherwise touches it. See the "PRD-level verification vs ticket verification" section of the `prd-lifecycle-rollup` rule.
86
86
 
87
87
  This skill transitions `ready → in_review`, then `in_review → blocked` or `in_review → ticketed`, then (via the rollup phase 3f) `ticketed → shipped`. It never touches `draft` or `verified` — those statuses are owned by product (`verified` is set by `/lisa:verify-prd` after empirical PRD-level acceptance). The `shipped` status is set by this skill's **rollup phase (3f)** when, and only when, the PRD's generated top-level work is all terminal — per the `prd-lifecycle-rollup` rule; product may also set it by hand. Rollup never advances a PRD to `shipped` on partial completion, and never archives a PRD page unless `notion.rollup.closeOnShipped` is configured `true` (default `false` → set `$SHIPPED`, leave the page active).
88
88
 
@@ -298,6 +298,16 @@ The set of **required** children for the all-terminal check is the top-level chi
298
298
 
299
299
  This phase implements exactly one PRD-lifecycle hop — `$TICKETED → $SHIPPED` — and the optional config-gated archive that follows it. All terminal-state semantics, the generated-top-level-work boundary, and the dedupe-by-child-ref idempotency come from the `prd-lifecycle-rollup` rule; this skill is its Notion implementation, not a second source of truth.
300
300
 
301
+ #### 3g. PRD verification dispatch (close the loop on shipped PRDs)
302
+
303
+ `shipped` and `verified` are distinct facts about a PRD (see the `prd-lifecycle-rollup` rule's "PRD-level verification vs ticket verification" and "Closing the loop" sections). Rollup (3f) only reaches `$SHIPPED`; the `shipped → verified` (pass) / `shipped → ticketed` (fail) hops are owned by `/lisa:verify-prd`. This phase **closes that loop** by dispatching the initiative-level acceptance gate for shipped PRDs. It never performs the verification transition itself — the "never sets the verification outcome" invariant holds: `lisa:verify-prd`, not this skill, sets `verified` (or, on failure, re-opens the PRD to `ticketed`).
304
+
305
+ Re-query the PRDs currently in the `$SHIPPED` status via `lisa:notion-access` `operation: query-database` filtered on `$STATUS_PROP = $SHIPPED`. Pick the **first** one and invoke `lisa:verify-prd <PRD-page-url>`. Process **one shipped PRD per cycle** — `lisa:verify-prd` is a heavy full flow (spec-conformance + empirical verification + fix-issue creation), so it is bounded exactly like the single-ready-PRD claim in Phase 3; the scheduler drains the rest.
306
+
307
+ **Per-cycle combined bound:** each scheduler cycle dispatches at most one ready PRD (the Phase 3 single-ready-PRD claim) **and** at most one shipped PRD for verification (this Phase 3g dispatch), for a maximum of two PRD operations per cycle. Ready intake runs first (Phase 3), then shipped verify (Phase 3g).
308
+
309
+ `lisa:verify-prd` owns the outcome: on a CONFORMS verdict with all empirical checks passing it transitions `$SHIPPED → verified` and posts evidence; on a conformance miss or a failing/unavailable check it **re-opens the PRD `$SHIPPED → ticketed`** (never `blocked`) and creates **build-ready** fix tickets registered as the PRD's generated work, then posts a failure report — the fix tickets auto-build, rollup (3f) re-ships the PRD once they are terminal, and a later cycle re-verifies (the self-healing loop). Either branch moves the PRD out of `$SHIPPED`, so it is not re-picked this cycle; a PRD whose generated work is not actually terminal is guard-stopped by `lisa:verify-prd` (left `$SHIPPED`) — that is verify-prd's gate, not this skill's. A PRD archived on ship (`notion.rollup.closeOnShipped = true`) is out of the open verification queue. This phase, like 3f, is **behaviorally identical across all four intake skills** (`github-prd-intake`, `linear-prd-intake`, `notion-prd-intake`, `confluence-prd-intake`) — only the `$SHIPPED` query surface differs; keep them aligned. Record the dispatched PRD + verify-prd's verdict in the summary.
310
+
301
311
  ### Phase 4 — Summary report
302
312
 
303
313
  After processing the single selected PRD, emit a summary:
@@ -0,0 +1,107 @@
1
+ ---
2
+ name: notion-write-prd
3
+ description: "Creates or idempotently updates a PRD as a page in the configured Notion PRD database, setting the lifecycle Status property to the draft value by default (or the ready value when initial_role is ready so lisa:notion-prd-intake auto-claims it). The Notion PRD-source writer behind lisa:prd-source-write. Dedupes by a stable marker embedded in the page (matched by marker, never by title). All Notion access goes through lisa:notion-access — never call the Notion API or MCP directly."
4
+ allowed-tools: ["Skill", "Bash"]
5
+ ---
6
+
7
+ # Write Notion PRD: $ARGUMENTS
8
+
9
+ Create (or update) a PRD page in the configured Notion PRD database. Invoked by
10
+ `lisa:prd-source-write` when `source = notion`; do not call directly from a vendor-neutral caller.
11
+ **All Notion operations go through `lisa:notion-access`** (the access chokepoint) — never curl the
12
+ Notion API or call a `mcp__*notion*` tool yourself.
13
+
14
+ `$ARGUMENTS` carries the `lisa:prd-source-write` spec: `title`, `body` (full PRD markdown),
15
+ `initial_role` (`draft` | `ready`, default `draft`), `dedupe_key`, `marker`, optional `source_ref`.
16
+
17
+ ## Phase 1 — Resolve database + Status vocabulary
18
+
19
+ ```bash
20
+ read_g() { local lv gv; lv=$(jq -r "$1 // empty" .lisa.config.local.json 2>/dev/null); gv=$(jq -r "$1 // empty" .lisa.config.json 2>/dev/null); echo "${lv:-${gv:-$2}}"; }
21
+ PRD_DB=$(read_g '.notion.prdDatabaseId' '')
22
+ [ -z "$PRD_DB" ] && { echo "Error: notion.prdDatabaseId not set in .lisa.config.json."; exit 1; }
23
+ STATUS_PROP=$(read_g '.notion.statusProperty' 'Status')
24
+ # Resolve the FULL PRD Status vocabulary from config (never hard-code) so the past-ready check is
25
+ # correct even when a project renamed any Status value.
26
+ DRAFT=$(read_g '.notion.values.draft' 'Draft')
27
+ READY=$(read_g '.notion.values.ready' 'Ready')
28
+ IN_REVIEW=$(read_g '.notion.values.in_review' 'In Review')
29
+ BLOCKED=$(read_g '.notion.values.blocked' 'Blocked')
30
+ TICKETED=$(read_g '.notion.values.ticketed' 'Ticketed')
31
+ SHIPPED=$(read_g '.notion.values.shipped' 'Shipped')
32
+ VERIFIED=$(read_g '.notion.values.verified' 'Verified')
33
+ # "Progressed past ready" set (never down-rank): the resolved in_review/blocked/ticketed/shipped/verified.
34
+ PROGRESSED=("$IN_REVIEW" "$BLOCKED" "$TICKETED" "$SHIPPED" "$VERIFIED")
35
+ ```
36
+
37
+ Resolve the target Status value from `initial_role`: `ready` → `$READY`, otherwise `$DRAFT`.
38
+
39
+ ## Phase 2 — Dedupe by marker (search before create)
40
+
41
+ The `marker` is embedded in the page (as the first body block). Find an existing PRD page in the DB
42
+ carrying it — match the marker, **never** the title:
43
+
44
+ 1. `lisa:notion-access` `operation: search query: "<marker>"` (Notion indexes page content).
45
+ 2. Filter results to pages whose parent is `$PRD_DB`. If `source_ref` was passed, target that page
46
+ directly and skip the search.
47
+ 3. If a matching page is found, this is an **update** — reuse it. If none is found, **create**.
48
+ Note: Notion search is eventually consistent; if a just-created page isn't found yet, the marker
49
+ still lives in the page so a later run will dedupe — surface "dedupe degraded (search lag)" rather
50
+ than silently creating a duplicate when uncertain.
51
+
52
+ ## Phase 3 — Create or update
53
+
54
+ **Markdown → Notion blocks (conversion boundary).** Convert the PRD markdown to Notion block objects:
55
+ `#`/`##`/`###` → `heading_1/2/3`, paragraphs → `paragraph`, `-`/`*` → `bulleted_list_item`, `1.` →
56
+ `numbered_list_item`, fenced code → `code`. The Notion API caps a single request at **100 blocks**
57
+ and ~2000 characters of rich text per block: split long paragraphs across blocks, and if the PRD
58
+ exceeds 100 blocks, create the page with the first ≤100 blocks then add the remainder with batched
59
+ `operation: append-blocks` calls (≤100 each). When the MCP substrate is active, `create-page` may
60
+ accept the markdown content directly (it performs this conversion) — prefer that; the explicit block
61
+ conversion is the curl-substrate path.
62
+
63
+ **Marker normalization (both paths).** The page must always carry **exactly one** marker. On CREATE
64
+ the marker is the first body block; on UPDATE never remove it. Never write a markerless page.
65
+
66
+ **CREATE:**
67
+
68
+ 1. Build the page body as Notion blocks per the conversion above: the **first block is the marker**
69
+ (a paragraph/callout containing `<!-- $MARKER -->`), then the converted PRD blocks.
70
+ 2. Invoke `lisa:notion-access` `operation: create-page` with:
71
+ ```json
72
+ { "parent_database_id": "<PRD_DB>",
73
+ "properties": { "<title-prop>": { "title": [{ "text": { "content": "<TITLE>" } }] },
74
+ "<STATUS_PROP>": { "status": { "name": "<ROLE_VALUE>" } } },
75
+ "children": [ <marker block>, <PRD body blocks> ] }
76
+ ```
77
+ Use the DB's actual title property name (read it via `operation: read-database id: <PRD_DB>` if
78
+ unknown) and the correct property type for `$STATUS_PROP` (`status` vs `select`).
79
+ 3. Capture the returned page id + URL.
80
+
81
+ **UPDATE** (existing page or `source_ref`):
82
+
83
+ 1. Set the Status to the resolved role via `lisa:notion-access` `operation: write-page payload: { "id": "<page-id>", "properties": { "<STATUS_PROP>": { "status": { "name": "<ROLE_VALUE>" } } } }` — **unless** the page's current Status is in the resolved `${PROGRESSED[@]}` set (already past `ready`), in which case leave the Status and report `reused (already past ready)`.
84
+ 2. Refresh the canonical spec, not append-only notes: keep the existing marker block, then make the
85
+ managed PRD body current — archive the previously generated body blocks below the marker
86
+ (`operation: archive-page` is page-level, so for blocks delete via the blocks API through
87
+ `notion-access` or, where block deletion isn't available, replace their text in place) and
88
+ `operation: append-blocks` the regenerated blocks. Do not duplicate the whole spec as a dated
89
+ note, and never drop the marker.
90
+
91
+ ## Phase 4 — Return
92
+
93
+ ```yaml
94
+ ref: "<notion-page-id>"
95
+ url: "<page url>"
96
+ role: draft | ready # (or the page's current Status role when reused past ready)
97
+ marker: "<MARKER>"
98
+ outcome: created | reused
99
+ ```
100
+
101
+ ## Rules
102
+
103
+ - All access via `lisa:notion-access`; never touch the Notion API/MCP directly.
104
+ - Match dedupe by marker, never by title.
105
+ - Never down-rank a PRD whose Status is already past `ready`.
106
+ - Resolve the Status vocabulary from config (`notion.statusProperty`, `notion.values.*`) — never
107
+ hardcode value names.
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: prd-source-write
3
+ description: "Vendor-neutral wrapper for creating (or idempotently updating) a PRD in the configured PRD source. The PRD-side sibling of lisa:tracker-write. Resolves `source` from .lisa.config.local.json first (then .lisa.config.json — local overrides global) and dispatches to lisa:notion-write-prd, lisa:confluence-write-prd, lisa:github-write-prd, or lisa:linear-write-prd. Callers (notably lisa:research) MUST invoke this skill instead of a vendor PRD writer directly — that is what makes the PRD source switchable per project. Accepts an `initial_role` of `draft` (default) or `ready` so a freshly created PRD either waits for human promotion or is immediately picked up by lisa:intake; and a stable dedupe marker so re-runs reference the existing PRD instead of creating a duplicate. The PRD lives in the source — there is no separate document artifact."
4
+ allowed-tools: ["Skill", "Bash", "Read"]
5
+ ---
6
+
7
+ # PRD Source Write: $ARGUMENTS
8
+
9
+ Thin dispatcher. Resolves the configured PRD `source` and delegates to the matching vendor PRD
10
+ writer, which owns the concrete create/update, the lifecycle-role application, and the marker-based
11
+ dedupe. This skill only routes — it never talks to a source API itself.
12
+
13
+ See the `config-resolution` rule for the full configuration schema and the PRD lifecycle roles.
14
+
15
+ ## Input contract
16
+
17
+ Callers pass a single structured spec:
18
+
19
+ ```yaml
20
+ operation: create_or_update # the only operation; create unless the marker already exists
21
+ title: "<PRD title>"
22
+ body: "<full PRD markdown — the entire spec>"
23
+ initial_role: draft | ready # default: draft. ready = picked up by lisa:intake's PRD scan
24
+ dedupe_key: "<stable-key>" # e.g. project-ideation's idea key
25
+ marker: "[lisa-project-ideation] idea=<stable-key>" # embedded in the PRD body for dedupe
26
+ origin: { tool: project-ideation | research | manual }
27
+ source_ref: "<optional existing PRD ref to force an update>"
28
+ ```
29
+
30
+ `initial_role` semantics are uniform across vendors (the role STRINGS resolve per vendor from
31
+ `config-resolution`):
32
+
33
+ - **`draft`** (default) → the PRD is created in the source's `draft` PRD role. It waits for a human
34
+ (or a later `ready` promotion) before any intake claims it.
35
+ - **`ready`** → the PRD is created in the source's `ready` PRD role (`prd-ready`), so the PRD-side of
36
+ `lisa:intake` / the `*-prd-intake` scanner auto-claims it on the next cycle.
37
+
38
+ There is no "omitted = legacy behavior" mode (unlike the ticket-side `build_ready`): there was no
39
+ prior PRD-source-write behavior to preserve, so omitted means `draft`.
40
+
41
+ ## Workflow
42
+
43
+ 1. **Resolve the source.** Read `.lisa.config.local.json` first (if present), then
44
+ `.lisa.config.json`. Local overrides global per key. Use `jq` — never hand-parse JSON.
45
+
46
+ ```bash
47
+ local_source=$(jq -r '.source // empty' .lisa.config.local.json 2>/dev/null)
48
+ global_source=$(jq -r '.source // empty' .lisa.config.json 2>/dev/null)
49
+ source="${local_source:-${global_source}}"
50
+ if [ -z "$source" ]; then
51
+ echo "Error: 'source' is not set in .lisa.config.json. A PRD source (notion / confluence / github / linear) is required to create a PRD. Run /lisa:setup:notion (or :confluence, :github, :linear)." >&2
52
+ exit 1
53
+ fi
54
+ ```
55
+
56
+ 2. **Validate the value and dispatch** (pass the spec verbatim):
57
+
58
+ - `notion` → confirm `notion.workspaceId` and `notion.prdDatabaseId` are present, then invoke
59
+ `lisa:notion-write-prd`.
60
+ - `confluence` → confirm `atlassian.cloudId` and (`confluence.spaceKey` or
61
+ `confluence.parents.draft`/`.ready`) are present, then invoke `lisa:confluence-write-prd`.
62
+ - `github` → confirm `github.org` and `github.repo` are present, then invoke
63
+ `lisa:github-write-prd`.
64
+ - `linear` → confirm `linear.workspace` (and team for project placement) is present, then invoke
65
+ `lisa:linear-write-prd`.
66
+ - `jira` → **stop and fail loudly**: `"source=jira is not a supported PRD source — config-resolution defines no JIRA PRD lifecycle roles. Use notion / confluence / github / linear, or set source accordingly."` (JIRA is a destination tracker, not a PRD source.)
67
+ - Any other value (including `file`) → stop and report: `"Unknown PRD source '<value>'. Expected one of: notion, confluence, github, linear."`
68
+
69
+ 3. **Surface the vendor writer's output unchanged.** It returns the created/reused PRD ref + URL,
70
+ the applied role (`draft`/`ready`), the dedupe marker, and whether it was created or reused.
71
+ Downstream callers (research, project-ideation) parse this — do not paraphrase.
72
+
73
+ ## Rules
74
+
75
+ - Never bypass dispatch — a vendor-neutral caller calling a `*-write-prd` skill directly defeats the
76
+ per-project source switch (exactly the `tracker-write` discipline, mirrored).
77
+ - Never accept a source outside `{notion, confluence, github, linear}`. `jira` and `file` fail loudly.
78
+ - Never mutate the spec between layers. The vendor writers define their own create/dedupe contract.
79
+ - Never invent a PRD lifecycle role string — resolve every role from `config-resolution` per vendor.
80
+ - Idempotency is the vendor writer's job (marker search before create); this shim only routes.
@@ -1,131 +1,234 @@
1
1
  ---
2
2
  name: project-ideation
3
- description: "Generate practical, verifiable product or workflow ideas for the current host project. Inspects the host project (code, docs, scripts, data sources, current surfaces), optionally compares against external public products, and returns a prioritized idea report. Every build-ready idea must pass a practicality gate (an obtainable data/source path the project can plausibly implement) and an empirical verification gate (a user-observable outcome the agent can verify itself). Ideas that fail either gate are demoted to Discovery Spikes or Rejected / Not Practical Yet. Invoke for prompts like 'generate feature ideas for this project', 'looking at <external product>, what should we add here?', 'suggest practical improvements we can verify ourselves', or 'what should this app do next given the data we can get?'. Vendor- and stack-agnostic: works for web apps, APIs, CLIs, wiki systems, data pipelines, and internal tools. Does not create tickets or mutate the project — it produces a decision-ready report the user can later hand to a Research, Plan, or Implement flow."
3
+ description: "Generate practical, verifiable product ideas for the current host project FROM EVIDENCE-DERIVED PERSONAS, then turn the selected build-ready ideas into real PRDs via lisa:research. First derives the personas the project actually serves by mining its docs, code, data model, and releases (never invented each persona cites its evidence), then ideates per persona. Every build-ready idea must pass a practicality gate (an obtainable data/source path) and an empirical verification gate (a user-observable outcome the agent can verify). Selected ideas are handed to lisa:research, which creates each PRD in the configured source (Notion / Confluence / GitHub / Linear) in the draft state by default, or prd-ready (auto-picked-up by lisa:intake) when prd_ready=true. Defaults to creating one PRD (the top-ranked idea); max_prds widens the batch. Invoke for 'generate feature ideas for this project', 'what should we build next for <persona>?', 'looking at <external product>, what should we add here?'. Vendor- and stack-agnostic."
4
4
  allowed-tools: ["Skill", "Bash", "Read", "Glob", "Grep", "WebFetch", "WebSearch"]
5
5
  ---
6
6
 
7
7
  # Project Ideation
8
8
 
9
- Produce a decision-ready idea report for the host project described in `$ARGUMENTS` (or the current working directory if no target is given). The report separates ideas that are **build-ready now** from ideas that need a **discovery spike** and ideas that are **rejected / not practical yet**.
9
+ Generate persona-grounded, verifiable ideas for the host project in `$ARGUMENTS` (or the current
10
+ working directory), then create PRDs for the selected build-ready ideas via `lisa:research`.
10
11
 
11
- The value of this skill is **filtering**, not brainstorming volume. An attractive idea you cannot ground in obtainable data and cannot verify yourself is not a recommendation — it is noise. Demote it honestly.
12
+ The value of this skill is **grounding + filtering**, not brainstorm volume. Ideas come from
13
+ personas the project demonstrably serves, and an idea you cannot ground in obtainable data and
14
+ cannot verify yourself is noise — demote it honestly.
12
15
 
13
- ## When to use
16
+ ## Parameters
17
+
18
+ - **`target`** (first positional, optional) — a target project path, or an external product/site to
19
+ draw inspiration from. Defaults to the current working directory.
20
+ - **`prd_ready=true|false`** (default **false**) — the PRD-lifecycle state for the PRDs this run
21
+ creates. `false` → created in the source's **draft** state for human review. `true` → created
22
+ **prd-ready** so the PRD side of `lisa:intake` auto-claims them. Passed straight through to
23
+ `lisa:research` (which maps it to `lisa:prd-source-write`'s `initial_role`).
24
+ - **`max_prds=<n>|all`** (default **1**) — how many build-ready ideas become PRDs this run. Default
25
+ creates **one** PRD (the single top-ranked idea), because `lisa:research` is a heavy full flow.
26
+ `max_prds=3` creates the top three; `max_prds=all` creates one per build-ready idea. Discovery
27
+ Spikes and Rejected ideas are never turned into PRDs regardless of `max_prds`.
14
28
 
15
- Trigger this skill on prompts such as:
29
+ ## When to use
16
30
 
17
- - "generate feature ideas for this project"
31
+ - "generate feature ideas for this project" / "what should this app do next?"
32
+ - "what should we build next for <persona / user type>?"
18
33
  - "looking at <external product / website>, what should we add here?"
19
34
  - "suggest practical improvements we can verify ourselves"
20
- - "what should this app do next given the data we can get?"
21
- - "what high-value features could we add to <repo>?"
22
35
 
23
- Do **not** use this skill to create tickets, write a PRD, or change code. It stops at a report. The user can then ask Lisa to turn one or more ideas into a PRD (`/lisa:research`), a plan (`/lisa:plan`), or an implementation (`/lisa:implement`).
36
+ This skill **does** create PRDs (via `lisa:research`) for the selected ideas. It does **not** create
37
+ tracker tickets (that is `lisa:plan`) and does **not** change code (that is `lisa:implement`).
24
38
 
25
39
  ## Two gates every build-ready idea must pass
26
40
 
27
- An idea may only appear under **Practical Ideas** if it passes BOTH gates. Otherwise demote it.
41
+ An idea may only become a **Practical Idea** (and thus a PRD candidate) if it passes BOTH gates.
42
+ Otherwise demote it.
28
43
 
29
- 1. **Practicality gate.** The project can plausibly implement the idea from sources that are actually available: existing code, an existing data model, a route/command/UI surface, a public or already-integrated API, a scrapeable public page, an existing user input, a local database, or documented integrations. You must be able to name the specific source and how the data is obtained. "We could probably get the data somehow" fails the gate.
30
- 2. **Empirical verification gate.** You can personally confirm the resulting behavior by using the software or workflow — running the CLI, hitting the API, loading the page, querying the database, or inspecting a generated artifact — and capture a concrete evidence artifact. Saying "tests could be written later" does **not** satisfy this gate. Quality gates (tests, lint, typecheck, build) are prerequisites, never proof that an idea works.
44
+ 1. **Practicality gate.** The project can plausibly implement the idea from sources that actually
45
+ exist: existing code, a data model, a route/command/UI surface, a public or integrated API, a
46
+ scrapeable public page, an existing user input, a local database, or documented integrations. Name
47
+ the specific source and how the data is obtained. "We could probably get the data somehow" fails.
48
+ 2. **Empirical verification gate.** You can personally confirm the resulting behavior by using the
49
+ software (running the CLI, hitting the API, loading the page, querying the DB, inspecting an
50
+ artifact) and capture a concrete evidence artifact. "Tests could be written later" does NOT
51
+ satisfy this gate — quality gates are prerequisites, never proof an idea works.
31
52
 
32
- If an idea fails the practicality gate → it goes under **Rejected / Not Practical Yet** (or **Discovery Spikes** if a bounded probe could make it practical), with the missing data/source/access named explicitly.
33
-
34
- If an idea fails only the empirical verification gate → it goes under **Discovery Spikes** (define the missing proof) or stays as a strategic note, never as a build-ready recommendation.
53
+ Failing the practicality gate → **Rejected / Not Practical Yet** (or **Discovery Spike** if a bounded
54
+ probe could make it practical), naming the missing data/source/access. Failing only the verification
55
+ gate → **Discovery Spike** (define the missing proof), never a build-ready recommendation.
35
56
 
36
57
  ## Step 1 — Establish host-project context (always first)
37
58
 
38
59
  Never propose ideas before you understand what exists. Inspect the host project and record:
39
60
 
40
- - **Project type and package manager** — read the manifests (`package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `Gemfile`, etc.) and any `.lisa.config.json`.
41
- - **Docs and specs** — `README`, `docs/`, `wiki/`, architecture notes, ADRs.
42
- - **Current product surfaces or commands** — routes, screens, CLI subcommands, API endpoints, scheduled jobs, generated artifacts.
43
- - **Data model and existing user inputs** — schemas, migrations, forms, config the user already supplies.
44
- - **Available data sources and ingestion/scraping paths** — integrated APIs, public datasets, scrapeable public pages, local databases, event streams.
45
- - **Existing verification tooling and empirical paths** — how a human currently observes that the software works (a local dev server, a CLI you can run, a seedable DB, a dry-run mode).
61
+ - **Project type and package manager** — manifests (`package.json`, `pyproject.toml`, `go.mod`,
62
+ `Cargo.toml`, `Gemfile`, …) and any `.lisa.config.json`.
63
+ - **Docs and specs** — `README`, `docs/`, `wiki/`, architecture notes, ADRs, marketing/landing copy.
64
+ - **Current product surfaces or commands** — routes, screens, CLI subcommands, API endpoints,
65
+ scheduled jobs, generated artifacts.
66
+ - **Data model and existing user inputs** — schemas, migrations, forms, config the user supplies.
67
+ - **Available data sources and ingestion/scraping paths** — integrated APIs, public datasets,
68
+ scrapeable pages, local databases, event streams.
69
+ - **Existing verification tooling** — how a human currently observes the software works.
70
+
71
+ Use Lisa's existing methodology rather than inventing a parallel flow. Route each evidence source
72
+ through the matching established practice before any idea is promoted to **Practical Ideas**:
73
+
74
+ - **Host-code inspection** uses `/lisa:codebase-research` concepts: trace data flow from entry point
75
+ to output, identify modification points, map dependencies, and find reusable code or patterns.
76
+ - **Public, no-login comparison** uses web/browser research when those tools are available: inspect
77
+ the public surface, preserve source URLs, and separate observed behavior from inference.
78
+ - **UI-facing recommendations** use `/lisa:product-walkthrough` methodology first: inspect the
79
+ current product surface, note existing-component reuse candidates, capture coverage smells or
80
+ behavioral surprises, and only then list a UI idea as build-ready.
81
+
82
+ ## Step 2 — Derive the personas (evidence-gated, never invented)
83
+
84
+ Ideation is **persona-driven**, and the personas must be gleaned from the project itself — not
85
+ assumed. Mine the Step 1 evidence for who the project actually serves:
86
+
87
+ - **Docs / README / release notes / CHANGELOG** — stated audiences, "for <role>" framing, who each
88
+ shipped feature was for.
89
+ - **Code** — auth roles / RBAC / permission checks, account-type or user-type enums, route guards,
90
+ feature flags scoped to a cohort, role-specific UI branches.
91
+ - **Data model** — user / role / tenant / org tables, profile fields, subscription tiers.
92
+ - **Tests & product walkthrough** — the real user journeys exercised.
93
+ - **External inspiration** (Step 3, if used) — comparable products' user segments, as inspiration
94
+ only.
95
+
96
+ Anti-fabrication rule (mechanical): **no evidence citation → no persona.** Generic roles
97
+ ("admin", "analyst", "end user", "power user") are **banned unless the project has specific evidence
98
+ for them**. Each persona requires at least **two grounded signals** from different source classes
99
+ where available; if only one strong signal exists, emit a single **low-confidence "Primary
100
+ documented user"** persona named as such — never fabricate a full set from thin evidence.
101
+
102
+ Cap the set at **3–6 personas** (merge adjacent personas by goal/workflow; more than six is taxonomy
103
+ noise). Each persona records:
104
+
105
+ - `name` — concrete and project-specific.
106
+ - `goals` — what this persona is trying to accomplish.
107
+ - `pains` — current friction for this persona, grounded in observed behavior/gaps.
108
+ - `evidence` — the specific files / doc sections / tables / releases that justify the persona.
109
+ - `confidence` — high | medium | low, with the reason.
110
+
111
+ Always emit a **Personas Derived From Evidence** section, even when no PRDs are created. Spikes and
112
+ rejected ideas are still tagged with the persona they would serve (or `cross-persona`).
113
+
114
+ ## Step 3 — Optional external / public-source inspection
115
+
116
+ Only when the user references an external product, website, public dataset, or competitor:
117
+
118
+ - Inspect **public, no-login** surfaces only. Preserve every **source URL** so informed ideas cite
119
+ it. The external source is **inspiration, not a domain you bake in** — keep the workflow reusable.
120
+ - If the runtime has no browser/web capability, mark that source **unavailable** and proceed with
121
+ host-project-only ideas (document the fallback rather than fabricating findings).
122
+
123
+ ## Step 4 — Ideate per persona, then filter through the gates
124
+
125
+ For each derived persona, brainstorm ideas that serve that persona's goals/pains, **tag each idea
126
+ with the persona(s) it serves**, then run every idea through BOTH gates. For each surviving idea,
127
+ build a **feasibility card**:
128
+
129
+ - **Persona(s) served** — which derived persona(s), and why this matters to them.
130
+ - **Existing fit** — the current route / API / CLI / model / doc / surface it builds on (this is also
131
+ the idea's stable "existing-fit anchor" used in the dedupe key).
132
+ - **Data/source required** + **how it is obtained** — the concrete accessible path.
133
+ - **Known source limitations** — rate limits, robots/ToS, staleness, missing fields.
134
+ - **Smallest practical slice** — the minimal useful version.
135
+ - **Empirical verification steps** — what you (the agent) will do against the running software.
136
+ - **Evidence artifact** — the screenshot, curl/CLI output, DB row, or generated file the verifier
137
+ captures.
138
+ - **Confidence** — high | medium | low, with the reason.
46
139
 
47
- Use Lisa's existing methodology rather than inventing a parallel flow. Route each evidence source through the matching established practice before any idea is promoted to **Practical Ideas**:
140
+ ## Step 5 Rank and select the PRD creation set
48
141
 
49
- - **Host-code inspection** uses `/lisa:codebase-research` concepts: trace data flow from entry point to output, identify modification points, map dependencies, and find reusable code or patterns.
50
- - **Public, no-login comparison** uses web/browser research when those tools are available: inspect the public surface, preserve source URLs, and separate observed behavior from inference.
51
- - **UI-facing recommendations** use `/lisa:product-walkthrough` methodology first: inspect the current product surface, note existing-component reuse candidates, capture coverage smells or behavioral surprises, and only then list a UI idea as build-ready.
142
+ Rank Practical Ideas by **persona value, feasibility, verification clarity, and project fit**. Then
143
+ select the creation set by `max_prds` (default **1** the single top-ranked idea; `<n>` top n;
144
+ `all` every Practical Idea). Spikes and Rejected ideas are reported but never selected.
52
145
 
53
- ## Step 2Optional external / public-source inspection
146
+ ## Step 6Create a PRD per selected idea (via lisa:research)
54
147
 
55
- Only when the user references an external product, website, public dataset, competitor, or example:
148
+ For each idea in the creation set, invoke `/lisa:research` with:
56
149
 
57
- - Inspect **public, no-login** surfaces only. Do not assume sign-in, credentials, or paid access.
58
- - Preserve every **source URL** you used so each informed idea can cite it.
59
- - If the runtime has no browser or web capability, mark that research source as **unavailable** and proceed with host-project-only ideas (document the fallback rather than fabricating findings).
150
+ - the feasibility card and persona evidence as the problem statement (so the PRD inherits the
151
+ grounding and the empirical verification plan),
152
+ - `prd_ready` (this run's flag `lisa:research` maps it to draft vs prd-ready),
153
+ - a stable **dedupe marker** (see below) so a re-run references the existing PRD instead of creating
154
+ a duplicate.
60
155
 
61
- The external source is **inspiration, not a domain you bake in**. Keep the workflow reusable across any Lisa-managed repository.
156
+ `lisa:research` synthesizes the PRD and creates it in the configured source via
157
+ `lisa:prd-source-write`. `project-ideation` never writes to the source directly — it delegates, so
158
+ the PRD source stays switchable per project. Capture each returned PRD ref / URL / role / outcome.
62
159
 
63
- ## Step 3 — Generate ideas, then filter through the gates
160
+ ### Dedupe marker (stable, never title-based)
64
161
 
65
- Brainstorm broadly, then run every idea through both gates from the top of this skill. For each surviving idea, build a **feasibility card** containing at least:
162
+ Each created PRD carries the marker `[lisa-project-ideation] idea=<stable-key>`. Compute
163
+ `<stable-key>` deterministically from: repo identity (configured repo or git remote + repo-root
164
+ basename) + a normalized slug of the idea name + the normalized persona key(s) + the existing-fit
165
+ anchor. **Do not** include rank, date, confidence, or the generated PRD title (they change across
166
+ runs). `lisa:prd-source-write` searches the source for an open PRD carrying this marker before
167
+ creating — matching by marker, never by title — so re-running ideation updates/references the
168
+ existing PRD rather than duplicating it.
66
169
 
67
- - **User/persona value**why the host project's user would care.
68
- - **Existing fit** — the current route / API / CLI / model / doc / surface it builds on.
69
- - **Data/source required** — the specific data the idea consumes.
70
- - **How the data can be obtained or scraped** — the concrete accessible path (endpoint, query, public page, existing input).
71
- - **Known source limitations or terms constraints** — rate limits, robots/ToS, staleness, missing fields.
72
- - **Smallest practical implementation slice** — the minimal useful version.
73
- - **Empirical verification steps** — what you (the agent) will do against the running app / API / CLI / DB / artifact to confirm it works.
74
- - **Evidence artifact** — the screenshot, curl output, CLI output, DB row, or generated file the verifier captures.
75
- - **Confidence** — high | medium | low, with the reason.
170
+ ## Step 7Output (no report file)
76
171
 
77
- ## Step 4 Rank and assemble the report
172
+ Emit two distinct in-session sections (do not write a report file):
78
173
 
79
- Rank build-ready ideas by **user value, feasibility, verification clarity, and project fit**. Emit the report in this shape:
174
+ 1. **Idea report** (the audit trail):
175
+ ```markdown
176
+ ## Personas Derived From Evidence
177
+ - <name> — goals; pains; evidence (files/docs/tables/releases); confidence
80
178
 
81
- ```markdown
82
- ## What Already Exists
83
- - <current surfaces, data, commands, or workflows discovered — so duplicates are not re-proposed>
179
+ ## What Already Exists
180
+ - <current surfaces, data, commands, workflows — so duplicates aren't re-proposed>
84
181
 
85
- ## Practical Ideas
86
- ### 1. <Idea name>
87
- - User value: <why the host project's user would care>
88
- - Existing fit: <current route/API/CLI/model/doc/surface it builds on>
89
- - Data/source path: <specific accessible source or scrape/API path>
90
- - Practical slice: <smallest useful version>
91
- - Empirical verification: <steps the agent can perform against the running software>
92
- - Evidence: <screenshot, curl output, CLI output, DB row, generated file, etc.>
93
- - Confidence: high|medium|low with reason
182
+ ## Practical Ideas
183
+ ### 1. <Idea name> (persona: <persona(s)>)
184
+ - Persona value · Existing fit · Data/source path · Practical slice · Empirical verification ·
185
+ Evidence · Confidence
94
186
 
95
- ## Discovery Spikes
96
- - <ideas that need proof of data, access, or verification before they can be build-readyname the missing proof>
187
+ ## Discovery Spikes
188
+ - <ideas needing proof of data/access/verification name the missing prooftagged by persona>
97
189
 
98
- ## Rejected / Not Practical Yet
99
- - <attractive ideas rejected because data, access, legality, or verification is not available — name what is missing>
100
- ```
190
+ ## Rejected / Not Practical Yet
191
+ - <attractive ideas rejected for missing data/access/legality/verification — name what's missing>
192
+ ```
193
+ 2. **PRDs Created** (the creation summary): for each selected idea — the created/reused PRD ref +
194
+ URL, its lifecycle role (`draft` or `ready`), its dedupe marker, and `created | reused`. List the
195
+ Practical Ideas that were **not** created this run and why (e.g. "below the `max_prds=1` cut").
101
196
 
102
- Always include the **What Already Exists** section so the user can tell genuinely new ideas from duplicates, and so the report records existing capabilities. Always include both the **Discovery Spikes** and **Rejected / Not Practical Yet** sections (even if empty) so the user can see what was deliberately filtered out and why.
197
+ Always include the **Personas**, **What Already Exists**, **Discovery Spikes**, and **Rejected**
198
+ sections (even if empty) so the user sees what was considered and filtered out.
103
199
 
104
200
  ## Out of scope (hard rules)
105
201
 
106
- - **No sign-in-only ideas** unless the host project already supports sign-in *and* credentials are available.
107
- - **No private-data assumptions** — do not premise an idea on data the project cannot legitimately obtain.
108
- - **No manual-data-only requirements** unless the user explicitly accepts manual curation.
109
- - **No paid-API or non-scrapeable-source ideas** in the build-ready list — demote them with the blocker named.
110
- - **Tests, lint, typecheck, and build are not the empirical verification plan.** They are prerequisites; the verification plan must observe user-facing behavior.
111
- - **Do not auto-create tracker tickets or mutate the host project.** Produce the report only; planning and implementation are separate, user-invoked flows.
112
- - **Do not add a new verification or browser-automation framework** when the host project already has one reuse it.
113
- - **Do not overfit to a source example.** Keep the workflow project-agnostic and reusable.
202
+ - **No fabricated personas.** No evidence citation no persona; generic roles banned without
203
+ evidence (Step 2).
204
+ - **No sign-in-only ideas** unless the host project already supports sign-in *and* credentials are
205
+ available. **No private-data assumptions.** **No manual-data-only** requirements unless the user
206
+ accepts manual curation. **No paid-API / non-scrapeable-source ideas** in the build-ready list
207
+ demote with the blocker named.
208
+ - **Tests, lint, typecheck, and build are not the empirical verification plan**they are
209
+ prerequisites; verification must observe user-facing behavior.
210
+ - **Do not create tracker tickets or mutate the host project's code.** PRD creation (via
211
+ `lisa:research`) is the only write this skill performs; ticket planning (`lisa:plan`) and
212
+ implementation (`lisa:implement`) are separate, user-invoked flows.
213
+ - **Do not write PRDs to the source directly** — always go through `lisa:research` →
214
+ `lisa:prd-source-write` so the source stays switchable.
215
+ - **Do not add a new verification/browser-automation framework** when one already exists — reuse it.
216
+ - **Do not overfit to a source example.** Keep the workflow project-agnostic.
114
217
 
115
218
  ## Handing off
116
219
 
117
- When the user wants to act on an idea, preserve its feasibility and verification card as the source artifact so downstream flows inherit the evidence:
220
+ The created PRDs flow straight into the lifecycle:
118
221
 
119
- - Turn an idea into a PRD `/lisa:research`
120
- - Turn a PRD into tickets → `/lisa:plan`
121
- - Build a ticket end-to-end → `/lisa:implement`
122
- - Lock in the verification so it never regresses → `/lisa:codify-verification`
222
+ - A `draft` PRD a human reviews it, then promotes it to `ready` (or re-run with `prd_ready=true`).
223
+ - A `prd-ready` PRD `/lisa:intake` (PRD side) auto-claims it → `/lisa:plan` decomposes it →
224
+ `/lisa:implement` builds each item → `/lisa:codify-verification` locks in the verification.
123
225
 
124
226
  ## Example outputs
125
227
 
126
- Use the markdown examples in `examples/` as shape references when composing reports:
228
+ Use the markdown examples in `examples/` as shape references for the idea report:
127
229
 
128
- - `host-project-only.md` shows ideas grounded only in the current repository.
129
- - `public-external-inspiration.md` shows how public, no-login external sources can inspire ideas without becoming hidden requirements.
130
- - `unavailable-data-rejection.md` shows how to name missing private, paid, or unavailable data sources when demoting ideas.
131
- - `evidence-card-format.md` shows the required evidence fields every Practical Idea card must carry.
230
+ - `host-project-only.md` ideas grounded only in the current repository.
231
+ - `public-external-inspiration.md` public, no-login external sources as inspiration, not hidden
232
+ requirements.
233
+ - `unavailable-data-rejection.md` naming missing private/paid/unavailable sources when demoting.
234
+ - `evidence-card-format.md` — the required evidence fields every Practical Idea card must carry.