plugins/src/base/skills/linear-prd-intake/SKILL.md
Scans a Linear workspace (or a specific team) for projects carrying the configured `ready` PRD label and runs the first eligible one through the dry-run validation pipeline. A project that passes every gate gets tickets written and the label flipped to the configured `ticketed` label; a project that fails gets clarifying-question comments (on a sentinel feedback issue under the project) and the label flipped to the configured `blocked` label. Linear counterpart of `lisa:notion-prd-intake` and `lisa:confluence-prd-intake` — the workflow is identical; only the source-of-truth tools differ. Composes existing skills (linear-to-tracker, tracker-validate, tracker-source-artifacts, product-walkthrough).
npx skillsauth add codyswanngt/lisa linear-prd-intakeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
$ARGUMENTS is one of:
ready label. Example: https://linear.app/acme.ready label. Example: https://linear.app/acme/team/ENG/projects or bare ENG.linear — equivalent to "the default Linear workspace"; only valid if linear.workspace is configured in .lisa.config.json.Run one intake cycle against that scope. The first eligible project with the ready label is claimed, validated, routed to either the blocked label (with clarifying comments on a sentinel feedback issue) or the ticketed label (with destination tickets created), then the cycle exits. Remaining ready projects stay queued for later scheduler invocations.
PRD label names are read from .lisa.config.json linear.labels.prd.*, falling back to defaults documented in the config-resolution rule. Bash pattern:
# Read role with default fallback. Local overrides global per-key.
read_role() {
local role="$1" default="$2"
local local_v global_v
local_v=$(jq -r ".linear.labels.prd.${role} // empty" .lisa.config.local.json 2>/dev/null)
global_v=$(jq -r ".linear.labels.prd.${role} // empty" .lisa.config.json 2>/dev/null)
echo "${local_v:-${global_v:-$default}}"
}
READY=$(read_role ready "prd-ready")
IN_REVIEW=$(read_role in_review "prd-in-review")
BLOCKED=$(read_role blocked "prd-blocked")
TICKETED=$(read_role ticketed "prd-ticketed")
SHIPPED=$(read_role shipped "prd-shipped")
SENTINEL=$(read_role sentinel "prd-intake-feedback")
In prose below, the role names refer to the resolved labels: e.g. "the ready label" means whatever linear.labels.prd.ready resolves to (default: prd-ready).
This skill is the Linear counterpart of lisa:notion-prd-intake and lisa:confluence-prd-intake, and shares its PRD shipped rollup phase (3f) with lisa:github-prd-intake. The phases, gates, comment templates, and rules are identical — the only differences are (1) the lifecycle is encoded as project labels instead of a status property, (2) the fetch / update tools are Linear MCP, and (3) clarifying-question comments land on a sentinel feedback Issue under the project (because Linear's MCP does not expose project-level comments). Keep all four intake skills behaviorally aligned: when changing intake logic — including the rollup phase — change them together.
The PRD shipped rollup phase (3f) transitions a $TICKETED PRD project to $SHIPPED once all its generated top-level work is terminal, per the prd-lifecycle-rollup rule. This is the Linear leg of the same vendor-neutral rollup that lisa:github-prd-intake implements for GitHub (LPC-1.3 #584); only the vendor surface (Linear workflow states + project labels) differs.
Do NOT ask the caller whether to proceed. Once invoked with a workspace/team scope, run the cycle to completion for the first eligible project — claim, validate, branch to $BLOCKED or $TICKETED, write the summary, and exit. The caller (a human or a cron) has already authorized the run by invoking the skill; re-prompting defeats the purpose of a background queue.
Specifically forbidden:
$BLOCKED. The blocked label is a valid terminal state of this lifecycle, not a failure mode — routing a PRD there with gate-failure comments is exactly how this skill communicates "the PRD needs more work before it can be ticketed." That outcome is success.The only legitimate reasons to stop early:
linear.workspace in .lisa.config.json, E2E_BASE_URL, etc.). Surface the missing key(s) and exit this cycle — never invent values.$READY / $IN_REVIEW / $BLOCKED / $TICKETED). Surface and exit."No Linear projects labelled $READY. Nothing to do."The Linear PRD lifecycle is encoded as project labels (we deliberately do NOT key off Linear's native project state, since project state is product's day-to-day signal and we don't want to fight it). Exactly one of these labels is expected on a project at any time:
draft → ready → in_review → blocked | ticketed → shipped → verified
(product) (us) (us) (product) (product)
(Defaults: prd-draft / prd-ready / prd-in-review / prd-blocked / prd-ticketed / prd-shipped / prd-verified.)
verified is the terminal state 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 state. 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.
This skill transitions:
$READY → $IN_REVIEW (claim)$IN_REVIEW → $BLOCKED (gate failures or coverage gaps)$IN_REVIEW → $TICKETED (success)$TICKETED → $BLOCKED (post-write coverage gaps from Phase 3e)$TICKETED → $SHIPPED (PRD shipped rollup, Phase 3f — only when all generated top-level children are terminal)It never touches the draft or verified labels — those labels are owned by product (verified is set by /lisa:verify-prd after empirical PRD-level acceptance). The shipped label is set by this skill's rollup phase (3f) when, and only when, the PRD project'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 project at shipped. /lisa:verify-prd archives or completes the project only after a verified PASS.
A "transition" means: remove the old lifecycle label and add the new one in a single save_project call (passing the full new label set in the labels array). The skill MUST verify that exactly one lifecycle label exists on the project after the update — having two simultaneously breaks idempotency.
If the project does not yet use these labels, this skill cannot run. Adopting the convention is a one-time setup the project owner does (see "Adoption" at the bottom of this file).
$ARGUMENTS:
https://linear.app/<workspace>) → extract workspace slug; the scope is the entire workspace./team/<KEY>/... → extract team key; the scope is that team.linear → fall back to linear.workspace from .lisa.config.json; error if not set.mcp__linear-server__list_teams and confirm at least one team is returned (non-empty workspaces are readable; empty results indicate auth or workspace-mismatch).mcp__linear-server__list_teams({query: <KEY>}) and confirm the team resolves.$READY, $IN_REVIEW, $BLOCKED, $TICKETED via mcp__linear-server__list_project_labels. Cache them — every transition uses these IDs. If any of the four are missing, surface a label-convention error and exit (see "Adoption").Call mcp__linear-server__list_projects({label: "$READY", ...scope-filter}):
label: "$READY" only.label: "$READY" AND team: "<KEY>".The query returns the list of candidate projects with IDs, names, and label sets. For each candidate, confirm that exactly one lifecycle label is present (the API filter is $READY, but a project could have ended up with two labels by hand — that's a misconfiguration, not a normal queue entry).
If the result set is empty, run a secondary query to distinguish between a genuinely empty queue and a workspace/team that has not yet adopted the label convention:
list_projects({...scope-filter}) with no label filter, then in-process check whether any returned project carries any of $READY / $IN_REVIEW / $BLOCKED / $TICKETED.If the secondary query shows zero projects carrying any PRD lifecycle label → the convention has not been adopted. Surface a misconfiguration message: "No Linear projects in this scope carry PRD lifecycle labels. If this is a new project, apply the $READY label to projects that are ready for ticketing (see Adoption section)." Exit with an error — this is a setup issue, not a normal idle cycle.
If the secondary query shows projects with other PRD lifecycle labels but none with $READY → the queue is genuinely empty (all PRDs are already in in_review, blocked, ticketed, or shipped). Exit cleanly with "No Linear projects labelled $READY. Nothing to do."
Select the first ready project returned by Phase 2 and process only that project. Later scheduler invocations process the remaining ready projects.
Transition labels via mcp__linear-server__save_project({id, labels}): pass the full new label set with $READY removed and $IN_REVIEW added. This is the idempotency lock — a re-entrant cycle running concurrently won't see this project because its query filters on label: "$READY".
If the update fails (permission error, race condition), log it and skip this project. Do not proceed to validation on a project you didn't successfully claim.
The save_project call must preserve all other project fields (description, state, priority, lead, dates, teams, initiatives) untouched — pass only id and the new labels array. This skill never edits PRD body content.
Invoke the lisa:linear-to-tracker skill with dry_run: true and the project's URL. The skill returns a structured report containing:
This call also indirectly invokes lisa:tracker-source-artifacts (artifact extraction + classification) and lisa:product-walkthrough (when the PRD touches existing user-facing surfaces). All gate logic lives in lisa:tracker-validate, which lisa:linear-to-tracker calls per ticket.
If PASS (every planned ticket passed every applicable gate):
lisa:linear-to-tracker with dry_run: false to actually write the tickets. This re-runs Phases 1-5 and runs the preservation gate (Phase 5.5).mcp__linear-server__save_comment listing the created tickets (epic, stories, sub-tasks) with their JIRA URLs. Lead with: "Ticketed by Claude. Created N JIRA issues — see below. Add the $SHIPPED label to the Linear project after the work is delivered."$IN_REVIEW, add $TICKETED via save_project.If FAIL (one or more planned tickets failed one or more gates):
The audience for these comments is the product team, not engineers. They are not familiar with JIRA gate IDs, validator vocabulary, or skill internals. Follow the rules below strictly — the goal is for a non-engineer product owner to read a comment, understand what is unclear, and know what to do next.
product_relevant = false. Those are internal data-quality problems — the agent should fix its own spec rather than ask product to clarify a missing core field. Record the dropped failures under Errors in the cycle summary so engineers can see them; never surface them on the PRD.prd_anchor (which, for Linear, is a sub-issue identifier when the failure traces to a specific issue, or null otherwise). Failures that share an anchor become one comment thread on that issue. Failures with prd_anchor: null are batched into one comment on the sentinel feedback issue, since they have no source sub-issue to attach to.Ensure the project has a sentinel feedback issue (see helper below). For each anchored group (prd_anchor is a sub-issue identifier), post a comment on THAT sub-issue via mcp__linear-server__save_comment({issueId: <prd_anchor>, body: <template>}). For the unanchored group, post a single comment on the sentinel feedback issue using the same template, prefixed with Issues without a specific sub-issue anchor: and one block per failure.
If save_comment fails for a specific anchored sub-issue (the issue was deleted between fetch and post, or the agent lacks comment permission), fall back to the sentinel feedback issue for that group. Do not silently drop the failure.
Each comment body MUST contain these four parts, in this order, no exceptions:
[<Category badge>] <prd_section heading text>
**What's unclear:** <validator's `what` field, verbatim — already product-readable>
**Recommendation:** <validator's `recommendation` field, verbatim — must contain 1–3 concrete options, never a generic "please clarify">
**Action:** Update this section in the PRD, then replace the `$BLOCKED` label with `$READY` on the Linear project and Claude will re-run intake.
If multiple failures share an anchor, render each as its own **What's unclear:** ... **Recommendation:** ... block within the same comment, separated by horizontal lines (---). Keep the single [Category badge] heading at the top using the most-severe / most-blocking category from the group.
Use these exact badge labels — they are the validator's category values translated for product readers:
| Validator category | Badge label |
|---------------------|-------------|
| product-clarity | [Product clarity] |
| acceptance-criteria | [Acceptance criteria] |
| design-ux | [Design / UX] |
| scope | [Scope] |
| dependency | [Dependency] |
| data | [Data] |
| technical | [Technical] |
structural failures must never reach this step (filtered in 3c.1). If you see one here, treat it as an Error and surface internally.
S4, F2, etc.). Never appear in a comment body.lisa:tracker-validate, linear-to-tracker).AC, OOS, repo, env var).recommendation is empty or vague, treat the failure as an Error and surface internally rather than posting a useless comment.After all comments are posted (anchored groups + the optional sentinel-issue summary), transition labels: remove $IN_REVIEW, add $BLOCKED via save_project. Do NOT write any destination tickets.
Stop immediately after the claimed PRD is ticketed, blocked, or recorded as an error.
Per-ticket gates prove each ticket is well-formed; they do NOT prove the set of created tickets covers the whole PRD. Silent drops happen — invoke the lisa:prd-ticket-coverage skill to catch them.
Invoke lisa:prd-ticket-coverage with <PRD URL> tickets=[<created ticket keys from 3c step 2>]. The coverage skill auto-detects the PRD vendor from the URL.
Read the verdict:
| Verdict | Action |
|---------|--------|
| COMPLETE | Done. Leave label as $TICKETED. End the cycle. |
| COMPLETE_WITH_SCOPE_CREEP | Post an advisory comment on the sentinel feedback issue naming the scope-creep tickets (so product can decide whether to close them as out-of-scope). Leave label as $TICKETED. |
| GAPS_FOUND | The created ticket set is incomplete. (a) For each gap, post a comment using the same product-facing template as Phase 3c.3 — anchored on the relevant sub-issue when prd_anchor is non-null, on the sentinel feedback issue otherwise; category badge from the gap's category field; What's unclear and Recommendation from the audit report's what and recommendation fields. Apply the same forbidden-language rules from Phase 3c.5. (b) Post one summary comment on the sentinel feedback issue listing the tickets that were successfully created (so product knows what to keep vs. what to extend). (c) Transition labels from $TICKETED back to $BLOCKED via save_project. |
| NO_TICKETS_FOUND | Should not happen if step 2 succeeded. If it does, log it as an Error in the cycle summary and leave label as $TICKETED with a comment flagging the audit failure for human review. |
The created tickets remain in the destination tracker regardless of the verdict — they are valid in their own right. The audit only tells us whether more are needed.
A PRD's lifecycle terminal state (shipped) is derived from whether the work it generated is done — it is never set by hand here on its own authority. This phase implements the Linear leg of that derivation, per the prd-lifecycle-rollup rule (cite it by slug; do not restate its taxonomy or terminal-state semantics here). It is behaviorally identical to lisa:github-prd-intake's Phase 3f — only the vendor surface (Linear workflow states + project labels via Linear MCP) differs from GitHub's (issue close + labels via gh).
Rollup runs over PRD projects that are already $TICKETED (the only state from which a PRD can ship): the freshly-ticketed project from Phase 3c, and — because rollup also catches PRDs whose children finished in a later cycle — every project currently carrying $TICKETED. Process each independently; one PRD never blocks another's rollup.
There is no close/archive configuration at the shipped hop. Rollup sets $SHIPPED and leaves the PRD project active so Phase 3g can dispatch /lisa:verify-prd. Provider-native archive/completion is owned by /lisa:verify-prd after it transitions $SHIPPED → verified on a PASS.
Rollup is keyed by the PRD's current state. If the PRD project already carries $SHIPPED, it is a no-op — do not re-transition, do not archive, do not re-comment. Record it as already shipped (no-op) in the cycle summary and move on. This is what makes re-running intake safe.
Read the PRD's generated top-level work — its created Epics and any top-level Stories created directly under it, excluding leaf Sub-tasks and any Story nested under a generated Epic (prd-lifecycle-rollup rule, generated-top-level-work contract). Use two sources, native first:
Native parent / project relationships (primary). Linear records the PRD→child relationship natively where the PRD also lives in Linear: a generated top-level Issue uses parentId, or a generated Project groups the generated Issues. Read the PRD project's generated top-level Issues via mcp__linear-server__list_issues({project: <id>}) and take the top-level ones (no parentId, or whose parent is the PRD itself) — those are the PRD's direct children. Fetch each with mcp__linear-server__get_issue for its workflow state.
Documented ## Tickets section (fallback). When the native relationship is unavailable (the destination tracker is a different system — e.g. Linear PRD → JIRA tracker — so the children were never linked as Linear issues), parse the machine-readable generated-work section lisa:prd-backlink writes to the PRD (## Tickets, alias ## Generated Work; see #582). Top-level children are the ### <Epic key>: <title> group headers' first line (- [<ref>](<url>) — Epic) plus any top-level Story listed directly under ### Unparented items. Lines nested deeper ( - ... — Story: under an Epic, - ... — Sub-task:) are descendants, NOT top-level children — skip them.
Dedupe the resulting child set by child-ref identity (the Linear issue/project identifier, e.g. TEAM-123 or its UUID) so a child that appears both as a native relationship and in the documented section is counted once (prd-lifecycle-rollup idempotency dedupe key). If neither source yields any child (the PRD generated nothing, or the relationship was never recorded), record no generated top-level children — rollup skipped and leave the PRD as $TICKETED; do not ship an empty PRD.
For each top-level child, fetch its workflow state and classify per the prd-lifecycle-rollup Linear predicate:
completed / done-category state). A child Epic is terminal only when it has itself rolled up to its own terminal state per leaf-only-lifecycle — read the child's own resolved state; do not re-derive it from its leaves here.canceled-category state). Like a not-planned leaf, it does not hold the PRD open and is excluded from the shipped set.The set of required children for the all-terminal check is the top-level children minus the canceled (terminal-but-dropped) ones.
All required children terminal (every required top-level child is terminal; at least one required child exists):
$TICKETED, add $SHIPPED via mcp__linear-server__save_project({id, labels}). Verify exactly one lifecycle label remains (the single-label invariant)./lisa:verify-prd; do not archive at the shipped hop."Shipped by Claude — all generated top-level work is complete."Any required child incomplete / blocked:
$TICKETED and leave the project active. Do NOT add $SHIPPED. Do NOT archive.- <ref> "<title>" — <state>), so product can see what's blocking the rollup. Keep it idempotent: regenerate the advisory rather than appending a fresh one each cycle.This phase implements exactly one PRD-lifecycle hop — $TICKETED → $SHIPPED — and deliberately leaves native archive/completion to /lisa:verify-prd after $SHIPPED → verified. 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 Linear implementation, not a second source of truth.
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).
Re-query the projects currently carrying the $SHIPPED label via mcp__linear-server__list_projects (filtered by the $SHIPPED project label, including archived projects — so shipped PRDs remain active for lisa:verify-prd). Pick the first one and invoke lisa:verify-prd <project-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.
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).
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. 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.
After processing the single selected PRD, emit a summary:
## linear-prd-intake summary
Scope: <workspace-slug | team-key> (<URL>)
Cycle started: <ISO timestamp>
Cycle completed: <ISO timestamp>
PRDs processed: <n>
- $TICKETED: <n>
- <project name> → <epic-key> + <story-count> stories + <subtask-count> sub-tasks (coverage: COMPLETE | COMPLETE_WITH_SCOPE_CREEP)
- $BLOCKED: <n>
- <project name> → <gate-failure-count> gate failures (pre-write) OR <gap-count> coverage gaps (post-write)
- Errors (claim failed, etc): <n>
- <project name> — <reason>
Total destination tickets created: <n>
Coverage audit summary: <n> COMPLETE / <n> COMPLETE_WITH_SCOPE_CREEP / <n> GAPS_FOUND
Print to the agent's output. Do not write this summary to Linear or the destination tracker — it's an operational record for the human.
Linear's MCP does not expose project-level comments. To preserve the comment-based feedback channel that Notion and Confluence intake have natively, this skill maintains a single sentinel feedback Issue under each project. All clarifying-question comments that don't anchor to a specific sub-issue land here.
The sentinel issue is identified by:
"PRD intake: clarifying questions"$SENTINEL (issue-level label, distinct from the project-level PRD lifecycle labels)Helper behavior — call this before posting any clarifying-question comment in Phase 3c or 3e:
list_issues({project: <id>, label: "$SENTINEL"}). If multiple match (shouldn't happen, but defensive), use the oldest by createdAt.$SENTINEL label exists on the project's team via list_issue_labels then create_issue_label if needed; then create the sentinel via save_issue({team: <team-id>, project: <id>, title: "PRD intake: clarifying questions", description: "Auto-created by lisa:linear-prd-intake. This issue collects clarifying-question comments that don't anchor to a specific sub-issue. Do not close manually — it is reused across intake cycles.", labels: ["$SENTINEL"]}). Capture the new issue identifier.save_comment({issueId: <id>, body: ...}).Idempotency: the helper finds-or-creates. Re-runs of the cycle reuse the same sentinel issue. Comments accumulate; product reads top-down to see the latest cycle's findings. Do not delete or repurpose old comments — history is the audit trail.
$READY projects are picked up by later scheduler invocations.lisa:linear-to-tracker (which delegates to lisa:tracker-write), only ever changes Linear project labels among $IN_REVIEW, $BLOCKED, $TICKETED, and $SHIPPED (the last via the rollup phase 3f only), only ever creates/comments on the sentinel feedback issue (never any other Linear issue). It never edits project descriptions, never edits Linear documents, never touches the draft label, never archives projects at the shipped hop, and never deletes projects.$IN_REVIEW happens BEFORE validation runs, so a re-entrant call won't double-process.$IN_REVIEW — the human investigates from there.$SHIPPED — no duplicate transition, no shipped-time archive, no duplicate comment. The all-terminal condition is a pure function of the children's current states (deduped by child-ref identity), so recomputing it is safe to re-run. Native archive/completion only follows verified PASS in /lisa:verify-prd.Same configuration as lisa:linear-to-tracker. See that skill for the full table. Key items:
.lisa.config.json: linear.workspace (required for Linear MCP). When the destination tracker is linear, also linear.teamKey. Lifecycle label vocabulary lives under linear.labels.prd.* (all optional; defaults documented above).E2E_BASE_URL, E2E_TEST_PHONE, E2E_TEST_OTP, E2E_TEST_ORG, E2E_GRAPHQL_URL (operational E2E test config).Destination tracker config (jira / github / linear) is consumed by lisa:tracker-write internally — this skill does NOT read it. If any required value is missing, surface the missing key(s) and exit this cycle — never invent values.
| Field | Default | Purpose |
|-------|---------|---------|
| .lisa.config.json linear.labels.prd.ready | prd-ready | Project label signalling "PRD ready for ticketing" |
| .lisa.config.json linear.labels.prd.in_review | prd-in-review | Project label set on claim |
| .lisa.config.json linear.labels.prd.blocked | prd-blocked | Project label set on validation failure |
| .lisa.config.json linear.labels.prd.ticketed | prd-ticketed | Project label set on success |
| .lisa.config.json linear.labels.prd.shipped | prd-shipped | Project label set by the rollup phase (3f) when all generated top-level work is terminal; product may also set it by hand |
| .lisa.config.json linear.labels.prd.sentinel | prd-intake-feedback | Issue-level label marking the sentinel feedback issue |
lisa:linear-to-tracker → lisa:tracker-write. The validator's verdict gates progress; bypassing it produces broken tickets.$IN_REVIEW, $BLOCKED, $TICKETED, and $SHIPPED via the rollup phase only). Product owns the draft and ready labels; product and the rollup phase (3f) both set shipped. The issue-level $SENTINEL label is owned by this skill but is not a lifecycle label.$SHIPPED only from the rollup phase, and only when all generated top-level children are terminal per the prd-lifecycle-rollup rule. Never ship on partial completion and never archive at shipped.prd_anchor group on the relevant sub-issue (or one comment on the sentinel feedback issue for unanchored failures only). Comments must be sub-issue-anchored where possible, categorized, plain-language, and contain a concrete recommendation.lisa:linear-to-tracker returns errors, treat them as gate failures: comment + $BLOCKED. Don't silently fail.Before this skill can run against a Linear workspace or team, the team must adopt the PRD lifecycle project-label convention (defaults shown; override via linear.labels.prd.* if you want different names):
ready label (default: prd-ready) to projects that are ready for ticketing (replaces the Notion Status = Ready flip and the Confluence prd-ready page label).in_review, blocked, ticketed (defaults: prd-in-review, prd-blocked, prd-ticketed) for this skill — humans should not set them manually except to recover from an error.draft and shipped labels (defaults: prd-draft, prd-shipped) for in-progress PRDs and delivered work respectively, so the full lifecycle is visible at a glance.list_project_labels should return them). Issue-level labels with the same names won't work; Linear keeps the two label kinds separate.If the workspace hasn't adopted these labels, the first run exits with a label-convention error (not the idle empty-set message) — this distinguishes a setup issue from a genuinely empty queue so operators know to apply the convention rather than assuming there is no work. See Phase 2 for how the skill detects this case.
documentation
Onboard a user to the project via its LLM Wiki. Interviews the user about themselves in relation to the project, captures that to project-scoped memory only, then gives a guided tour of what the project is and sample questions they can ask. Use when someone is new to the project or asks to be onboarded. Read-mostly — it does not open PRs or write PII into the wiki.
documentation
Migrate an existing, hand-rolled wiki implementation onto the lisa-wiki kernel — phased and compatibility-first, with a strict no-loss guarantee. Use when adopting lisa-wiki in a repo that already has its own wiki/, ingest skills, docs, or roles. Renaming things into the canonical shape is fine; losing functionality or data is not. Ends by running /doctor.
development
Health-check the LLM Wiki. Reports orphan pages, contradictions, stale claims, broken internal links, missing index/log coverage, structure-manifest violations, and secret/tenant leaks. Use periodically or before hardening a wiki. Read-only — it reports findings, it does not fix them.
testing
Ingest source material into the LLM Wiki. With an argument (URL, file path, or prompt) it ingests that one source; with no argument it runs a full ingest across every enabled non-external-write source. Routes to the right connector, then runs the ordered pipeline (source note → synthesis → index → log → verify → state → commit/PR). Use whenever new knowledge should enter the wiki.