discussion-continuity
When a design discussion or evaluation is interrupted by a task or workflow, or when the user says "present the discussion," "where were we," "show me the discussion," or "resume" — save or resurface the discussion state using Session Notes.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 13
- Forks
- 3
01 前言 Front Matter
- name
- discussion-continuity
- license
- MIT
- description
- When a design discussion or evaluation is interrupted by a task or workflow, or when the user says "present the discussion," "where were we," "show me the discussion," or "resume" — save or resurface the discussion state using Session Notes.
03 SKILL.md 正文
Skill: Discussion Continuity
Discussions have no formal lifecycle. This skill gives them one — a save point before interruption and a defined retrieval on return.
Operation A — PAUSE (save before switching)
Trigger: Agent has an open unanswered gate question AND the user redirects to a different task or workflow.
Execute as the first action before switching — before any file edits, before any workflow steps.
-
Write a structured entry to
.memory/RESUME.mdSession Notes:DISCUSSION PAUSED: [topic] Agreed: [bullet — one line per agreed decision, or "none yet"] Open: [bullet — each pending decision with its options] Gate: [exact unanswered question the agent was waiting on] -
Confirm to the user: "Discussion state saved. Switching to [task]."
-
Then execute the interrupting task.
Important: The gate field is what prevents treating the return phrase as implementation approval. If the gate is recorded, the agent re-asks it on resume instead of assuming approval.
Operation B — RESUME (resurface on return)
Trigger: Any of:
- User says "present the discussion," "where were we," "show me the discussion," "back to [topic]," or "resume"
- task-completion Step 6c detects a
DISCUSSION PAUSED:entry in Session Notes
Steps:
- Read
.memory/RESUME.mdSession Notes. - Find any entries prefixed
DISCUSSION PAUSED:. - Re-present with full structure — topic, agreed decisions, open decisions with options, and the gate question.
- Re-ask the gate question explicitly. Do NOT treat the return phrase as an answer to the gate.
- Remove the
DISCUSSION PAUSED:entry from Session Notes only after the gate is answered and discussion is resolved or explicitly parked.
Format example
DISCUSSION PAUSED: BACKLOG.md design
Agreed: single flat table with Priority column; ID format BL-NNN; Done capped at 5
Open: (1) Backlog Mode field for Jira? options: column vs config field vs none
(2) Name — BACKLOG vs TODO?
(3) Capture convention — how "add to todo" maps to a file
Gate: "Want to proceed with implementation, or adjust the design first?"
What this does NOT solve
- Agent failing to detect the interruption moment — the PAUSE operation still relies on the agent recognizing an open gate + redirect. This is the weakest link. task-completion Step 6c provides the safety net for missed saves.
- Multiple simultaneous paused discussions — if two discussions are paused, resurface both and ask the user which to resolve first.
04 同仓库更多 Skills
setup-project
When setting up agentskel on a new project that does not yet have .memory/ or .agents/. Use when the user says "set up agentskel", "install agentskel", or "add agent memory to this project".
using-git-worktrees
When running long feature implementations, parallel branch work, or build/test scripts that must not interfere with the user's active working directory. Creates isolated execution environments via git worktrees in sibling directories.
test-engineer
When designing test strategy, analysing coverage, or writing tests outside the TDD cycle. Also use when working with CI pipelines or validating changes end-to-end.
test-driven-development
When implementing logic changes during develop-feature or implement-task. Use the Red-Green-Refactor cycle to write a failing test before any production code.
task-planner
When decomposing a feature or spec into implementable subtasks, estimating scope, or orchestrating multi-step work across subagents.
systematic-debugger
When applying debugging techniques during any investigation — root cause tracing, bisect, defense-in-depth. Enforces hypothesis-first analysis and prohibits guess-and-check changes. Use standalone or inside the debug-issue workflow.