← ClaudeAtlas

workspace-file-governancelisted

Deep, autonomous workspace file governance. This skill should be used whenever an agent is about to create new files or directories (creation gate), and whenever a workspace needs organizing, refactoring, or cleanup at any depth — 工作区混乱/目录重构/文件整理/深度整理/随意新建文件/workspace cleanup/directory hygiene/refactor workspace. It requires the agent to first build a full understanding of the project (structure, tech stack, file purposes, dependencies), then act autonomously on all routine decisions, escalating only decisions that risk data loss or broken functionality. Model-agnostic and agent-agnostic.
feiiiiii5/workspace-file-governance · ★ 1 · Data & Documents · score 75
Install: claude install-skill feiiiiii5/workspace-file-governance
# Workspace File Governance ## Overview Govern every file-creation act (Mode A — Creation Gate) and perform deep, autonomous workspace reorganization (Mode B — Deep Refactor). All rules are agent- and model-agnostic: they rely only on generic filesystem operations (list, search, move), plain Markdown, and the workspace's own tooling. **Operating principle: reversible actions are autonomous; irreversible or function-risking actions are escalated.** Do not interrupt the user for routine decisions. Do interrupt for the small set of major ones (see the Autonomy Matrix in `references/placement-rules.md` §2). ## Core Principles 1. **Understand before touching.** Never move, rename, or delete anything before completing the Phase 0 understanding pass. A file whose purpose is unknown is a file that stays in place. 2. **Existing governance wins.** The workspace's own index/governance docs (AGENTS.md, README, workspace guides, maintenance contracts) override every generic rule in this skill — including their explicit "do not rename / do not touch" lists. 3. **Canonical beats derived.** Identify authoritative sources vs. generated artifacts (e.g. generator script → .docx, master manual → downstream deliverables). Reorganize around the canonical source; never "fix" a derived artifact in isolation. 4. **Update beats create; trash beats delete.** Same-purpose file exists → update it. Suspect content → `_trash-YYYYMMDD/`, never hard deletion. 5. **Deep, not co