搜索

PythonReactSEOPDF
GitHub Skill

session-handoff

Use this skill proactively when wrapping up a session to prepare the repo for the next agent. Read this before finalizing PRs, closing issues, or ending sessions.

JoernStoehler☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Session Handoff

This project is long-running with many agents working sequentially and in parallel. Always leave the repo in a state where the next agent can pick up work without confusion.

Core Principles

1. No False or Misleading Content

Remove stale information that would confuse future agents.

Actions:

  • Edit or delete documentation for removed features
  • Update code comments when implementation changes
  • Remove TODO comments that are already done
  • Delete outdated architecture notes
2. Preserve Context Where It's Needed

Put the "why" where future agents will look for it.

Actions:

  • Add code comments explaining non-obvious design decisions
  • Write architecture decision records in docs/ folders
  • Update thesis sections with experiment rationale and status
  • Document what worked and what didn't in data directories
3. Move Toward Standard Patterns

Long-running projects accumulate complexity. Fight this by refactoring toward well-known patterns.

Actions:

  • Separate tangled experiments into independent ones
  • Replace custom solutions with standard patterns when possible
  • Use standard terminology (e.g., data science terms) over project-specific jargon
  • Simplify interfaces between components (use simple data artifacts)
  • Tell Jörn when you find better standard terminology he should adopt

Rationale: Agents know standard patterns well. Custom patterns require extra learning time that compounds across sessions.

4. Track Approval Status

Distinguish what Jörn approved from agent proposals. This is critical for project management.

Markers to use:

  • <!-- approved --> - Jörn explicitly approved this
  • <!-- unapproved --> - Agent proposal awaiting Jörn's review
  • Code comment: "API unstable (not Jörn-approved)" vs "API stable (Jörn-approved)"

Where this matters:

  • GitHub issue bodies and roadmap documents
  • Public API function signatures
  • Thesis structure and major claims
  • Experimental methodologies

Before Ending Your Session

  1. Clean up: Remove misleading content, fix stale comments
  2. Document decisions: Add "why" context where future agents need it
  3. Update research ledger: Record findings in thesis appendix (see packages/latex_viterbo/chapters/appendix-research-ledger.tex)
  4. Mark approval status: Add <!-- approved --> or <!-- unapproved --> markers
  5. Simplify if possible: Did you introduce complexity that could be standard patterns instead?

Questions for Skill Maintainers

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!