Bladeren bron

fix(handoff): 统一保存路径为 docs/handoff/ 目录

kekeZack 2 weken geleden
bovenliggende
commit
c4e15d4407
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 3 3
      skills/essential/handoff-doc/SKILL.md
  2. 1 1
      skills/essential/handoff/SKILL.md

+ 3 - 3
skills/essential/handoff-doc/SKILL.md

@@ -63,7 +63,7 @@ Do not duplicate content already captured in other artifacts (specs, plans, ADRs
 
 ## Handoff Template
 
-Write the output to `docs/handoff-{YYYY-MM-DD-HHMM}.md` in the workspace root (for multiple handoffs, use timestamps to differentiate):
+Write the output to `docs/handoff/HANDOFF-{YYYY-MM-DD-HHMM}.md` in the current project directory. Create the `docs/handoff/` directory if it doesn't exist:
 
 ```markdown
 # Handoff: {YYYY-MM-DD HH:MM}
@@ -112,7 +112,7 @@ Write the output to `docs/handoff-{YYYY-MM-DD-HHMM}.md` in the workspace root (f
 
 ## Quick Handoff (for lightweight context switches)
 
-When time is limited, generate a compact version and save to `docs/handoff-{YYYY-MM-DD-HHMM}.md`:
+When time is limited, generate a compact version and save to `docs/handoff/HANDOFF-{YYYY-MM-DD-HHMM}.md`:
 
 ```
 ## Handoff Summary ({YYYY-MM-DD})
@@ -151,4 +151,4 @@ Before finalizing the handoff, verify:
 - [ ] No sensitive credentials, secrets, API keys, or passwords exposed
 - [ ] No internal/confidential information exposed inappropriately
 - [ ] Any sensitive information replaced with `<REDACTED>`
-- [ ] Handoff document is saved to the correct location (`docs/handoff-{YYYY-MM-DD-HHMM}.md`)
+- [ ] Handoff document is saved to the correct location (`docs/handoff/HANDOFF-{YYYY-MM-DD-HHMM}.md`)

+ 1 - 1
skills/essential/handoff/SKILL.md

@@ -5,7 +5,7 @@ argument-hint: "What will the next session be used for?"
 disable-model-invocation: true
 ---
 
-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 - not the current workspace.
+Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to `docs/handoff/` in the current project directory. Create the directory if it doesn't exist.
 
 Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for.