skills/dark-code-audit/SKILL.md
Assesses structural and velocity dark-code risk from architecture, AI tool usage, ownership, and deployment practices. Produces a direct risk assessment without inventing missing facts.
npx skillsauth add bigeasyfreeman/adlc dark-code-auditInstall 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.
Dark code is code or runtime behavior that no human understood at any point in its lifecycle. ADLC uses this audit when a request has systemic risk: multi-service behavior, non-engineer workflow creation, high AI-generated code volume, ownership gaps, or production data paths that cannot be explained.
This is not a bug hunt. It is a comprehension risk assessment.
When the user asks for a dark-code audit directly, gather context one group at a time. Wait for an answer before moving to the next group.
Ask:
"Describe your system architecture. You can paste a repo structure, a list of services/modules, or describe it in plain language. I need to understand: what are the major components, how do they communicate, and where does data flow between them?"
Ask:
"How does your team use AI coding tools? Specifically:
Ask:
"How is ownership structured?
Ask:
"Walk me through how code gets to production:
When this skill runs inside ADLC, do not stop the pipeline for a full interview unless a required fact is missing and the risk is elevated. Use these inputs first:
If team or AI-usage data is missing, mark it as insufficient data to assess. Do not invent it.
Look for emergent behavior nobody designed:
Look for authored code nobody understood:
Produce a Dark Code Risk Assessment:
insufficient data to assess.development
Discovers and records repo-local approved build paths so agents reuse proven patterns instead of inventing parallel architectures.
development
Scoped maintenance for docs/solutions entries when stale signals, refactors, or explicit user scope require refresh.
documentation
Conditionally captures verified reusable ADLC learnings into docs/solutions after successful closeout.
development
Uses Graphify as ADLC's graph-backed research layer and Beads as an optional dependency-aware task memory layer. Produces evidence for compatibility, reuse, accuracy, dark-code hotspots, and long-horizon handoff.