AgentSkillsCN

cleanup

当工作完成,用户说“清理遗嘱”“我们完成了”“移除交接”或WILL.md不再需要时使用此功能。

SKILL.md
--- frontmatter
name: cleanup
description: Use when work is complete and user says "cleanup the will", "we're done", "remove the handoff", or WILL.md is no longer needed

Cleanup Will

Overview

Remove WILL.md after work is complete or handoff is no longer needed. Keeps the project root clean.

Phase 0: Brivlo

If brivlo:send_event is available, use brivlo:send_event will:cleanup as your first step.

The Process

Phase 1: Check Existence

Verify WILL.md exists in project root.

If it doesn't exist: "No WILL.md found - nothing to clean up."

Phase 2: Confirm Completion

Before deleting, verify:

  • Is the work described in the will actually complete?
  • Are there any unfinished items that should be preserved?

If work is incomplete, warn user: "WILL.md shows incomplete work: [items]. Delete anyway?"

Phase 3: Delete

bash
rm WILL.md

Phase 4: Confirm

Report: "WILL.md removed - handoff complete."

Red Flags

If you catch yourself doing these, STOP:

  • Deleting without checking - Verify work is done first
  • Auto-deleting after read - Only delete when explicitly asked
  • Forgetting to check for unfinished work - Warn about incomplete items

Quick Reference

PhaseActionOutput
1. CheckVerify file existsExistence confirmed
2. ConfirmCheck work statusUser warned if incomplete
3. DeleteRemove WILL.mdFile deleted
4. ConfirmReport completion"Handoff complete"