dark-code-suite-init

Initialize a project with dark code prevention directories, CLAUDE.md section, and baseline audit.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/az9713/dark-code-skills --skill dark-code-suite-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dark-code-suite-init
Source: https://github.com/az9713/dark-code-skills/tree/main/skills/dark-code-suite-init
Command: npx skills add https://github.com/az9713/dark-code-skills --skill dark-code-suite-init

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about dark-code-suite-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up dark code prevention on a new codebase?

To set up dark code prevention on a new codebase, run a one-step initialization that creates required comprehension directories, updates CLAUDE.md with onboarding guidance, and baselines your initial comprehension debt.

What is comprehension debt and how is it baselined for a project?

Comprehension debt is the measure of how difficult a codebase is to understand. An initial dark-code-audit baselines this debt by generating audit reports in the docs/dark-code-audit/ directory during project setup.

Do I need an existing CLAUDE.md file to initialize the dark code suite?

You do not need an existing CLAUDE.md file. The initialization process will create CLAUDE.md if it is missing, or append a Dark Code Prevention section to it if the file already exists in your project.

Can I integrate dark code prevention practices into an ongoing project?

You can integrate dark code prevention into ongoing projects by running the initialization suite. It prepares the documentation scaffold and runs an initial audit without disrupting your existing project structure.

What directories are required for onboarding a codebase to dark code practices?

Onboarding a codebase to dark code practices requires the .claude/comprehension/ directory for artifacts and the docs/dark-code-audit/ directory for audit reports, both created automatically during initialization.

What are the limitations of one-step dark code suite initialization?

The initialization is designed as a one-time setup per project to establish comprehension artifacts and baseline audits. It does not perform ongoing audits or prevent dark code automatically without subsequent suite tools.