What problem does it solve?
Sets up a project to use the full dark code prevention suite in one step: creates the .claude/comprehension/ directory for comprehension artifacts, adds a Dark Code Prevention section to CLAUDE.md (or creates CLAUDE.md if missing), creates docs/dark-code-audit/ for audit reports, and runs an initial dark-code-audit to baseline the project's current comprehension debt. Use this skill when starting to use the dark code suite on a new project, onboarding a codebase to dark code prevention practices, or any time you hear "set up dark code prevention", "initialize the dark code suite", "add comprehension gate to this project", or "how do I start with dark code practices here".
Core Features & Use Cases
- Creates required directories: .claude/comprehension/ and docs/dark-code-audit/
- Updates CLAUDE.md with a Dark Code Prevention section and onboarding guidance
- Runs an initial dark-code-audit to baseline comprehension debt for the project
- Serves as a one-time initialization per project to enable rapid onboarding
Quick Start
Run dark-code-suite-init on a new project to initialize the dark code prevention scaffold and baseline comprehension debt.