From 36a0ac7ff731f74a4f1f6863d5772b44cafdd08f Mon Sep 17 00:00:00 2001 From: Dmitry Dementiev Date: Fri, 11 Sep 2026 12:09:58 +0300 Subject: [PATCH] =?UTF-8?q?feat(skills):=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=20=D1=81=D0=BA=D0=B8=D0=BB=D0=BB=20session-s?= =?UTF-8?q?tate-handoff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Зачем: - после прерывания или сжатия контекста нужна возможность продолжить работу в новой сессии. - Что: - создан agents/.agents/skills/session-state-handoff/SKILL.md. - скилл формирует документ-передачу и список скиллов для следующей сессии. - Проверка: - вызвать скилл session-state-handoff и проверить созданный документ. --- .../skills/session-state-handoff/SKILL.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 agents/.agents/skills/session-state-handoff/SKILL.md diff --git a/agents/.agents/skills/session-state-handoff/SKILL.md b/agents/.agents/skills/session-state-handoff/SKILL.md new file mode 100644 index 0000000..d76edb5 --- /dev/null +++ b/agents/.agents/skills/session-state-handoff/SKILL.md @@ -0,0 +1,16 @@ +--- +name: session-state-handoff +description: Keep current session state and possibility of resume after compaction or in fresh session. +argument-hint: "How to keep current work after interruption?" +disable-model-invocation: false +--- + +Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS or where is prescribed in AGENTS.md or other project config. + +Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for. + +Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead. + +Redact any sensitive information, such as API keys, passwords, or personally identifiable information. + +If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.