distributions/codex/skills/workspace-autopsy-governance/SKILL.md
Conducts a full automated autopsy of the current workspace directory to map files, identifies structural issues, proposes a restructuring plan (the signal), and establishes unified governance using templates. Use this skill when a user asks to map, restructure, reorganize, or apply new governance to an existing messy repository.
npx skillsauth add a-organvm/a-i--skills workspace-autopsy-governanceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables agents to systematically analyze (autopsy) an existing, potentially disorganized workspace, propose a logical new directory structure, and migrate the workspace to this new structure while enforcing new governance standards.
To execute this skill, follow these sequential steps:
To begin, you must understand the current state of the workspace.
python /Users/4jp/.agents/skills/workspace-autopsy-governance/scripts/workspace_autopsy.py --dir .Before moving any files, you must "send out the signal" to the user proposing the new structure and governance.
assets/RESTRUCTURE_PROPOSAL-template.md.RESTRUCTURE_PROPOSAL.md based on your findings from the autopsy. Detail exactly which directories will be created and which files will move where.Once the user approves the proposal:
/src, /docs, /scripts, /assets, /tests) as agreed upon in the proposal.mv) to systematically migrate files from their old locations to the newly created, unified locations..gitignore, package.json).With the files in their new locations, establish the rules that will govern them going forward.
assets/GEMINI-template.md.GEMINI.md at the root of the project.GEMINI.md files for deeper governance (e.g., in /src/GEMINI.md).scripts/workspace_autopsy.pyA Python script that traverses the specified directory, ignores common build/dependency folders, and prints a tree map along with statistics about file types and counts.
assets/RESTRUCTURE_PROPOSAL-template.mdA template for the document you will generate to propose the new structure to the user.
assets/GEMINI-template.mdA template for the governance rules to establish in the repository after the restructure.
testing
Designs systems for encoding, scoring, and generating choreographic movement using Laban notation, computational geometry, and procedural animation principles.
tools
Manage monorepos and multi-package repositories with workspace tools, dependency management, selective builds, and change detection. Covers npm/pnpm workspaces, Turborepo, and Python monorepo patterns. Triggers on monorepo setup, workspace management, or multi-package repository requests.
development
Curated bundle for managing monorepos with containerized deployment pipelines. Includes monorepo management, Docker containerization, CI/CD deployment, and coding standards. Use when setting up or improving multi-package repository infrastructure.
development
Apply modular synthesis principles to system design, workflow architecture, and conceptual frameworks. Use when designing modular systems, creating architecture diagrams using synthesis metaphors, applying signal flow thinking to data pipelines, or translating between audio engineering and software concepts. Triggers on modular architecture design, signal flow diagrams, synthesis-inspired system thinking, or "oscillator/patch" metaphors.