Imported from CodySwannGT/lisa (
plugins/lisa-cursor/skills/lisa-intake-explain/SKILL.md). Install upstream withnpx skills add CodySwannGT/lisa --skill lisa-intake-explain. Copyright stays with the author.
Intake Explain: $ARGUMENTS
/lisa:intake-explain is the operator-facing explanation surface for one specific item in the current repo or project. It answers the per-item diagnosis question Lisa's batch flows intentionally do not answer directly: what lifecycle lane the item belongs to, which Lisa rule or gate applies right now, whether the item is eligible for intake or repair, and what the next relevant action should be.
This command is read-only in v1. It does not claim, relabel, repair, transition, comment on, decompose, or otherwise mutate the item. It complements /lisa:intake, /lisa:repair-intake, /lisa:queue-status, /lisa:automation-status, and tracker-native inspection; it does not replace them.
Confirmation policy
Do not ask for confirmation once invoked. This skill inspects one item and reports what the current Lisa contract says about it. There are no write-side effects in the v1 surface.
Scope
Inspect exactly one repo-scoped item reference:
- a GitHub issue URL or
owner/repo#123ref - a Linear issue or project URL
- a JIRA issue key
- a Notion PRD/item URL
- a Confluence PRD page URL
The skill must determine whether the item belongs to the PRD lifecycle or the build lifecycle, then explain the item's status using the same contract Lisa already uses for /lisa:intake and /lisa:repair-intake. Do not invent a second source of truth for queue detection, lifecycle role naming, repo scoping, or repair eligibility.
Operator usage
Typical entrypoints:
/lisa:intake-explain https://github.com/acme/repo/issues/123
/lisa:intake-explain owner/repo#123
/lisa:intake-explain ENG-123
/lisa:intake-explain https://linear.app/acme/issue/ENG-123/example
Use this command when an operator needs one deterministic answer to questions like:
- "Would Lisa intake this item right now, or skip it?"
- "Is this state still product-owned, or has it crossed into a Lisa-owned lane?"
- "Is repair eligible yet, or am I still waiting on staleness or backoff?"
- "Is the real next step
/lisa:intake,/lisa:repair-intake, blocker cleanup, decomposition, or manual product clarification?"
Keep the diagnosis terminal-first and human-readable: observable item facts first, then the smallest useful next command or manual action.
Contract reuse
Resolve item family, queue source/tracker, and lifecycle role names from .lisa.config.json plus the same defaults the active intake and repair flows already consume.
Route one-item diagnosis through the same contract surfaces the write-side flows already trust:
- determine whether the item belongs to the configured PRD source lane or build tracker lane using the same
source/trackersettings that/lisa:intakeand/lisa:repair-intakealready resolve - read vendor lifecycle role names from the same config keys and fallback defaults documented in the
config-resolutionrule rather than inventing hardcoded status names - keep repo/project scoping aligned with the same current-repo detection and queue-target rules the active intake scanners use
When the runtime can identify the item but cannot confidently resolve its source lane, tracker lane, lifecycle namespace, or current repo/project scope from that contract, report MISCONFIGURED instead of guessing.
Reuse the existing execution-side semantics instead of recreating them by hand:
- queue/source detection and lifecycle naming from intake + repair-intake
- one-item routing helpers for resolving the item's queue family against the correct source/tracker contract
- product-owned versus Lisa-owned lifecycle roles
- leaf-only and repo-scope build eligibility
- active dependency holds
- repair staleness thresholds and activity signals
- repair backoff / loop-prevention suppression
Work from the same vendor families Lisa already supports for intake and repair: GitHub, Linear, JIRA, Notion, and Confluence.
What to report
Render a stable terminal-first diagnosis for one item:
- Item identity and resolved lifecycle family (
PRDorBUILD). - The current lifecycle role and whether that role is product-owned or Lisa-owned.
- The exact rule, gate, or ownership boundary currently driving behavior.
- A verdict such as
ELIGIBLE_FOR_INTAKE,ELIGIBLE_FOR_REPAIR,WAITING_ON_STALENESS,HELD_BY_BLOCKERS,NON_LEAF_CONTAINER,PRODUCT_OWNED_STATE, orMISCONFIGURED. - The smallest useful next action, such as
/lisa:intake,/lisa:repair-intake, decomposition, blocker resolution, or manual product clarification.
Keep observable item facts separate from the recommended next step so operators can tell what Lisa knows versus what Lisa suggests.
Verdicts and next actions
Use verdicts as stable operator language, not as an excuse to dump raw tracker state:
ELIGIBLE_FOR_INTAKE: the item is in the correct actionable lane and Lisa could pick it up with/lisa:intake.ELIGIBLE_FOR_REPAIR: the item is Lisa-owned, stale or stuck enough to qualify for/lisa:repair-intake, and repair suppression rules are not currently preventing action.WAITING_ON_STALENESS: the item is Lisa-owned but too fresh to repair yet; explain which activity signal or freshness window is still protecting it from a repair loop.HELD_BY_BLOCKERS: the item is otherwise actionable, but explicit blockers or dependency holds mean Lisa would wait rather than claim it.NON_LEAF_CONTAINER: the item is structurally a container, childless Epic, or otherwise not directly buildable; explain that direct build pickup is disallowed until decomposition or reclassification happens.PRODUCT_OWNED_STATE: the item is currently in a product-owned role or pre-intake lane, so Lisa should not mutate it yet.MISCONFIGURED: Lisa could not resolve the item's queue, lifecycle namespace, repo scope, or another required contract signal confidently enough to explain actionability.
Each verdict must carry a concrete next action:
- Prefer
/lisa:intakeforELIGIBLE_FOR_INTAKE. - Prefer
/lisa:repair-intakeforELIGIBLE_FOR_REPAIR. - Prefer "wait and re-check later" for
WAITING_ON_STALENESS. - Prefer blocker resolution for
HELD_BY_BLOCKERS. - Prefer decomposition or type correction for
NON_LEAF_CONTAINER. - Prefer manual product clarification or the upstream product workflow for
PRODUCT_OWNED_STATE. - Prefer fixing config, lifecycle adoption, or repo scoping for
MISCONFIGURED.
Ownership and repair readiness
Classify ownership before recommending any command. Intake-explain should make clear whether the item is waiting for a human/product promotion, already belongs to Lisa automation, or is terminal enough that normal intake should leave it alone.
Product-owned roles are roles that Lisa must not mutate from this read-only diagnosis and that normal intake/repair should not "fix" just because the item exists:
- PRD
draft: still being authored; next action is manual product clarification or promotion toready. - PRD
shipped: generated work is complete and the next automated owner is/lisa:verify-prd, not PRD intake or repair. - PRD
verified: empirically checked terminal state; no intake or repair action is required unless a human reopens scope. - Build items with no build lifecycle role or without the configured current-repo scope: outside the build pickup lane until a human adopts the lifecycle label or fixes repo scoping.
Lisa-owned roles are roles where the framework has accepted responsibility for moving the item forward or surfacing a precise blocker:
- PRD
ready: actionable for/lisa:intake. - PRD
in_review: already claimed by PRD intake; repairable only when the item is stale beyondstale_afterand not suppressed by repair backoff. - PRD
blocked: Lisa asked for clarification or failed validation; repairable only when new answers, dependency changes, or other current signals make another validate-to-route pass materially different. - PRD
ticketed: generated work exists; normal PRD intake owns rollup towardshipped, while repair-intake may reconcile rollup drift when all generated top-level work is terminal. - Build
ready: actionable for/lisa:intakeif repo-scope, leaf-only, and dependency gates pass. - Build
claimed: already claimed by build intake; repairable only when stale beyondstale_afterand not protected by recent PR/check/comment activity. - Build
blocked: Lisa surfaced an implementation blocker; repairable only when every parsed blocker is cleared or the blocker fingerprint changed enough to justify a new attempt. - Build
done: terminal build role; repair-intake may only reconcile provider-native close-out drift, not re-run implementation.
Report repair readiness in this order:
- If the role is product-owned, return
PRODUCT_OWNED_STATEand name the product or verification workflow that owns the next move. - If the item is Lisa-owned but in an in-progress role, compare the newest activity signal with the configured staleness threshold. Fresh activity returns
WAITING_ON_STALENESS; stale activity can returnELIGIBLE_FOR_REPAIR. - If the item is Lisa-owned but blocked, evaluate current blockers, clarifying answers, and the
[lisa-repair-intake]fingerprint/backoff window. Active blockers or unchanged fingerprints stay held; cleared blockers or new answers can returnELIGIBLE_FOR_REPAIR. - If the item is ready for first pickup, run the same repo-scope, leaf-only, and dependency checks used by intake before returning
ELIGIBLE_FOR_INTAKE.
Gate and ownership expectations
The explanation must stay aligned with existing Lisa rules:
- If a build item is a parent/container or a childless Epic, explain the leaf-only gate and say direct build pickup is not allowed.
- If a build item has active blockers, list the blocker refs and explain that intake would hold or skip it until they clear.
- If a PRD is in a product-owned role such as
draft,shipped, orverified, explain why intake or repair will not mutate it. - If a claimed, in-review, or blocked item is not yet repairable, explain the relevant staleness or backoff condition at a human-readable level.
- If the source lane, tracker lane, repo/project scope, or lifecycle namespace is unresolved, report
MISCONFIGUREDinstead of pretending the item is idle or actionable.
PRD item role and repair diagnosis
For PRD lifecycle items, run the same read-side checks that PRD intake and repair-intake use before they would claim, validate, roll up, or retry a PRD. This is still a read-only explanation: if execution intake would transition ready -> in_review, route a ticketed PRD through rollup, move a blocked PRD after new answers, or suppress repair because a [lisa-repair-intake] marker is still inside its backoff window, intake-explain reports that decision and does not mutate the PRD, comments, labels, parent page, project labels, or generated work.
Resolve the source lane from .lisa.config.json source and the PRD lifecycle roles from the same vendor-specific config keys PRD intake and repair-intake use (github.labels.prd.*, linear.labels.prd.*, notion.values.*, or confluence.parents.*) with the usual defaults (draft, ready, in_review, blocked, ticketed, shipped, and verified equivalents). If the current item carries conflicting PRD lifecycle roles, lacks an adopted PRD namespace, or cannot be tied to the configured source lane, return MISCONFIGURED rather than guessing.
For GitHub-backed PRDs, collect these reader signals before choosing a verdict:
- current PRD lifecycle role label and any conflicting
prd-*labels - source-lane role ownership:
draft,shipped, andverifiedare product-owned or verification-owned;ready,in_review,blocked, andticketedare Lisa-owned for intake, repair, or rollup purposes - provider-native timestamps (
updatedAt) plus latest PRD comments, with special attention to comments after the most recent blocked or in-review marker [lisa-repair-intake]marker comments, including state fingerprint, repair verdict, retry count, and backoff window when present- generated top-level work from native sub-issues first, then the
## Tickets/## Generated Worksection used byprd-lifecycle-rollup - generated child terminal status so
ticketedPRDs can explain whether rollup is waiting on downstream work or ready for/lisa:repair-intake - clarifying-answer signals on
blockedPRDs: new product comments, changed body text, changed blocker refs, or cleared dependencies compared with the last blocked/repair fingerprint
Apply PRD verdicts in the same order as PRD intake and repair-intake:
- Product-owned or verification-owned roles. A PRD in
draftreturnsPRODUCT_OWNED_STATE; the next action is manual product clarification or promotion to the configuredreadyrole. A PRD inshippedreturnsPRODUCT_OWNED_STATEwith/lisa:verify-prd <item-ref>as the next Lisa workflow because shipped-to-verified acceptance is outside PRD intake. A PRD inverifiedreturnsPRODUCT_OWNED_STATEor a terminal no-op explanation; normal intake and repair must not mutate it. - Ready PRD. A PRD in the configured
readyrole returnsELIGIBLE_FOR_INTAKEwhen the source lane and lifecycle namespace resolve cleanly. TheWhy:line should say PRD intake would claim it into the configuredin_reviewrole and run the source-to-tracker dry-run validate-to-route pipeline. - In-review PRD. A PRD in
in_reviewis already Lisa-owned. Compare the newest activity signal against the resolved repairstale_afterthreshold ($ARGUMENTSoverride if present,.lisa.config.jsonintake.repair.staleAfterHours, then the 2h default). If provider activity, a progress comment, or a source edit is newer thannow - stale_after, returnWAITING_ON_STALENESSand name the activity timestamp. If no reliable timestamp exists, returnWAITING_ON_STALENESSunless the caller explicitly uses the repair flow withstale_after=0; intake-explain should not imply automatic recovery from unknown freshness. If the item is stale and no repair-backoff marker suppresses retry, returnELIGIBLE_FOR_REPAIR. - Blocked PRD. A PRD in
blockedis Lisa-owned but repairable only when the next validate-to-route pass can materially differ. Treat new human answers after the blocking comment, body edits after the blocking marker, cleared blockers, changed blocker refs, or changed validator fingerprint as repair-enabling signals. If none are present, returnHELD_BY_BLOCKERSorWAITING_ON_STALENESSdepending on whether the decisive fact is an active blocker/unchanged clarification need or a still-fresh blocked marker. If the blocker/answer state changed and repair backoff is clear, returnELIGIBLE_FOR_REPAIR. - Ticketed PRD. A PRD in
ticketedis not ready for first intake. Read generated top-level work using the sameprd-lifecycle-rollupboundary as PRD intake: top-level Epics and top-level Stories count; nested Stories and Sub-tasks do not. If any generated top-level child is non-terminal, returnPRODUCT_OWNED_STATEor a waiting explanation that downstream build work is still in progress. If all generated top-level work is terminal but the PRD has not rolled up toshipped, returnELIGIBLE_FOR_REPAIRand recommend/lisa:repair-intake <queue>to reconcile rollup drift. - Repair backoff suppression. Before returning
ELIGIBLE_FOR_REPAIRforin_review,blocked, orticketedPRDs, inspect[lisa-repair-intake]markers. If the latest marker's state fingerprint matches the current reader signals and its backoff window has not expired, returnWAITING_ON_STALENESSwith aWhy:line that says repair-intake would suppress an unchanged retry to avoid a loop. If the fingerprint changed, the backoff expired, or a human uses repair-intakeforce=true, the item may be repair-eligible.
Relevant Signals: should include the decisive context, not every field: for example prd-blocked; new product comment after blocker, prd-in-review; last activity 2h ago; stale_after=2h, prd-ticketed; generated top-level work #12/#13 terminal, or [lisa-repair-intake] fingerprint unchanged; backoff until 2026-05-27T12:00:00Z.
Build item gate diagnosis
For build lifecycle items, run the same read-side checks that build intake runs before it would claim an issue. This is still a read-only explanation: if execution intake would stamp repo labels, split a cross-repo leaf, move a stale container from ready to claimed, or post a dependency-hold comment, intake-explain reports what intake would do but does not stamp, does not split, does not move labels, and does not comment.
Resolve the current repo using the same repo-scope contract as build intake: local config repo, then .lisa.config.json github.repo, then the git remote basename. Resolve the build lifecycle roles from .lisa.config.json github.labels.build.* with the usual defaults (status:ready, status:in-progress, status:blocked, status:done, plus any configured env-specific done labels). If those signals cannot be resolved, return MISCONFIGURED.
For GitHub build items, collect these reader signals before choosing a verdict:
- current build lifecycle role label and any conflicting
status:*labels repo:<current>/repo:<other>labels, including whether the item is unlabeled for repo scope- type labels such as
type:Epic,type:Story,type:Spike,type:Bug,type:Task,type:Sub-task, andtype:Improvement - native GitHub sub-issues and their open/closed state
- body parentage used by
github-read-issue, including task-list child references andParent: #123style references - explicit dependency holds from
Blocked by: #123, comma-separated refs,owner/repo#123, and GitHub issue URLs - blocker issue state and blocker status labels
Apply gate verdicts in the same order as build intake:
- Repo-scope gate. A build item carrying
repo:<other>and notrepo:<current>is outside this repo's pickup lane. ReturnMISCONFIGUREDwhen repo scope is absent or contradictory enough that the current repo cannot be determined confidently; otherwise explain the repo-scope mismatch and recommend running intake in the target repo or fixing therepo:<name>label. For an unlabeled item whose target repo is obvious from the item body, report the inferred repo signal but stay read-only: execution intake would stamprepo:<name>, while intake-explain only says it would do so. A multi-repo leaf is not directly buildable; explain that execution intake would split it perrepo-scope-split, but this read-only diagnosis does not split. - Leaf-only gate. If the item has open child work from native GitHub sub-issues or body parentage, return
NON_LEAF_CONTAINERand explain that direct build pickup is leaf-only perleaf-only-lifecycle. If it has no open children but carriestype:Epic, also returnNON_LEAF_CONTAINERbecause a childless Epic is a pure rollup container that still needs decomposition or reclassification. (A childlesstype:Storyortype:Spikeis a valid leaf perleaf-only-lifecycleand is NOT aNON_LEAF_CONTAINER— it is directly buildable.) The next action for a childless Epic is decomposition, movingstatus:readyto leaf children, or correcting the issue type. Execution build intake would move such a stale ready container out of the pickup queue; this read-only diagnosis must not perform that repair. - Dependency hold gate. If a single-repo leaf for the current repo has explicit blockers, read each blocker and clear-check it by containment, per the
blocker-containmentrule — cite that slug for the full contract rather than restating it. A blocker is clear only when its merged PRs are ancestors of the branch this leaf will be built from (resolved from the leaf's## Target Backend Environmentthrough.lisa.config.jsondeploy.branches, never from a renderedBranch Plan), or when the rule's narrow no-code carve-out or human override applies. A build status label is never the test —status:code-review,status:on-dev,status:on-stgandstatus:doneare name matches that hold in a single-trunk workflow and come apart in a promotion workflow, wheremainis the trailing branch. Every other state, and every case where containment is not computable, is active: fail closed. ReturnHELD_BY_BLOCKERS, list the active blocker refs with the rule's reason key for each, and make the next action blocker resolution rather than/lisa:intake. - Ready leaf. A build item in the configured ready role, scoped to the current repo, with no open child work and no active blockers returns
ELIGIBLE_FOR_INTAKE. TheWhy:line should say it is a single-repo leaf for the current repo and that leaf-only, repo-scope, and dependency gates all pass.
Relevant Signals: should include the decisive context, not every field: for example repo:lisa; type:Sub-task; no open children, open children #12/#13, repo:api but current repo is web, or active blockers CodySwannGT/lisa#123.
Rule explanation expectations
The Why: line should name the decisive Lisa contract in plain English rather than only echoing a raw status label. Good explanations usually mention one of:
- the lifecycle role boundary (
product-ownedversusLisa-owned) - the leaf-only gate
- the repo-scope gate
- an active blocker or dependency hold
- staleness or repair-backoff suppression
- an unresolved config or lifecycle-adoption contract
The Next action: line should stay small and specific. Prefer one actionable follow-up over a menu:
/lisa:intake <queue>when the item is ready for normal pickup/lisa:repair-intake <queue>when Lisa-owned stuck work is now repairable- "resolve blocker
#123" when a dependency hold is decisive - "decompose into leaf tickets" when the issue is a non-leaf container
- "manual product clarification" when Lisa is not the current owner
- "fix
.lisa.config.jsonor lifecycle labels" when the problem is misconfiguration
Smoke fixtures and read-only assertions
Intake-explain must keep representative smoke fixtures for both PRD and build lifecycles. These fixtures are contract examples for implementers and tests: they prove that lifecycle classification, dependency holds, staleness windows, and repair backoff map to the same verdict language operators see in real diagnosis output.
Minimum PRD smoke fixtures:
| Fixture | Decisive signals | Expected verdict |
|---|---|---|
prd-draft-product-owned |
PRD role draft; source lane resolved; no Lisa claim marker |
PRODUCT_OWNED_STATE |
prd-ready-actionable |
PRD role ready; source lane resolved; validation-ready content present |
ELIGIBLE_FOR_INTAKE |
prd-in-review-fresh |
PRD role in_review; newest Lisa or tracker activity is inside stale_after |
WAITING_ON_STALENESS |
prd-blocked-backoff |
PRD role blocked; latest [lisa-repair-intake] fingerprint is unchanged and inside the backoff window |
WAITING_ON_STALENESS |
prd-blocked-new-signal |
PRD role blocked; clarifying answer or blocker fingerprint changed after the last repair marker |
ELIGIBLE_FOR_REPAIR |
Minimum build smoke fixtures:
| Fixture | Decisive signals | Expected verdict |
|---|---|---|
build-ready-leaf |
status:ready; repo:<current>; leaf type; no open children; no active blockers |
ELIGIBLE_FOR_INTAKE |
build-active-dependency |
otherwise actionable ready leaf; Blocked by: points at an open blocker without a cleared status |
HELD_BY_BLOCKERS |
build-cleared-dependency |
otherwise actionable ready leaf; blockers are closed or carry cleared build status | ELIGIBLE_FOR_INTAKE |
build-open-children |
build lifecycle role present; native sub-issues or body parentage include open child work | NON_LEAF_CONTAINER |
build-claimed-fresh |
status:in-progress; newest claim, PR, check, or issue activity is inside stale_after |
WAITING_ON_STALENESS |
build-blocked-backoff |
status:blocked; blocker fingerprint unchanged and repair-backoff marker still suppresses retries |
WAITING_ON_STALENESS |
build-blocked-cleared |
status:blocked; parsed blockers are now cleared or the blocker fingerprint changed |
ELIGIBLE_FOR_REPAIR |
Every smoke fixture must assert read-only behavior. A diagnosis may call vendor read APIs, inspect config, and render a verdict, but it must not call write APIs such as gh issue edit, gh issue comment, label creation, issue creation, transition endpoints, PR mutation, or tracker comment/update calls. If execution intake would stamp repo labels, split a multi-repo leaf, repair a stale container label, add a dependency-hold comment, or retry stuck work, the smoke fixture should assert that intake-explain only reports that action as the next step.
Output shape
Use a stable grouped shape so one diagnosis is easy to scan:
Item: <identity>
Lifecycle: <PRD|BUILD>
Role: <current role> (<product-owned|Lisa-owned>)
Verdict: <VERDICT>
Why: <rule or gate explanation>
Next action: <smallest useful follow-up>
When helpful, include one short Signals: or Relevant refs: line for the exact blockers, staleness timestamps, parent/child classification, or repair markers that justify the verdict.
One acceptable rendering pattern is:
Item: CodySwannGT/lisa#123
Lifecycle: BUILD
Role: status:blocked (Lisa-owned)
Verdict: ELIGIBLE_FOR_REPAIR
Why: The issue is already in a Lisa-owned blocked lane, its last meaningful activity is stale, and no repair-backoff marker is suppressing a new repair pass.
Next action: /lisa:repair-intake github
Signals: blocker cleared; last activity 6d ago; repo:lisa
Rules
- Stay read-only. Never claim, relabel, transition, comment on, create, decompose, or repair work from this skill.
- Keep the explanation repo-scoped to the current project rather than aggregating unrelated repos or trackers.
- Reuse intake and repair-intake contract semantics so diagnosis and execution do not drift.
- Prefer existing vendor read surfaces and validators over creating a second lifecycle engine.
- If the current runtime or vendor surface cannot expose a needed signal, say that explicitly instead of guessing.