用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CodySwannGT/expostarter --skill lisa-debrief命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | lisa-debrief |
| description | Run the Debrief flow over a… |
| allowed-tools | ["Skill","ToolSearch","Bash","Read","Glob","Grep","TeamCreate"] |
Walk the original Plan for $ARGUMENTS, mine the completed work items and their PRs, and produce a triage-ready learnings document for human review.
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
If you are NOT inside an agent team by that definition, the very first thing you do is establish team orchestration.
Use the team tool for the current runtime:
TeamCreate tool; the team forms automatically when you spawn the first teammate with Agent. That first spawn should be the bounded specialist needed to start this flow. On older Claude Code that still exposes TeamCreate, the explicit team-create path is also acceptable.TeamCreate; Codex does not expose that Claude tool. Use tool_search with a query like multi-agent tools to load multi_agent_v1, then use multi_agent_v1.spawn_agent for teammate delegation. Treat the first successful spawn_agent call as establishing team orchestration.If no team creation or subagent delegation tool is available, explicitly state that team orchestration is unavailable in this runtime, continue as the lead agent, and preserve the workflow's review, verification, and task-tracking obligations locally.
Until the team is established, the first Codex teammate has been spawned, or the no-team fallback has been declared, do NOT call any of: TaskCreate, Skill, MCP tools (Atlassian / Linear / GitHub / Notion), Read, Write, Edit, Bash, Grep, Glob. The initial Claude Agent spawn described above is the only pre-team exception because it establishes the team. Resolving the work-item set, fetching tickets, walking PRs — all of those are tasks for the team you are about to create, not for the lead session before orchestration exists.
If you ARE already inside an agent team (e.g., a teammate invoked this skill via the Skill tool), do NOT create a second team — many harnesses reject double-creates — and do NOT collapse the nested flow into a single inline worker. A nested team-first flow must still bring in the specialists it requires by adding them to the existing team, not by doing the work itself:
Agent with a name from a teammate (the harness rejects it: "Teammates cannot spawn other teammates — the team roster is flat"). Send the team lead a message naming the specialist teammate(s) this flow needs, their task assignments, and completion criteria, then coordinate through the shared task list until they finish. An anonymous subagent (Agent with name omitted) is permitted only for bounded one-shot work whose result returns directly to you — it is not a substitute for the required lifecycle specialists.TeamCreate. If the lead/root agent is addressable (you were given its id/handle), send it a request to multi_agent_v1.spawn_agent the specialist agent(s), including each agent's prompt, ownership, and expected result. If no lead handle exists but spawn_agent is available to you, spawn only the bounded specialist agent(s) this flow needs, wait_agent for their results, and relay those results upward to the parent/lead.Treat the first successful lead-spawn request (or, on the Codex fallback, the first specialist spawn) as preserving team orchestration. Never satisfy a team-first lifecycle flow by doing all the work inline.
$ARGUMENTS is one of:
| Input shape | Resolution |
|---|---|
| Notion / Confluence / Linear / GitHub Issue PRD URL | Fetch the PRD; read its ## Tickets (or equivalent) back-link section written by the Plan flow |
| File path to a PRD markdown | Read the file; parse its ## Tickets section |
JIRA epic key (e.g. SE-1234) or epic URL | Fetch the epic; list its child issues (Stories, Tasks, Bugs) |
GitHub epic issue URL or <org>/<repo>#<n> | Fetch the epic issue; list its sub-issues / linked items |
If the PRD has no ## Tickets section AND the input is not an epic, stop and report — the Plan flow's PRD back-link step (lisa-prd-backlink) was likely skipped. Suggest re-running Plan to populate the section, or pass the epic key directly.
Run before mining begins:
-p / scheduled mode, do not block on missing input — fail fast with a clear error listing what was needed.Execute the Debrief flow as defined in the intent-routing rule (loaded via the lisa plugin). The rule contains the canonical step sequence (gate, mining, synthesis, output, hand-off). This skill does NOT restate flow steps — change them in the rule, propagate everywhere.
The flow's mining step runs tracker-mining-specialist and pr-mining-specialist in parallel as separate tasks within the team. Both must complete before learnings-synthesizer runs. Express this with blockedBy so the synthesizer task is automatically gated on the two mining tasks.
Debrief is deliberately exhaustive — the human, not the agent, decides what is worth keeping. Specialists should err toward surfacing more candidates, not fewer. A candidate that the synthesizer rates low confidence is still a row in the triage doc; only outright duplicates are dropped.
A markdown triage document at ./debrief/<initiative-slug>-<YYYY-MM-DD>.md (or wherever the project's debrief output directory is configured) containing:
Summary — one sentenceCategoryEvidence — links to the source ticket comment / PR comment / commit / test file (multiple allowed)Recommended persistence destination — the agent's best guess for where this should land if accepted (e.g., "Edge Case Brainstorm checklist → Navigation & URL state", "PROJECT_RULES.md", "memory: project_*.md", "new tooling-gap ticket")Disposition — empty checkbox-style field the human will fill: [ ] Accept / [ ] Reject / [ ] Defer plus a free-text reasonBefore returning, write the Debrief run's direct usage onto the triage document through
lisa-usage-accounting so the markdown artifact carries its own ## Lisa Usage section separate
from delivery-time usage. If runtime usage is unavailable, record a debrief entry with
source: unavailable and nullable token/cost fields instead of skipping the row.
The skill's terminal output is the path to the triage document and a one-line summary of counts per category. Persistence does not happen here — that is lisa-debrief-apply's job.
After producing the triage document, print:
Triage document written to: <path>
Counts: <n> edge cases, <n> gotchas, <n> friction, <n> tooling gaps, <n> convention drift; <n> anomalies
Next: human triage. When done, run `/lisa:debrief:apply <path>` to persist accepted learnings.
Then stop. Debrief never persists learnings on its own.