微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🗂️

安全归档 · 零误删文档治理

Workspace Maintenance · v1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
办公 安全 B 级 作者 houseofjuici 公开目录收录
1.1k 下载 0 安装 2.5k 收藏 11 浏览

简介

非破坏性维护工具,通过干运行审计与归档管理保持文档可发现性,杜绝自动删除风险。

原始描述

Maintain workspace documentation hygiene and discoverability. Use when organizing markdown sprawl, updating doc indexes, archiving stale progress/status snap...

通过你的 Agent 添加

安装目录:workspace-maintenance/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/workspace-maintenance/
Codex CLI~/.codex/skills/workspace-maintenance/
DeepSeek Harness~/.agents/skills/workspace-maintenance/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: workspace-maintenance description: Maintain workspace documentation hygiene and discoverability. Use when organizing markdown sprawl, updating doc indexes, archiving stale progress/status snapshots, generating dry-run cleanup candidate lists, and keeping memory/task control files aligned without deleting files automatically.

Workspace Maintenance

Run a non-destructive maintenance cycle that keeps docs findable and the root clean.

Execute Maintenance Cycle

  1. Run dry-run retention audit script:
    • scripts/archive-retention-audit.sh
  2. Regenerate or refresh docs index if categories changed.
  3. Ensure active control files remain in root (do not move them).
  4. Move stale snapshot/status/progress docs to archive buckets.
  5. Update active task tracker with maintenance completion timestamp.
  6. Produce human review list for deletion candidates (never delete automatically).

Constraints

  • Never delete files automatically.
  • Never move identity/control files out of root.
  • Keep changes reversible (moves + manifests).
  • Always produce a dry-run candidate report.

Archive Buckets

  • docs/archive/meridian-snapshots/
  • docs/archive/general-progress/
  • docs/archive/session-hygiene/

Required Outputs

  • Updated dry-run candidates file in archive
  • Updated active task status entry
  • Move manifest for any batch relocation
  • Brief completion summary

Use Bundled Script

  • scripts/archive-retention-audit.sh generates current dry-run deletion candidates.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

documentationarchivemaintenancedry-runfile-managementcomplianceworkspace-hygiene

同类 Skill