返回 Skill 列表
extension
分类: 开发与工程无需 API Key

session-discipline

强制执行会话优先的工作流程(计划→实施→验证→文档)。在开始任何非琐碎的工作、调试时间超过15分钟或进行跨领域更改时使用。

person作者: jakexiaohubgithub

Session Discipline

Scope

  • Ensure every non-trivial task has a session folder under docs/sessions/
  • Keep evidence (commands/tests) and outcomes discoverable
  • Reduce “handover friction” by making every action resumable from docs

Inputs

  • Desired session slug (short, descriptive)
  • Session type/category and objective one-liner

Procedure

  1. Create a session directory with the official CLI.
  2. Fill in PLAN.md (objective, done-when, change set, risks, tests).
  3. Log commands + findings in WORKING_NOTES.md.
  4. Summarize outcomes + follow-ups with named owners.

Validation

  • Confirm session appears in docs/sessions/SESSIONS_HUB.md.
  • Ensure FOLLOW_UPS.md has owners if anything is deferred.

Escalation / Research request

If you need deeper background and existing docs aren’t sufficient:

  • Add a follow-up: “Request research agent to expand Skill <name>
  • Include: expected triggers, target files, and what validation should exist

References

  • Session-first requirement: AGENTS.md
  • docs-memory lessons: docs/agi/LESSONS.md